/illumos-gate/usr/src/cmd/dtrace/test/tst/common/funcs/ |
H A D | tst.inet_ntop.d | 42 struct in6_addr *ip6h; 69 ip6h = this->buf6h; 104 ip6h->_S6_un._S6_u8[0] = 0xff; 105 ip6h->_S6_un._S6_u8[1] = 0xff; 106 ip6h->_S6_un._S6_u8[2] = 0xff; 107 ip6h->_S6_un._S6_u8[3] = 0xff; 108 ip6h->_S6_un._S6_u8[4] = 0xff; 109 ip6h->_S6_un._S6_u8[5] = 0xff; 110 ip6h->_S6_un._S6_u8[6] = 0xff; 111 ip6h [all...] |
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ip6_output.c | 106 ip6_t *ip6h; local 123 ip6h = (ip6_t *)mp->b_rptr; 124 ASSERT(IPH_HDR_VERSION(ip6h) == IPV6_VERSION); 128 ixa->ixa_pktlen = ntohs(ip6h->ip6_plen) + IPV6_HDR_LEN; 130 if (!ip_hdr_length_nexthdr_v6(mp, ip6h, &ixa->ixa_ip_hdr_length, 147 firsthop = ip6h->ip6_dst; 148 dst = ip_get_dst_v6(ip6h, mp, NULL); 153 ire = ip_select_route_v6(&firsthop, ip6h->ip6_src, ixa, NULL, &setsrc, 167 ip6h->ip6_src = ipv6_loopback; 172 error = (ire->ire_sendfn)(ire, mp, ip6h, ix 380 ip6_t *ip6h = (ip6_t *)iph_arg; local 533 multirt_check_v6(ire_t *ire, ip6_t *ip6h, ip_xmit_attr_t *ixa) argument 570 ip6_t *ip6h = (ip6_t *)iph_arg; local 647 ip6_t *ip6h = (ip6_t *)iph_arg; local 665 ip6_t *ip6h = (ip6_t *)iph_arg; local 718 ip_output_sw_cksum_v6(mblk_t *mp, ip6_t *ip6h, ip_xmit_attr_t *ixa) argument 817 ip_output_cksum_v6(iaflags_t ixaflags, mblk_t *mp, ip6_t *ip6h, ip_xmit_attr_t *ixa, ill_t *ill) argument 948 ip6_t *ip6h = (ip6_t *)iph_arg; local 1145 ip6_t *ip6h = (ip6_t *)mp->b_rptr; local [all...] |
H A D | ip6_input.c | 198 ip6_t *ip6h; local 295 ip6h = (ip6_t *)mp->b_rptr; 296 if (!OK_32PTR(ip6h) || MBLKL(mp) < IPV6_HDR_LEN) { 300 ip6h = (ip6_t *)mp->b_rptr; 304 if (IPH_HDR_VERSION(ip6h) != IPV6_VERSION) { 318 if (IN6_IS_ADDR_UNSPECIFIED(&ip6h->ip6_dst)) { 346 iras.ira_pktlen = ntohs(ip6h->ip6_plen) + IPV6_HDR_LEN; 356 (*ill->ill_inputfn)(mp, ip6h, &ip6h->ip6_dst, &iras, &rtc); 411 ip6_t *ip6h local 522 ip6_t *ip6h = (ip6_t *)iph_arg; local 830 ip6_t *ip6h = (ip6_t *)iph_arg; local 1073 ip_forward_xmit_v6(nce_t *nce, mblk_t *mp, ip6_t *ip6h, ip_recv_attr_t *ira, uint32_t mtu, uint32_t added_tx_len) argument 1147 ip6_t *ip6h = (ip6_t *)iph_arg; local 1200 ip6_t *ip6h = (ip6_t *)iph_arg; local 1245 ip6_t *ip6h = (ip6_t *)iph_arg; local 1408 ip6_t *ip6h = (ip6_t *)iph_arg; local 1441 ip6_t *ip6h = (ip6_t *)iph_arg; local 1504 ip_input_local_v6(ire_t *ire, mblk_t *mp, ip6_t *ip6h, ip_recv_attr_t *ira) argument 1534 ip_input_multicast_v6(ire_t *ire, mblk_t *mp, ip6_t *ip6h, ip_recv_attr_t *ira) argument 1630 ip_fanout_tx_v6(mblk_t *mp, ip6_t *ip6h, uint8_t protocol, uint_t ip_hdr_length, ip_recv_attr_t *ira) argument 1736 ip_input_cksum_pseudo_v6(ip6_t *ip6h, ip_recv_attr_t *ira) argument 1798 ip_input_sw_cksum_v6(mblk_t *mp, ip6_t *ip6h, ip_recv_attr_t *ira) argument 1826 ip_input_cksum_v6(iaflags_t iraflags, mblk_t *mp, ip6_t *ip6h, ip_recv_attr_t *ira) argument 1987 ip_fanout_v6(mblk_t *mp, ip6_t *ip6h, ip_recv_attr_t *ira) argument [all...] |
H A D | ip6.c | 200 ip6_t *ip6h; /* Outer header */ local 207 ip6h = (ip6_t *)mp->b_rptr; 212 if (IN6_IS_ADDR_MULTICAST(&ip6h->ip6_src)) { 231 ip6h = ip_pullup(mp, ip_hdr_length + ICMP6_MINLEN, ira); 232 if (ip6h == NULL) { 240 DTRACE_PROBE2(icmp__inbound__v6, ip6_t *, ip6h, icmp6_t *, icmp6); 271 if (IN6_IS_ADDR_MULTICAST(&ip6h->ip6_dst) && 293 ip6h = (ip6_t *)mp->b_rptr; 298 icmp_send_reply_v6(mp, ip6h, icmp6, ira); 402 ip6h 432 icmp_send_reply_v6(mblk_t *mp, ip6_t *ip6h, icmp6_t *icmp6, ip_recv_attr_t *ira) argument 546 ip6_t *ip6h; /* Inner header */ local 679 ip6_t *ip6h; /* Inner IP header */ local 770 ip6_t *ip6h; /* Inner IP header */ local 1013 icmp_redirect_v6(mblk_t *mp, ip6_t *ip6h, nd_redirect_t *rd, ip_recv_attr_t *ira) argument 1264 ip6_t *ip6h; local 1489 ip6_t *ip6h; local 1566 ip_send_potential_redirect_v6(mblk_t *mp, ip6_t *ip6h, ire_t *ire, ip_recv_attr_t *ira) argument 1822 ip6_t *ip6h = (ip6_t *)mp->b_rptr; local 2298 ip_fanout_proto_v6(mblk_t *mp, ip6_t *ip6h, ip_recv_attr_t *ira) argument 2400 ip6_t *ip6h; local 2481 ip_fanout_udp_multi_v6(mblk_t *mp, ip6_t *ip6h, uint16_t lport, uint16_t fport, ip_recv_attr_t *ira) argument 2606 ip_find_hdr_v6(mblk_t *mp, ip6_t *ip6h, boolean_t label_separate, ip_pkt_t *ipp, uint8_t *nexthdrp) argument 2753 ip_hdr_length_nexthdr_v6(mblk_t *mp, ip6_t *ip6h, uint16_t *hdr_length_ptr, uint8_t **nexthdrpp) argument 2840 ip_hdr_length_v6(mblk_t *mp, ip6_t *ip6h) argument 2868 ip_process_options_v6(mblk_t *mp, ip6_t *ip6h, uint8_t *optptr, uint_t optlen, uint8_t hdr_type, ip_recv_attr_t *ira) argument 3071 ip_process_rthdr(mblk_t *mp, ip6_t *ip6h, ip6_rthdr_t *rth, ip_recv_attr_t *ira) argument 3149 ip6_t *ip6h; local 3294 ip_input_fragment_v6(mblk_t *mp, ip6_t *ip6h, ip6_frag_t *fraghdr, uint_t remlen, ip_recv_attr_t *ira) argument 3938 ip_get_dst_v6(ip6_t *ip6h, const mblk_t *mp, boolean_t *is_fragment) argument 4015 ip_source_routed_v6(ip6_t *ip6h, mblk_t *mp, ip_stack_t *ipst) argument 4108 ip6_t *ip6h = (ip6_t *)mp->b_rptr; local 4319 ip6_t *ip6h = (ip6_t *)mp->b_rptr; local 4424 conn_wantpacket_v6(conn_t *connp, ip_recv_attr_t *ira, ip6_t *ip6h) argument 4571 ip6_t *ip6h = (ip6_t *)buf; local 4702 ip_find_rthdr_v6(ip6_t *ip6h, uint8_t *endptr) argument 4769 ip_massage_options_v6(ip6_t *ip6h, ip6_rthdr_t *rth, netstack_t *ns) argument 4942 ip6_t *ip6h; local [all...] |
H A D | tn_ipopt.c | 217 const ip6_t *ip6h; local 221 ip6h = (const ip6_t *)mp->b_rptr; 222 if (ip6h->ip6_nxt != IPPROTO_HOPOPTS) 224 ip6hbh = (const uchar_t *)&ip6h[1]; 1163 tsol_remove_secopt_v6(ip6_t *ip6h, int buflen) argument 1177 if (ip6h->ip6_nxt != IPPROTO_HOPOPTS) 1180 ip6hbh = (uchar_t *)&ip6h[1]; 1210 ip6h->ip6_plen = htons(ntohs(ip6h->ip6_plen) - hbhlen); 1211 ip6h 1264 tsol_prepend_option_v6(uchar_t *optbuf, ip6_t *ip6h, int buflen) argument 1372 ip6_t *ip6h; local [all...] |
H A D | ip_sadb.c | 619 ip6_t *ip6h = (ip6_t *)data_mp->b_rptr; local 621 ASSERT(IPH_HDR_VERSION(ip6h) == IPV6_VERSION); 622 dst6 = ip_get_dst_v6(ip6h, data_mp, NULL); 630 src_ptr = (uint32_t *)&ip6h->ip6_src; 666 ip6_t *ip6h; local 680 ip6h = (ip6_t *)mp->b_rptr; 708 ip6h = (ip6_t *)mp->b_rptr; 716 src_ptr = (uint32_t *)&ip6h->ip6_src; 717 dst_ptr = (uint32_t *)&ip6h->ip6_dst; 791 ip6_t *ip6h; local [all...] |
H A D | ipdrop.c | 325 ip6_t *ip6h = (ip6_t *)mp->b_rptr; local 328 ip6h, __dtrace_ipsr_ill_t *, ill, ipha_t *, NULL, 329 ip6_t *, ip6h, int, 0); 347 ip6_t *ip6h = (ip6_t *)mp->b_rptr; local 350 ip6h, __dtrace_ipsr_ill_t *, ill, ipha_t *, NULL, 351 ip6_t *, ip6h, int, 0);
|
H A D | spd.c | 101 struct ipsec_action_s *, ipha_t *ipha, ip6_t *ip6h, const char **, 1023 ipsec_log_policy_failure(int type, char *func_name, ipha_t *ipha, ip6_t *ip6h, argument 1032 ASSERT((ipha == NULL && ip6h != NULL) || 1033 (ip6h == NULL && ipha != NULL)); 1039 s = inet_ntop(AF_INET6, &ip6h->ip6_src, sbuf, sizeof (sbuf)); 1040 d = inet_ntop(AF_INET6, &ip6h->ip6_dst, dbuf, sizeof (dbuf)); 1566 ipha_t *ipha, ip6_t *ip6h, const char **reason, kstat_named_t **counter, 1576 ASSERT((ipha == NULL && ip6h != NULL) || 1577 (ip6h == NULL && ipha != NULL)); 1631 ip6h); 1565 ipsec_check_ipsecin_action(ip_recv_attr_t *ira, mblk_t *mp, ipsec_action_t *ap, ipha_t *ipha, ip6_t *ip6h, const char **reason, kstat_named_t **counter, netstack_t *ns) argument 1761 conn_to_unique(conn_t *connp, mblk_t *data_mp, ipha_t *ipha, ip6_t *ip6h) argument 1799 ipsec_check_ipsecin_latch(ip_recv_attr_t *ira, mblk_t *mp, ipsec_latch_t *ipl, ipsec_action_t *ap, ipha_t *ipha, ip6_t *ip6h, const char **reason, kstat_named_t **counter, conn_t *connp, netstack_t *ns) argument 1856 ipsec_check_ipsecin_policy(mblk_t *data_mp, ipsec_policy_t *ipsp, ipha_t *ipha, ip6_t *ip6h, uint64_t pkt_unique, ip_recv_attr_t *ira, netstack_t *ns) argument 2115 ipsec_check_global_policy(mblk_t *data_mp, conn_t *connp, ipha_t *ipha, ip6_t *ip6h, ip_recv_attr_t *ira, netstack_t *ns) argument 2244 ipsec_inbound_accept_clear(mblk_t *mp, ipha_t *ipha, ip6_t *ip6h) argument 2454 ipsec_check_inbound_policy(mblk_t *mp, conn_t *connp, ipha_t *ipha, ip6_t *ip6h, ip_recv_attr_t *ira) argument 2689 ipsec_init_inbound_sel(ipsec_selector_t *sel, mblk_t *mp, ipha_t *ipha, ip6_t *ip6h, uint8_t sel_flags) argument 2815 ipsec_init_outbound_ports(ipsec_selector_t *sel, mblk_t *mp, ipha_t *ipha, ip6_t *ip6h, int outer_hdr_len, ipsec_stack_t *ipss) argument 4022 ipsec_in_to_out(ip_recv_attr_t *ira, ip_xmit_attr_t *ixa, mblk_t *data_mp, ipha_t *ipha, ip6_t *ip6h) argument 4197 ip_output_attach_policy(mblk_t *mp, ipha_t *ipha, ip6_t *ip6h, const conn_t *connp, ip_xmit_attr_t *ixa) argument 5268 ip6_t *ip6h = NULL; local 6261 ip6_t *ip6h = NULL; local [all...] |
H A D | tnet.c | 693 const ip6_t *ip6h; local 710 ip6h = (const ip6_t *)mp->b_rptr; 711 src = &ip6h->ip6_src; 778 proto = ip6h->ip6_nxt; 1052 ip6_t *ip6h = (ip6_t *)mp->b_rptr; local 1054 src_rhtp = find_tpc(&ip6h->ip6_src, IPV6_VERSION, 1058 dst_rhtp = find_tpc(&ip6h->ip6_dst, IPV6_VERSION, 1130 const ip6_t *ip6h; local 1136 sizeof (*ipha) : sizeof (*ip6h))); 1161 ip6h 1456 ip6_t *ip6h; local 1741 ip6_t *ip6h; local [all...] |
H A D | ipsecah.c | 2034 ip6_t *ip6h, *oip6h; local 2062 ip6h = (ip6_t *)(icmp6 + 1); 2063 if (!ip_hdr_length_nexthdr_v6(mp, ip6h, &hdr_length, &nexthdrp)) { 2070 ah = (ah_t *)((uint8_t *)ip6h + hdr_length); 2072 isaf = OUTBOUND_BUCKET_V6(&ahstack->ah_sadb.s_v6, ip6h->ip6_dst); 2075 (uint32_t *)&ip6h->ip6_src, (uint32_t *)&ip6h->ip6_dst, AF_INET6); 2118 ip6h->ip6_plen = htons(ntohs(ip6h->ip6_plen) - ah_length); 2375 * ip6h i 2392 ah_fix_phdr_v6(ip6_t *ip6h, ip6_t *oip6h, boolean_t outbound, boolean_t copy_always) argument 2651 ip6_t *ip6h = (ip6_t *)mp->b_rptr; local 3054 ip6_t *ip6h; local 3451 ip6_t *ip6h = (ip6_t *)data_mp->b_rptr; local 3638 ip6_t *ip6h; local 3933 ip6_t *ip6h; local [all...] |
H A D | ipclassifier.c | 1671 ip6_t *ip6h; local 1681 ip6h = (ip6_t *)mp->b_rptr; 1690 &ipst->ips_ipcl_conn_fanout[IPCL_CONN_HASH_V6(ip6h->ip6_src, 1696 ip6h->ip6_src, ip6h->ip6_dst, ports) && 1727 ip6h->ip6_dst, lport) && 1737 !tsol_receive_local(mp, &ip6h->ip6_dst, IPV6_VERSION, 1763 if (IPCL_UDP_MATCH_V6(connp, lport, ip6h->ip6_dst, 1764 fport, ip6h->ip6_src) && 1774 !tsol_receive_local(mp, &ip6h 1821 ipcl_classify_raw(mblk_t *mp, uint8_t protocol, uint32_t ports, ipha_t *ipha, ip6_t *ip6h, ip_recv_attr_t *ira, ip_stack_t *ipst) argument 2428 ipcl_conn_tcp_lookup_reversed_ipv6(conn_t *connp, ip6_t *ip6h, tcpha_t *tcpha, ip_stack_t *ipst) argument 2520 ipcl_tcp_lookup_reversed_ipv6(ip6_t *ip6h, tcpha_t *tcpha, int min_state, uint_t ifindex, ip_stack_t *ipst) argument [all...] |
H A D | igmp.c | 2060 ip6_t *ip6h = (ip6_t *)(mp->b_rptr); local 2074 if (!(IN6_IS_ADDR_LINKLOCAL(&ip6h->ip6_src))) { 2080 if (ip6h->ip6_hlim != 1) { 2090 mldlen = ntohs(ip6h->ip6_plen) - exthdr_length; 2136 &ip6h->ip6_src)) { 2145 inet_ntop(AF_INET6, &ip6h->ip6_src, 2451 ip6_t *ip6h; local 2476 ip6h = (ip6_t *)mp->b_rptr; 2477 ip6hbh = (struct ip6_hbh *)&ip6h[1]; 2496 ip6h 2529 ip6_t *ip6h; local [all...] |
H A D | ip_ndp.c | 1643 ip6_t *ip6h; local 1654 ip6h = (ip6_t *)mp->b_rptr; 1657 src = ip6h->ip6_src; 1682 if (!IN6_IS_ADDR_MC_SOLICITEDNODE(&ip6h->ip6_dst)) { 1688 &ip6h->ip6_dst); 1733 if (!IN6_IS_ADDR_MULTICAST(&ip6h->ip6_dst)) 1750 if (haddr == NULL && IN6_IS_ADDR_MULTICAST(&ip6h->ip6_dst)) { 1872 ip6_t *ip6h; local 1880 ip6h = (ip6_t *)mp->b_rptr; 1885 if (IN6_IS_ADDR_MULTICAST(&ip6h 2023 ip6_t *ip6h; local 2129 ip6_t *ip6h; local 2889 ip6_t *ip6h = (ip6_t *)mp->b_rptr; local 4209 ip6_t *ip6h = (ip6_t *)mp->b_rptr; local 4992 ip6_t *ip6h = (ip6_t *)mp->b_rptr; local [all...] |
H A D | ip_output.c | 424 ip6_t *ip6h = (ip6_t *)mp->b_rptr; local 427 if (IN6_IS_ADDR_UNSPECIFIED(&ip6h->ip6_src)) 435 return (ip_laddr_verify_v6(&ip6h->ip6_src, ixa->ixa_zoneid, 535 ip6_t *ip6h = NULL; local 540 ip6h = (ip6_t *)mp->b_rptr; 542 nce = ire_handle_condemned_nce(ixa->ixa_nce, ire, ipha, ip6h, B_TRUE); 2102 ip6_t *ip6h = (ip6_t *)mp->b_rptr; local 2106 (*ill->ill_inputfn)(mp, ip6h, &ip6h->ip6_dst, &iras, &rtc); 2173 ip6_t *ip6h local 2420 ip6_t *ip6h = NULL; local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ping/ |
H A D | ping_aux6.c | 265 ip6_t *ip6h; local 340 ip6h = (ip6_t *)((char *)icmp6 + ICMP6_MINLEN); 356 ip6hdr_len = IPv6_hdrlen(ip6h, cc_left, &last_hdr); 361 up = (struct udphdr *)((char *)ip6h + ip6hdr_len); 451 (void *)&ip6h->ip6_dst, 483 dst_addr.addr6 = ip6h->ip6_dst; 502 pr_name((char *)&ip6h->ip6_src, AF_INET6)); 503 Printf(" to %s", pr_name((char *)&ip6h->ip6_dst, 549 ip6h = (ip6_t *)((char *)icmp6 + ICMP6_MINLEN); 558 ip6hdr_len = IPv6_hdrlen(ip6h, cc_lef 943 IPv6_hdrlen(ip6_t *ip6h, int pkt_len, uint8_t *last_hdr_rtrn) argument [all...] |
/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp_shutdown.c | 230 ip6_t *ip6h = NULL; local 293 ip6h = (ip6_t *)mp->b_rptr; 299 ovbcopy(ip6h, to, IPV6_HDR_LEN); 302 ip6h = (ip6_t *)mp->b_rptr; 303 ip6h->ip6_nxt = IPPROTO_SCTP; 305 ip6h->ip6_plen = htons(ixas.ixa_pktlen - IPV6_HDR_LEN); 306 v6addr = ip6h->ip6_src; 307 ip6h->ip6_src = ip6h->ip6_dst; 308 ip6h [all...] |
H A D | sctp_error.c | 329 ip6_t *ip6h = NULL; local 383 ip6h = (ip6_t *)mp->b_rptr; 389 ovbcopy(ip6h, to, IPV6_HDR_LEN); 392 ip6h = (ip6_t *)mp->b_rptr; 393 ip6h->ip6_nxt = IPPROTO_SCTP; 396 ip6h->ip6_plen = htons(ahlen - IPV6_HDR_LEN); 397 v6addr = ip6h->ip6_src; 398 ip6h->ip6_src = ip6h->ip6_dst; 399 ip6h [all...] |
H A D | sctp_common.c | 394 ip6_t *ip6h; local 408 ip6h = (ip6_t *)mp->b_rptr; 409 ip6h->ip6_plen = htons(sum - IPV6_HDR_LEN); 923 ip6_t *ip6h; local 1007 ip6h = (ip6_t *)hdrs; 1008 sctp->sctp_ip6h = ip6h; 1010 ip6h->ip6_src = v6src; 1011 ip6h->ip6_dst = v6dst; 1014 ip6h->ip6_plen = htons(hdrs_len - IPV6_HDR_LEN); 1020 end = (uint8_t *)ip6h 1259 ip6_t *ip6h; local 1516 ip6_t *ip6h; local [all...] |
H A D | sctp_conn.c | 140 ip6_t *ip6h; local 206 ip6h = (ip6_t *)mp->b_rptr; 210 ipha = (ipha_t *)ip6h; 214 laddr = ip6h->ip6_dst; 215 faddr = ip6h->ip6_src; 287 if (IN6_IS_ADDR_LINKLOCAL(&ip6h->ip6_src) || 288 IN6_IS_ADDR_LINKLOCAL(&ip6h->ip6_dst)) {
|
/illumos-gate/usr/src/uts/common/ipp/ipgpc/ |
H A D | classifier.c | 507 ip6_t *ip6h = (ip6_t *)iph; local 514 whereptr = ((uint8_t *)&ip6h[1]); 516 nexthdrp = &ip6h->ip6_nxt; 550 if (((uchar_t *)ip6h + length + 556 up = (uint16_t *)((uchar_t *)ip6h + length); 637 ip6_t *ip6h = (ip6_t *)mp->b_rptr; local 640 bcopy(ip6h->ip6_src.s6_addr32, packet->saddr.s6_addr32, 641 sizeof (ip6h->ip6_src.s6_addr32)); 642 bcopy(ip6h->ip6_dst.s6_addr32, packet->daddr.s6_addr32, 643 sizeof (ip6h [all...] |
/illumos-gate/usr/src/uts/common/inet/ilb/ |
H A D | ilb_nat.c | 464 ip6_t *ip6h; local 466 ip6h = iph; 468 ip6h->ip6_src = info->nat_src; 469 ip6h->ip6_dst = info->nat_dst; 473 ip6h->ip6_src = info->vip; 474 ip6h->ip6_dst = info->src; 534 ip6_t *ip6h; local 536 ip6h = iph; 538 ip6h->ip6_dst = info->nat_dst; 541 ip6h 556 ilb_pseudo_sum_v6(ip6_t *ip6h, uint8_t nxt_hdr) argument [all...] |
H A D | ilb.c | 1605 ilb_icmp_v6(ilb_stack_t *ilbs, ill_t *ill, mblk_t *mp, ip6_t *ip6h, argument 1610 if (!ilb_rule_match_vip_v6(ilbs, &ip6h->ip6_dst, &rule)) 1627 icmp6->icmp6_cksum = ip6h->ip6_plen; 1628 hdr_len = (char *)icmp6 - (char *)ip6h; 1630 ilb_pseudo_sum_v6(ip6h, IPPROTO_ICMPV6)); 1631 ip6h->ip6_vcf &= ~IPV6_FLOWINFO_FLOWLABEL; 1632 ip6h->ip6_hops = 1634 *lb_dst = ip6h->ip6_src; 1635 ip6h->ip6_src = ip6h 1905 ilb_check_v6(ilb_stack_t *ilbs, ill_t *ill, mblk_t *mp, ip6_t *ip6h, int l4, uint8_t *tph, in6_addr_t *lb_dst) argument [all...] |
/illumos-gate/usr/src/uts/common/ipp/flowacct/ |
H A D | flowacct.c | 128 ip6_t *ip6h = (ip6_t *)iph; local 136 whereptr = ((uint8_t *)&ip6h[1]); 138 nexthdrp = &ip6h->ip6_nxt; 172 if (((uchar_t *)ip6h + length + 178 up = (uint16_t *)((uchar_t *)ip6h + length); 232 ip6_t *ip6h; local 268 ip6h = (ip6_t *)mp->b_rptr; 269 bcopy(ip6h->ip6_src.s6_addr32, header->saddr.s6_addr32, 270 sizeof (ip6h->ip6_src.s6_addr32)); 271 bcopy(ip6h [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_ip.c | 312 interpret_ipv6(int flags, const ip6_t *ip6h, int fraglen) argument 330 iplen = ntohs(ip6h->ip6_plen); 335 data = ((uint8_t *)ip6h) + hdrlen; 337 proto = ip6h->ip6_nxt; 339 src_name = addrtoname(AF_INET6, &ip6h->ip6_src); 340 dst_name = addrtoname(AF_INET6, &ip6h->ip6_dst); 347 class = ntohl((ip6h->ip6_vcf & IPV6_FLOWINFO_TCLASS) >> 20); 348 flow = ntohl(ip6h->ip6_vcf & IPV6_FLOWINFO_FLOWLABEL); 358 src_name, dst_name, iplen, ip6h->ip6_hops, class, flow); 361 (void) inet_ntop(AF_INET6, &ip6h [all...] |
/illumos-gate/usr/src/uts/common/io/mac/ |
H A D | mac_protect.c | 807 get_dhcpv6_info(ip6_t *ip6h, uchar_t *end, dhcpv6_message_t **dh6) argument 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) argument 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) argument 1310 if (get_dhcpv6_info(ip6h, end, &dh6) != 0) 1515 intercept_ra_inbound(mac_client_impl_t *mcip, ip6_t *ip6h, uchar_t *end, argument 1521 if (ip6h 1693 ip6_t *ip6h = (ip6_t *)start; local 1819 ipnospoof_check_ndp(mac_client_impl_t *mcip, mac_protect_t *protect, ip6_t *ip6h, uchar_t *end) argument 1992 ip6_t *ip6h = (ip6_t *)start; local 2063 dhcpnospoof_check_v6(mac_client_impl_t *mcip, mac_protect_t *p, ip6_t *ip6h, uchar_t *end) argument 2147 ip6_t *ip6h = (ip6_t *)start; local [all...] |