Searched refs:ip6h (Results 1 – 7 of 7) sorted by relevance
| /xnu-11417.121.6/bsd/skywalk/nexus/flowswitch/ |
| H A D | fsw_ip.c | 51 const struct ip6_hdr *ip6h; in fsw_ip_demux() local 59 ip6h = (struct ip6_hdr *)(void *)baddr; in fsw_ip_demux() 65 } else if ((pkt->pkt_length >= sizeof(*ip6h)) && in fsw_ip_demux() 66 (pkt->pkt_headroom + sizeof(*ip6h) <= bdlim) && in fsw_ip_demux() 67 ((ip6h->ip6_vfc & IPV6_VERSION_MASK) == IPV6_VERSION)) { in fsw_ip_demux()
|
| H A D | fsw_cellular.c | 52 const struct ip6_hdr *ip6h; in fsw_cellular_demux() local 60 ip6h = (struct ip6_hdr *)(void *)baddr; in fsw_cellular_demux() 66 } else if ((pkt->pkt_length >= sizeof(*ip6h)) && in fsw_cellular_demux() 67 (pkt->pkt_headroom + sizeof(*ip6h) <= bdlim) && in fsw_cellular_demux() 68 ((ip6h->ip6_vfc & IPV6_VERSION_MASK) == IPV6_VERSION)) { in fsw_cellular_demux()
|
| H A D | fsw_ip_frag.c | 387 struct ip6_hdr *__single ip6h = __unsafe_forge_single(struct ip6_hdr *, in fsw_ip_frag_reass_v6() local 390 p->pkt_flow_ulen = ntohs(ip6h->ip6_plen) - in fsw_ip_frag_reass_v6()
|
| /xnu-11417.121.6/bsd/net/ |
| H A D | dlil_subr.c | 781 struct ip6_hdr *ip6h = mtod(m, struct ip6_hdr *); in dlil_is_clat_needed() local 783 CLAT64_NEEDED(&ip6h->ip6_dst)) { in dlil_is_clat_needed() 953 struct ip6_hdr *ip6h = NULL; in dlil_clat64() local 974 ip6h = mtod(*m, struct ip6_hdr *); in dlil_clat64() 976 if ((size_t)(*m)->m_pkthdr.len < ntohs(ip6h->ip6_plen) + sizeof(struct ip6_hdr)) { in dlil_clat64() 981 osrc = ip6h->ip6_src; in dlil_clat64() 982 odst = ip6h->ip6_dst; in dlil_clat64() 1027 if (ip6h->ip6_nxt != IPPROTO_ICMPV6) { in dlil_clat64() 1035 ip6h = pbuf->pb_data; in dlil_clat64() 1037 proto = ip6h->ip6_nxt; in dlil_clat64() [all …]
|
| H A D | nat464_utils.c | 795 struct ip6_hdr *ip6h = NULL; in nat464_translate_proto() local 823 ip6h = pbuf->pb_data; in nat464_translate_proto() 824 hlen = (uint16_t)sizeof(*ip6h); in nat464_translate_proto() 825 plen = ntohs(ip6h->ip6_plen); in nat464_translate_proto() 827 nsrc = &ip6h->ip6_src; in nat464_translate_proto() 828 ndst = &ip6h->ip6_dst; in nat464_translate_proto() 829 proto = &ip6h->ip6_nxt; in nat464_translate_proto() 883 hlen, ntohs(ip6h->ip6_plen)); in nat464_translate_proto() 990 ip6h->ip6_plen = htons(tot_len - hlen); in nat464_translate_proto() 998 ntohs(ip6h->ip6_plen)); in nat464_translate_proto() [all …]
|
| H A D | if_bridge.c | 8094 mbuf_t *data, struct ip6_hdr *ip6h, 8105 unsigned int off = sizeof(*ip6h); 8107 icmp6len = (u_int32_t)ntohs(ip6h->ip6_plen); 8123 ip6h = (struct ip6_hdr *)(header + sizeof(*eh)); 8144 ip6h = (struct ip6_hdr *)(header + sizeof(*eh)); 8330 struct ip6_hdr *ip6h; 8338 ip6h = (struct ip6_hdr *)(header + sizeof(*eh)); 8339 bcopy(&ip6h->ip6_dst, &dst, sizeof(dst)); 8357 struct ip6_hdr *ip6h; 8369 ip6h = (struct ip6_hdr *)(header + sizeof(*eh)); [all …]
|
| /xnu-11417.121.6/bsd/skywalk/nexus/netif/ |
| H A D | nx_netif_flow.c | 213 struct ip6_hdr *ip6h; in netif_flow_ipv6_ula_info() local 218 err = netif_flow_get_buf(pkt, sizeof(*eh) + sizeof(*ip6h), in netif_flow_ipv6_ula_info() 226 ip6h = (struct ip6_hdr *)(eh + 1); in netif_flow_ipv6_ula_info() 233 if (len < sizeof(*eh) + sizeof(*ip6h)) { in netif_flow_ipv6_ula_info() 237 laddr = &ip6h->ip6_src; in netif_flow_ipv6_ula_info() 238 raddr = &ip6h->ip6_dst; in netif_flow_ipv6_ula_info() 240 laddr = &ip6h->ip6_dst; in netif_flow_ipv6_ula_info() 241 raddr = &ip6h->ip6_src; in netif_flow_ipv6_ula_info()
|