Lines Matching defs:ip6hp
129 ip6_t *ip6hp;
144 ip6hp = (ip6_t *)mp->b_rptr;
146 bzero(ip6hp, hdr_len + extra_len);
148 bcopy(tmpl_ip6hp, ip6hp, hdr_len);
150 ip6hp->ip6_nxt = IPPROTO_NONE;
151 ip6hp->ip6_hlim = IPTUN_DEFAULT_HOPLIMIT;
154 ip6hp->ip6_vcf = IPV6_DEFAULT_VERS_AND_FLOW;
155 ip6hp->ip6_plen = 0;
157 nxt_proto = &ip6hp->ip6_nxt;
159 ip6_dest_t *hdrptr = (ip6_dest_t *)(ip6hp + 1);
168 bcopy(saddr, &(ip6hp->ip6_src), sizeof (in6_addr_t));
169 bcopy(daddr, &(ip6hp->ip6_dst), sizeof (in6_addr_t));
179 ip6_t *ip6hp;
186 ip6hp = (ip6_t *)mp->b_rptr;
192 if (mac_ipv6_unicst_verify(&ip6hp->ip6_dst, NULL) != 0)
195 nexthdr = ip6hp->ip6_nxt;
196 whereptr = (uint8_t *)(ip6hp + 1);
213 hdr_info->mhi_daddr = (const uint8_t *)&(ip6hp->ip6_dst);
214 hdr_info->mhi_saddr = (const uint8_t *)&(ip6hp->ip6_src);
230 ip6_t *ip6hp = pdata;
246 if (pdata_size != sizeof (ip6_t) + ip6hp->ip6_plen)
253 nexthdr = ip6hp->ip6_nxt;
255 return (ip6hp->ip6_plen == 0);
256 whereptr = (uint8_t *)(ip6hp + 1);