net: fix minor typos

This change just fixes some insignificant typos.

Signed-off-by: Florian Grandel <jerico.dev@gmail.com>
This commit is contained in:
Florian Grandel 2022-10-01 15:00:22 +02:00 committed by Carles Cufí
parent 178bdc4afc
commit 5bc6b157f1
2 changed files with 2 additions and 2 deletions

View file

@ -318,7 +318,7 @@ chosen).
NET_PKT_DATA_ACCESS_CONTIGUOUS_DEFINE(ipv4_access, struct net_ipv4_hdr);
struct net_ipv4_hdr *ipv4_hdr;
ipv4_hdr = (struct net_ipv4_hdr *)net_pkt_get_data(pkt, &ipv4_acess);
ipv4_hdr = (struct net_ipv4_hdr *)net_pkt_get_data(pkt, &ipv4_access);
It would be the same for struct net_ipv4_hdr. For a UDP header it
is likely not to be in a contiguous area in IPv6

View file

@ -34,7 +34,7 @@ enum net_l2_flags {
/** IP multicast supported */
NET_L2_MULTICAST = BIT(0),
/** Do not joint solicited node multicast group */
/** Do not join solicited node multicast group */
NET_L2_MULTICAST_SKIP_JOIN_SOLICIT_NODE = BIT(1),
/** Is promiscuous mode supported */