Home
last modified time | relevance | path

Searched refs:ip6f (Results 1 – 5 of 5) sorted by relevance

/f-stack/freebsd/netinet6/
H A Dfrag6.c364 struct ip6_frag *ip6f; in frag6_input() local
371 sizeof(ip6f->ip6f_ident)) / sizeof(uint32_t)]; in frag6_input()
419 ip6f = (struct ip6_frag *)((caddr_t)ip6 + offset); in frag6_input()
420 if ((ip6f->ip6f_offlg & IP6F_MORE_FRAG) && in frag6_input()
438 if ((ip6f->ip6f_offlg & ~IP6F_RESERVED_MASK) == 0) { in frag6_input()
440 nxt = ip6f->ip6f_nxt; in frag6_input()
491 fragoff = ntohs(ip6f->ip6f_offlg & IP6F_OFF_MASK); in frag6_input()
504 *hashkeyp = ip6f->ip6f_ident; in frag6_input()
511 if (ip6f->ip6f_ident == q6->ip6q_ident && in frag6_input()
555 q6->ip6q_ident = ip6f->ip6f_ident; in frag6_input()
[all …]
H A Din6_rss.c219 const struct ip6_frag *ip6f; in rss_mbuf_software_hash_v6() local
278 ip6f = (const struct ip6_frag *)((c_caddr_t)ip6 + off); in rss_mbuf_software_hash_v6()
279 if ((ip6f->ip6f_offlg & ~IP6F_RESERVED_MASK) == 0) { in rss_mbuf_software_hash_v6()
H A Dip6_output.c259 struct ip6_frag *ip6f; in ip6_fragment() local
296 error = ip6_insertfraghdr(m0, m, hlen, &ip6f); in ip6_fragment()
301 ip6f->ip6f_offlg = htons((u_short)((off - hlen) & ~7)); in ip6_fragment()
305 ip6f->ip6f_offlg |= IP6F_MORE_FRAG; in ip6_fragment()
307 sizeof(*ip6f) - sizeof(struct ip6_hdr))); in ip6_fragment()
313 m->m_pkthdr.len = fraglen + hlen + sizeof(*ip6f); in ip6_fragment()
314 ip6f->ip6f_reserved = 0; in ip6_fragment()
315 ip6f->ip6f_ident = id; in ip6_fragment()
316 ip6f->ip6f_nxt = nextproto; in ip6_fragment()
/f-stack/freebsd/netpfil/ipfw/nat64/
H A Dnat64_translate.c541 struct ip6_frag ip6f; in nat64_fragment6() local
567 ip6f.ip6f_reserved = 0; in nat64_fragment6()
568 ip6f.ip6f_nxt = ip6->ip6_nxt; in nat64_fragment6()
575 ip6f.ip6f_ident = htonl(ntohs(ip_id)); in nat64_fragment6()
580 ip6f.ip6f_ident = htonl(ip6_randomid()); in nat64_fragment6()
589 ip6f.ip6f_offlg = ntohs(offset); in nat64_fragment6()
591 ip6f.ip6f_offlg |= IP6F_MORE_FRAG; in nat64_fragment6()
1347 struct ip6_frag *ip6f; in nat64_handle_icmp6() local
1506 ip6f = NULL; in nat64_handle_icmp6()
1514 ip6f = mtodo(m, hlen); in nat64_handle_icmp6()
[all …]
/f-stack/freebsd/netgraph/netflow/
H A Dng_netflow.c823 struct ip6_frag *ip6f; in ng_netflow_rcvdata() local
877 ip6f = (struct ip6_frag *)(mtod(m, caddr_t) + in ng_netflow_rcvdata()
879 upper_proto = ip6f->ip6f_nxt; in ng_netflow_rcvdata()