Searched refs:nxthdr (Results 1 – 3 of 3) sorted by relevance
63 uint8_t nxthdr; in ipv4_packet() local97 nxthdr = header->protocol; in ipv4_packet()98 if (nxthdr == IPPROTO_ICMP) { in ipv4_packet()100 nxthdr = IPPROTO_ICMPV6; in ipv4_packet()107 fill_ip6_header(ip6_targ, 0, nxthdr, header); in ipv4_packet()116 new_sum = ipv6_pseudo_header_checksum(ip6_targ, len_left, nxthdr); in ipv4_packet()126 } else if (nxthdr == IPPROTO_ICMPV6) { in ipv4_packet()128 } else if (nxthdr == IPPROTO_TCP) { in ipv4_packet()131 } else if (nxthdr == IPPROTO_UDP) { in ipv4_packet()134 } else if (nxthdr == IPPROTO_GRE) { in ipv4_packet()
165 uint8_t nxthdr; member
284 alart_p->nxthdr = IPPROTO_ICMPV6; in create_mld_query()