Home
last modified time | relevance | path

Searched refs:ip6h (Results 1 – 6 of 6) sorted by relevance

/freebsd-12-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/
Dtst.inet_ntop.d42 struct in6_addr *ip6h; variable
69 ip6h = this->buf6h;
104 ip6h->__u6_addr.__u6_addr8[0] = 0xff;
105 ip6h->__u6_addr.__u6_addr8[1] = 0xff;
106 ip6h->__u6_addr.__u6_addr8[2] = 0xff;
107 ip6h->__u6_addr.__u6_addr8[3] = 0xff;
108 ip6h->__u6_addr.__u6_addr8[4] = 0xff;
109 ip6h->__u6_addr.__u6_addr8[5] = 0xff;
110 ip6h->__u6_addr.__u6_addr8[6] = 0xff;
111 ip6h->__u6_addr.__u6_addr8[7] = 0xff;
[all …]
/freebsd-12-stable/sys/dev/netmap/
Dnetmap_offloadings.c78 struct nm_ipv6hdr *ip6h = (struct nm_ipv6hdr *)(pkt); in gso_fix_segment() local
97 ip6h->payload_len = htobe16(len-iphlen); in gso_fix_segment()
130 nm_os_csum_tcpudp_ipv6(ip6h, check_data, len-iphlen, check); in gso_fix_segment()
Dnetmap_freebsd.c279 nm_os_csum_tcpudp_ipv6(struct nm_ipv6hdr *ip6h, void *data, in nm_os_csum_tcpudp_ipv6() argument
283 *check = in6_cksum_pseudo((void*)ip6h, datalen, ip6h->nexthdr, 0); in nm_os_csum_tcpudp_ipv6()
Dnetmap_kern.h2191 void nm_os_csum_tcpudp_ipv6(struct nm_ipv6hdr *ip6h, void *data,
/freebsd-12-stable/sys/netinet/
Dsctp_output.c4285 struct ip6_hdr *ip6h; in sctp_lowlevel_chunk_output() local
4334 ip6h = mtod(m, struct ip6_hdr *); in sctp_lowlevel_chunk_output()
4374 ip6h->ip6_flow = htonl(flowinfo); in sctp_lowlevel_chunk_output()
4376 ip6h->ip6_nxt = IPPROTO_UDP; in sctp_lowlevel_chunk_output()
4378 ip6h->ip6_nxt = IPPROTO_SCTP; in sctp_lowlevel_chunk_output()
4380 ip6h->ip6_plen = htons((uint16_t)(packet_length - sizeof(struct ip6_hdr))); in sctp_lowlevel_chunk_output()
4381 ip6h->ip6_dst = sin6->sin6_addr; in sctp_lowlevel_chunk_output()
4489 ip6h->ip6_src = lsa6->sin6_addr; in sctp_lowlevel_chunk_output()
4498 udp = (struct udphdr *)((caddr_t)ip6h + sizeof(struct ip6_hdr)); in sctp_lowlevel_chunk_output()
4505 sctphdr = (struct sctphdr *)((caddr_t)ip6h + sizeof(struct ip6_hdr)); in sctp_lowlevel_chunk_output()
[all …]
/freebsd-12-stable/sys/ofed/drivers/infiniband/core/
Dib_verbs.c362 const struct ip6_hdr *ip6h = (const struct ip6_hdr *)&hdr->ibgrh; in ib_get_header_version() local
367 if ((ip6h->ip6_vfc & IPV6_VERSION_MASK) != IPV6_VERSION) in ib_get_header_version()