Home
last modified time | relevance | path

Searched refs:ip6hp (Results 1 – 3 of 3) sorted by relevance

/titanic_41/usr/src/uts/common/io/mac/plugins/
H A Dmac_ipv6.c129 ip6_t *ip6hp; in mac_ipv6_header() local
144 ip6hp = (ip6_t *)mp->b_rptr; in mac_ipv6_header()
146 bzero(ip6hp, hdr_len + extra_len); in mac_ipv6_header()
148 bcopy(tmpl_ip6hp, ip6hp, hdr_len); in mac_ipv6_header()
150 ip6hp->ip6_nxt = IPPROTO_NONE; in mac_ipv6_header()
151 ip6hp->ip6_hlim = IPTUN_DEFAULT_HOPLIMIT; in mac_ipv6_header()
154 ip6hp->ip6_vcf = IPV6_DEFAULT_VERS_AND_FLOW; in mac_ipv6_header()
155 ip6hp->ip6_plen = 0; in mac_ipv6_header()
157 nxt_proto = &ip6hp->ip6_nxt; in mac_ipv6_header()
159 ip6_dest_t *hdrptr = (ip6_dest_t *)(ip6hp + 1); in mac_ipv6_header()
[all …]
/titanic_41/usr/src/uts/common/io/mac/
H A Dmac_util.c1009 ip6_t *ip6hp; in mac_pkt_hash() local
1019 ip6hp = (ip6_t *)(mp->b_rptr + skip_len); in mac_pkt_hash()
1020 if (((unsigned char *)ip6hp + IPV6_HDR_LEN > mp->b_wptr) || in mac_pkt_hash()
1021 !OK_32PTR((char *)ip6hp)) in mac_pkt_hash()
1024 if (!mac_ip_hdr_length_v6(ip6hp, mp->b_wptr, &hdr_length, in mac_pkt_hash()
1035 uint8_t *ip_src = &(ip6hp->ip6_src.s6_addr8[12]); in mac_pkt_hash()
1036 uint8_t *ip_dst = &(ip6hp->ip6_dst.s6_addr8[12]); in mac_pkt_hash()
/titanic_41/usr/src/uts/common/inet/iptun/
H A Diptun.c887 ip6_t *ip6hp = &iptun->iptun_header6.it6h_ip6h; in iptun_headergen() local
901 (void) memset(ip6hp, 0, sizeof (*ip6hp)); in iptun_headergen()
904 ip6hp->ip6_nxt = IPPROTO_NONE; in iptun_headergen()
916 ip6hp->ip6_plen = sizeof (*iel); in iptun_headergen()
917 ip6hp->ip6_nxt = IPPROTO_DSTOPTS; in iptun_headergen()
924 ip6hp->ip6_hlim = iptun->iptun_hoplimit; in iptun_headergen()