Home
last modified time | relevance | path

Searched refs:next_header_proto (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/subsys/net/ip/
Dipv4.h200 int net_ipv4_finalize(struct net_pkt *pkt, uint8_t next_header_proto);
203 uint8_t next_header_proto) in net_ipv4_finalize() argument
206 ARG_UNUSED(next_header_proto); in net_ipv4_finalize()
Dipv4.c109 int net_ipv4_finalize(struct net_pkt *pkt, uint8_t next_header_proto) in net_ipv4_finalize() argument
130 ipv4_hdr->proto = next_header_proto; in net_ipv4_finalize()
140 next_header_proto == IPPROTO_UDP) { in net_ipv4_finalize()
143 next_header_proto == IPPROTO_TCP) { in net_ipv4_finalize()
145 } else if (next_header_proto == IPPROTO_ICMP) { in net_ipv4_finalize()
Dipv6.h189 int net_ipv6_finalize(struct net_pkt *pkt, uint8_t next_header_proto);
192 uint8_t next_header_proto) in net_ipv6_finalize() argument
195 ARG_UNUSED(next_header_proto); in net_ipv6_finalize()
Dipv6.c118 int net_ipv6_finalize(struct net_pkt *pkt, uint8_t next_header_proto) in net_ipv6_finalize() argument
136 ipv6_hdr->nexthdr = next_header_proto; in net_ipv6_finalize()
149 next_header_proto == IPPROTO_UDP) { in net_ipv6_finalize()
152 next_header_proto == IPPROTO_TCP) { in net_ipv6_finalize()
154 } else if (next_header_proto == IPPROTO_ICMPV6) { in net_ipv6_finalize()