Home
last modified time | relevance | path

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

/subsys/net/ip/
A Dipv4.h220 int net_ipv4_finalize(struct net_pkt *pkt, uint8_t next_header_proto);
223 uint8_t next_header_proto) in net_ipv4_finalize() argument
226 ARG_UNUSED(next_header_proto); in net_ipv4_finalize()
A 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()
A Dipv6.h192 int net_ipv6_finalize(struct net_pkt *pkt, uint8_t next_header_proto);
195 uint8_t next_header_proto) in net_ipv6_finalize() argument
198 ARG_UNUSED(next_header_proto); in net_ipv6_finalize()
A 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()

Completed in 18 milliseconds