Home
last modified time | relevance | path

Searched refs:ip6e (Results 1 – 9 of 9) sorted by relevance

/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/
H A Dtst.inet_ntoa6.d35 struct in6_addr *ip6e; variable
52 ip6e = this->buf6e;
75 ip6e->__u6_addr.__u6_addr8[12] = 0x7f;
76 ip6e->__u6_addr.__u6_addr8[15] = 0x01;
90 printf("%s\n", inet_ntoa6(ip6e));
H A Dtst.inet_ntop.d39 struct in6_addr *ip6e; variable
66 ip6e = this->buf6e;
94 ip6e->__u6_addr.__u6_addr8[12] = 0x7f;
95 ip6e->__u6_addr.__u6_addr8[15] = 0x01;
129 printf("%s\n", inet_ntop(AF_INET6, ip6e));
/freebsd/lib/libc/net/
H A Dip6opt.c240 struct ip6_ext *ip6e; in inet6_option_next() local
252 ip6e = (struct ip6_ext *)CMSG_DATA(cmsg); in inet6_option_next()
253 hdrlen = (ip6e->ip6e_len + 1) << 3; in inet6_option_next()
262 lim = (u_int8_t *)ip6e + hdrlen; in inet6_option_next()
264 *tptrp = (u_int8_t *)(ip6e + 1); in inet6_option_next()
296 struct ip6_ext *ip6e; in inet6_option_find() local
308 ip6e = (struct ip6_ext *)CMSG_DATA(cmsg); in inet6_option_find()
309 hdrlen = (ip6e->ip6e_len + 1) << 3; in inet6_option_find()
318 lim = (u_int8_t *)ip6e + hdrlen; in inet6_option_find()
320 *tptrp = (u_int8_t *)(ip6e + 1); in inet6_option_find()
/freebsd/sys/netinet6/
H A Dip6_input.c1433 struct ip6_ext *ip6e = NULL; in ip6_savecontrol() local
1450 if (off + sizeof(*ip6e) > m->m_len) in ip6_savecontrol()
1452 ip6e = (struct ip6_ext *)(mtod(m, caddr_t) + off); in ip6_savecontrol()
1454 elen = (ip6e->ip6e_len + 2) << 2; in ip6_savecontrol()
1456 elen = (ip6e->ip6e_len + 1) << 3; in ip6_savecontrol()
1465 *mp = sbcreatecontrol(ip6e, elen, in ip6_savecontrol()
1475 *mp = sbcreatecontrol(ip6e, elen, in ip6_savecontrol()
1497 nxt = ip6e->ip6e_nxt; in ip6_savecontrol()
1498 ip6e = NULL; in ip6_savecontrol()
1592 struct ip6_ext ip6e; in ip6_get_prevhdr() local
[all …]
/freebsd/sys/netgraph/
H A Dng_checksum.c417 struct ip6_ext *ip6e = NULL; in checksum_ipv6() local
446 ip6e = (struct ip6_ext *) mtodo(m, l3_offset + hlen); in checksum_ipv6()
447 nxt = ip6e->ip6e_nxt; in checksum_ipv6()
448 hlen += (ip6e->ip6e_len + 1) << 3; in checksum_ipv6()
454 ip6e = (struct ip6_ext *) mtodo(m, l3_offset + hlen); in checksum_ipv6()
455 nxt = ip6e->ip6e_nxt; in checksum_ipv6()
456 hlen += (ip6e->ip6e_len + 2) << 2; in checksum_ipv6()
/freebsd/sys/netgraph/netflow/
H A Dng_netflow.c833 struct ip6_ext *ip6e; in ng_netflow_rcvdata() local
871 ip6e = (struct ip6_ext *)(mtod(m, caddr_t) + in ng_netflow_rcvdata()
873 upper_proto = ip6e->ip6e_nxt; in ng_netflow_rcvdata()
874 hdr_off = (ip6e->ip6e_len + 1) << 3; in ng_netflow_rcvdata()
880 ip6e = (struct ip6_ext *)(mtod(m, caddr_t) + in ng_netflow_rcvdata()
882 upper_proto = ip6e->ip6e_nxt; in ng_netflow_rcvdata()
883 hdr_off = (ip6e->ip6e_len + 2) << 2; in ng_netflow_rcvdata()
/freebsd/sys/netipsec/
H A Dxform_ah.c275 struct ip6_ext *ip6e; in ah_massage_headers() local
462 ip6e = (struct ip6_ext *)(ptr + off); in ah_massage_headers()
463 noff = off + ((ip6e->ip6e_len + 1) << 3); in ah_massage_headers()
492 off += ((ip6e->ip6e_len + 1) << 3); in ah_massage_headers()
493 nxt = ip6e->ip6e_nxt; in ah_massage_headers()
501 ip6e = (struct ip6_ext *) (ptr + off); in ah_massage_headers()
502 off += ((ip6e->ip6e_len + 1) << 3); in ah_massage_headers()
503 nxt = ip6e->ip6e_nxt; in ah_massage_headers()
H A Dipsec.c518 struct ip6_ext ip6e; in ipsec4_get_ulp() local
544 if (off + sizeof(ip6e) > m->m_pkthdr.len) in ipsec4_get_ulp()
547 m_copydata(m, off, sizeof(ip6e), (caddr_t) &ip6e); in ipsec4_get_ulp()
548 off += (ip6e.ip6e_len + 2) << 2; in ipsec4_get_ulp()
549 nxt = ip6e.ip6e_nxt; in ipsec4_get_ulp()
/freebsd/sys/dev/oce/
H A Doce_if.c2743 struct ip6_ext *ip6e = NULL; in oce_check_ipv6_ext_hdr() local
2746 ip6e = (struct ip6_ext *) mtod(m, struct ip6_ext *); in oce_check_ipv6_ext_hdr()
2747 if(ip6e->ip6e_len == 0xff) { in oce_check_ipv6_ext_hdr()