Lines Matching refs:ip6h

807 get_dhcpv6_info(ip6_t *ip6h, uchar_t *end, dhcpv6_message_t **dh6)
816 if (!mac_ip_hdr_length_v6(ip6h, end, &hdrlen, &proto, &frag))
834 udph = (struct udphdr *)((uchar_t *)ip6h + hdrlen);
857 get_ra_info(ip6_t *ip6h, uchar_t *end, nd_router_advert_t **ra)
865 if (!mac_ip_hdr_length_v6(ip6h, end, &hdrlen, &proto, &frag))
887 hdrp = (uchar_t *)ip6h + hdrlen;
1301 intercept_dhcpv6_outbound(mac_client_impl_t *mcip, ip6_t *ip6h, uchar_t *end)
1310 if (get_dhcpv6_info(ip6h, end, &dh6) != 0)
1515 intercept_ra_inbound(mac_client_impl_t *mcip, ip6_t *ip6h, uchar_t *end,
1521 if (ip6h->ip6_hlim != 255) {
1522 DTRACE_PROBE1(invalid__hoplimit, uint8_t, ip6h->ip6_hlim);
1526 len = ip6h->ip6_plen - sizeof (nd_router_advert_t);
1693 ip6_t *ip6h = (ip6_t *)start;
1698 if (get_dhcpv6_info(ip6h, end, &dh6) == 0) {
1700 } else if (get_ra_info(ip6h, end, &ra) == 0) {
1701 intercept_ra_inbound(mcip, ip6h, end, ra);
1820 ip6_t *ip6h, uchar_t *end)
1822 icmp6_t *icmp_nd = (icmp6_t *)&ip6h[1];
1833 if (ip6h->ip6_nxt != IPPROTO_ICMPV6)
1875 mac_client_impl_t *, mcip, ip6_t *, ip6h);
1918 mac_client_impl_t *, mcip, ip6_t *, ip6h);
1922 DTRACE_PROBE2(ndp__lla__ok, mac_client_impl_t *, mcip, ip6_t *, ip6h);
1992 ip6_t *ip6h = (ip6_t *)start;
1997 if (!ipnospoof_check_v6(mcip, protect, &ip6h->ip6_src))
2000 if (!ipnospoof_check_ndp(mcip, protect, ip6h, end))
2003 if (!intercept_dhcpv6_outbound(mcip, ip6h, end))
2064 ip6_t *ip6h, uchar_t *end)
2074 if ((err = get_dhcpv6_info(ip6h, end, &dh6)) != 0)
2147 ip6_t *ip6h = (ip6_t *)start;
2152 if (!dhcpnospoof_check_v6(mcip, protect, ip6h, end))