Searched refs:l3hdr (Results 1 – 3 of 3) sorted by relevance
1175 uintptr_t l3hdr; in pass_accept_req_to_protohdrs() local1180 l3hdr = ((uintptr_t)eh + G_T6_ETH_HDR_LEN(hlen)); in pass_accept_req_to_protohdrs()1181 tcp = (const void *)(l3hdr + G_T6_IP_HDR_LEN(hlen)); in pass_accept_req_to_protohdrs()1183 l3hdr = ((uintptr_t)eh + G_ETH_HDR_LEN(hlen)); in pass_accept_req_to_protohdrs()1184 tcp = (const void *)(l3hdr + G_IP_HDR_LEN(hlen)); in pass_accept_req_to_protohdrs()1189 if (((struct ip *)l3hdr)->ip_v == IPVERSION) { in pass_accept_req_to_protohdrs()1190 const struct ip *ip = (const void *)l3hdr; in pass_accept_req_to_protohdrs()1195 if (((struct ip *)l3hdr)->ip_v == (IPV6_VERSION >> 4)) { in pass_accept_req_to_protohdrs()1196 const struct ip6_hdr *ip6 = (const void *)l3hdr; in pass_accept_req_to_protohdrs()1206 if (((struct ip *)l3hdr)->ip_v == IPVERSION) { in pass_accept_req_to_protohdrs()[all …]
1456 void *l3hdr; in t3_encap() local1487 l3hdr = evh + 1; in t3_encap()1491 l3hdr = eh + 1; in t3_encap()1495 struct ip *ip = l3hdr; in t3_encap()1500 struct ip6_hdr *ip6 = l3hdr; in t3_encap()
2659 void *l3hdr; in parse_pkt() local2769 l3hdr = m_advance(&m, &offset, m0->m_pkthdr.l2hlen); in parse_pkt()2784 struct ip *ip = l3hdr; in parse_pkt()2830 l3hdr = m_advance(&m, &offset, m0->m_pkthdr.inner_l2hlen); in parse_pkt()2844 struct ip *ip = l3hdr; in parse_pkt()