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