Searched refs:ip6f (Results 1 - 7 of 7) sorted by last modified time

/freebsd-11-stable/sys/netpfil/ipfw/nat64/
H A Dnat64_translate.c511 struct ip6_frag ip6f; local
537 ip6f.ip6f_reserved = 0;
538 ip6f.ip6f_nxt = ip6->ip6_nxt;
545 ip6f.ip6f_ident = htonl(ntohs(ip_id));
550 ip6f.ip6f_ident = htonl(ip6_randomid());
558 ip6->ip6_plen = htons(len + sizeof(ip6f));
559 ip6f.ip6f_offlg = ntohs(offset);
561 ip6f.ip6f_offlg |= IP6F_MORE_FRAG;
573 bcopy(&ip6f, mtodo(m, sizeof(struct ip6_hdr)),
1288 struct ip6_frag *ip6f; local
[all...]
/freebsd-11-stable/sys/netinet6/
H A Dip6_output.c248 struct ip6_frag *ip6f; local
285 error = ip6_insertfraghdr(m0, m, hlen, &ip6f);
290 ip6f->ip6f_offlg = htons((u_short)((off - hlen) & ~7));
294 ip6f->ip6f_offlg |= IP6F_MORE_FRAG;
296 sizeof(*ip6f) - sizeof(struct ip6_hdr)));
302 m->m_pkthdr.len = mtu + hlen + sizeof(*ip6f);
303 ip6f->ip6f_reserved = 0;
304 ip6f->ip6f_ident = id;
305 ip6f->ip6f_nxt = nextproto;
H A Dfrag6.c212 struct ip6_frag *ip6f; local
220 sizeof(ip6f->ip6f_ident)) / sizeof(uint32_t)];
236 ip6f = (struct ip6_frag *)((caddr_t)ip6 + offset);
238 IP6_EXTHDR_GET(ip6f, struct ip6_frag *, m, offset, sizeof(*ip6f));
239 if (ip6f == NULL)
263 if ((ip6f->ip6f_offlg & IP6F_MORE_FRAG) &&
281 if ((ip6f->ip6f_offlg & ~IP6F_RESERVED_MASK) == 0) {
287 return (ip6f->ip6f_nxt);
305 *hashkeyp = ip6f
[all...]
H A Din6_rss.c175 const struct ip6_frag *ip6f; local
234 ip6f = (const struct ip6_frag *)((c_caddr_t)ip6 + off);
235 if ((ip6f->ip6f_offlg & ~IP6F_RESERVED_MASK) == 0) {
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/
H A Dtst.inet_ntop.d40 struct in6_addr *ip6f;
67 ip6f = this->buf6f;
96 ip6f->__u6_addr.__u6_addr8[10] = 0xff;
97 ip6f->__u6_addr.__u6_addr8[11] = 0xff;
98 ip6f->__u6_addr.__u6_addr8[12] = 0x7f;
99 ip6f->__u6_addr.__u6_addr8[15] = 0x01;
130 printf("%s\n", inet_ntop(AF_INET6, ip6f));
H A Dtst.inet_ntoa6.d36 struct in6_addr *ip6f;
53 ip6f = this->buf6f;
77 ip6f->__u6_addr.__u6_addr8[10] = 0xff;
78 ip6f->__u6_addr.__u6_addr8[11] = 0xff;
79 ip6f->__u6_addr.__u6_addr8[12] = 0x7f;
80 ip6f->__u6_addr.__u6_addr8[15] = 0x01;
91 printf("%s\n", inet_ntoa6(ip6f));
/freebsd-11-stable/sys/netgraph/netflow/
H A Dng_netflow.c816 struct ip6_frag *ip6f; local
870 ip6f = (struct ip6_frag *)(mtod(m, caddr_t) +
872 upper_proto = ip6f->ip6f_nxt;

Completed in 333 milliseconds