/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ip6_output.c | 63 #include <netinet/icmp6.h> 458 icmp6_t *icmp6; local 460 icmp6 = (icmp6_t *)((uchar_t *)ip6h + ixa->ixa_ip_hdr_length); 461 icmp_update_out_mib_v6(ill, icmp6); 964 icmp6_t *icmp6; local 966 icmp6 = (icmp6_t *)((uchar_t *)ip6h + ixa->ixa_ip_hdr_length); 968 icmp6);
|
H A D | ip6_input.c | 76 #include <netinet/icmp6.h> 1202 icmp6_t *icmp6; local 1226 icmp6 = (icmp6_t *)(&mp->b_rptr[ip_hdr_length]); 1228 if (icmp6->icmp6_type != ND_NEIGHBOR_SOLICIT && 1229 icmp6->icmp6_type != ND_NEIGHBOR_ADVERT) {
|
H A D | tnet.c | 780 const icmp6_t *icmp6 = (const icmp6_t *) local 783 if ((uchar_t *)icmp6 + ICMP6_MINLEN > 786 if (icmp6->icmp6_type >= MLD_LISTENER_QUERY && 787 icmp6->icmp6_type <= ICMP6_MAX_INFO_TYPE)
|
H A D | icmp.c | 59 #include <netinet/icmp6.h> 173 * We have separate open functions for the /dev/icmp and /dev/icmp6 devices. 197 /* For AF_INET6 aka /dev/icmp6 */ 1273 icmp6_t *icmp6; local 1292 icmp6 = (icmp6_t *)&mp->b_rptr[iph_hdr_length]; 1294 ip6h = (ip6_t *)&icmp6[1]; /* Inner IP header */ 1300 switch (icmp6->icmp6_type) { 1302 switch (icmp6->icmp6_code) { 1369 mtuinfo->ip6m_mtu = icmp6->icmp6_mtu; 1383 if (icmp6 [all...] |
H A D | ip6.c | 62 #include <netinet/icmp6.h> 199 icmp6_t *icmp6; local 239 icmp6 = (icmp6_t *)(&mp->b_rptr[ip_hdr_length]); 240 DTRACE_PROBE2(icmp__inbound__v6, ip6_t *, ip6h, icmp6_t *, icmp6); 241 ip2dbg(("icmp_inbound_v6: type %d code %d\n", icmp6->icmp6_type, 242 icmp6->icmp6_code)); 248 interested = !(icmp6->icmp6_type & ICMP6_INFOMSG_MASK); 250 switch (icmp6->icmp6_type) { 253 if (icmp6->icmp6_code == ICMP6_DST_UNREACH_ADMIN) 294 icmp6 432 icmp_send_reply_v6(mblk_t *mp, ip6_t *ip6h, icmp6_t *icmp6, ip_recv_attr_t *ira) argument 538 icmp_inbound_verify_v6(mblk_t *mp, icmp6_t *icmp6, ip_recv_attr_t *ira) argument 671 icmp_inbound_too_big_v6(icmp6_t *icmp6, ip_recv_attr_t *ira) argument 765 icmp_inbound_error_fanout_v6(mblk_t *mp, icmp6_t *icmp6, ip_recv_attr_t *ira) argument 1269 icmp6_t *icmp6; local 1410 icmp_update_out_mib_v6(ill_t *ill, icmp6_t *icmp6) argument 1510 icmp6_t *icmp6; local 1739 icmp6_t icmp6; local 1760 icmp6_t icmp6; local 1781 icmp6_t icmp6; local 1805 icmp6_t icmp6; local [all...] |
H A D | ipsecah.c | 48 #include <netinet/icmp6.h> 2038 icmp6_t *icmp6; local 2061 icmp6 = (icmp6_t *)((uint8_t *)oip6h + hdr_length); 2062 ip6h = (ip6_t *)(icmp6 + 1);
|
H A D | ip_ndp.c | 50 #include <netinet/icmp6.h> 1370 icmp6_t *icmp6 = (icmp6_t *)(mp->b_rptr + IPV6_HDR_LEN); local 1371 nd_neighbor_solicit_t *ns = (nd_neighbor_solicit_t *)icmp6; 2080 ip1dbg(("ndp_input: icmp6 code != 0 \n")); 2127 icmp6_t *icmp6; local 2218 icmp6 = (icmp6_t *)&ip6h[1]; 2227 nd_neighbor_solicit_t *ns = (nd_neighbor_solicit_t *)icmp6; 2248 nd_neighbor_advert_t *na = (nd_neighbor_advert_t *)icmp6; 2277 icmp6->icmp6_type = (uint8_t)operation; 2278 icmp6 [all...] |
H A D | spd.c | 55 #include <netinet/icmp6.h> 2248 icmp6_t *icmp6; local 2262 icmp6 = (icmp6_t *)(&mp->b_rptr[iph_hdr_length]); 2264 switch (icmp6->icmp6_type) {
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ping/ |
H A D | ping_aux6.c | 60 #include <netinet/icmp6.h> 264 struct icmp6_hdr *icmp6; local 334 icmp6 = (struct icmp6_hdr *)buf; 337 switch (icmp6->icmp6_type) { 340 ip6h = (ip6_t *)((char *)icmp6 + ICMP6_MINLEN); 374 if (icmp6->icmp6_code == ICMP6_DST_UNREACH_NOPORT && 490 if (icmp6->icmp6_code >= A_CNT(unreach6)) { 492 "%s\n", icmp6->icmp6_code, 497 unreach6[icmp6->icmp6_code], 549 ip6h = (ip6_t *)((char *)icmp6 [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_icmp.c | 39 #include <netinet/icmp6.h> 440 interpret_icmpv6(flags, icmp6, iplen, ilen) 442 icmp6_t *icmp6; 457 switch (icmp6->icmp6_type) { 460 switch (icmp6->icmp6_code) { 474 ip6_t *orig_ip6hdr = (ip6_t *)&icmp6[1]; 517 switch (icmp6->icmp6_code) { 530 switch (icmp6->icmp6_code) { 545 ntohs(icmp6->icmp6_id), ntohs(icmp6 907 interpret_mldv2qry(icmp6_t *icmp6, int ilen) argument 954 interpret_mldv2rpt(icmp6_t *icmp6, int ilen) argument [all...] |
/illumos-gate/usr/src/uts/common/inet/ipf/ |
H A D | ip_nat6.c | 1216 struct icmp6_hdr *icmp6, *orgicmp; local 1236 icmp6 = fin->fin_dp; 1237 oip6 = (ip6_t *)((char *)icmp6 + sizeof (*icmp6)); 1443 fix_incksum(&icmp6->icmp6_cksum, sumd1); 2207 struct icmp6_hdr *icmp6; local 2219 icmp6 = NULL; 2240 icmp6 = fin->fin_dp; 2241 icmp6->icmp6_id = nat->nat_outport; 2317 struct icmp6_hdr *icmp6; local 2490 struct icmp6_hdr *icmp6; local [all...] |
H A D | ip_fil_solaris.c | 49 # include <netinet/icmp6.h> 2673 struct icmp6_hdr *icmp6; local 2716 icmp6 = (struct icmp6_hdr *) mblk_icmp->b_wptr; 2717 icmp6->icmp6_type = ICMP6_DST_UNREACH; 2718 icmp6->icmp6_code = fin->fin_icode & 0xFF; 2719 icmp6->icmp6_data32[0] = 0; 2736 icmp6->icmp6_cksum = icmp_pld_len + sizeof (struct icmp6_hdr); 2908 struct icmp6_hdr *icmp6; local 2975 icmp6 = (struct icmp6_hdr *)(pkt->b_rptr + fin->fin_hlen); 2976 l4_csum_p = &icmp6 [all...] |
H A D | ip_nat.c | 4529 struct icmp6_hdr *icmp6; local 4574 icmp6 = fin->fin_dp; 4577 if (icmp6->icmp6_cksum != 0) 4578 csump = &icmp6->icmp6_cksum;
|
H A D | fil.c | 105 # include <netinet/icmp6.h> 686 struct icmp6_hdr *icmp6; local 692 icmp6 = fin->fin_dp; 694 fin->fin_data[0] = *(u_short *)icmp6; 696 if ((icmp6->icmp6_type & ICMP6_INFOMSG_MASK) != 0) 699 switch (icmp6->icmp6_type) 704 fin->fin_data[1] = icmp6->icmp6_id;
|
/illumos-gate/usr/src/uts/common/inet/ilb/ |
H A D | ilb.c | 1606 icmp6_t *icmp6, in6_addr_t *lb_dst) 1613 if ((uint8_t *)icmp6 + sizeof (icmp6_t) > mp->b_wptr) { 1619 switch (icmp6->icmp6_type) { 1626 icmp6->icmp6_type = ICMP6_ECHO_REPLY; 1627 icmp6->icmp6_cksum = ip6h->ip6_plen; 1628 hdr_len = (char *)icmp6 - (char *)ip6h; 1629 icmp6->icmp6_cksum = IP_CSUM(mp, hdr_len, 1642 if (ilb_check_icmp_conn(ilbs, mp, IPPROTO_IPV6, ip6h, icmp6, 1605 ilb_icmp_v6(ilb_stack_t *ilbs, ill_t *ill, mblk_t *mp, ip6_t *ip6h, icmp6_t *icmp6, in6_addr_t *lb_dst) argument
|
/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp.c | 52 #include <netinet/icmp6.h> 1197 icmp6_t *icmp6; local 1209 icmp6 = (icmp6_t *)&mp->b_rptr[iph_hdr_length]; 1210 ip6h = (ip6_t *)&icmp6[1]; 1224 switch (icmp6->icmp6_type) { 1262 switch (icmp6->icmp6_code) { 1291 if (icmp6->icmp6_code == ICMP6_PARAMPROB_NEXTHEADER && 1292 (uchar_t *)ip6h + icmp6->icmp6_pptr ==
|
/illumos-gate/usr/src/uts/common/inet/tcp/ |
H A D | tcp_input.c | 5637 icmp6_t *icmp6; local 5649 icmp6 = (icmp6_t *)&mp->b_rptr[iph_hdr_length]; 5650 ip6h = (ip6_t *)&icmp6[1]; 5674 switch (icmp6->icmp6_type) { 5683 switch (icmp6->icmp6_code) { 5719 if (icmp6->icmp6_code == ICMP6_PARAMPROB_NEXTHEADER && 5720 (uchar_t *)ip6h + icmp6->icmp6_pptr == 5747 tcp_verifyicmp(conn_t *connp, void *arg2, icmph_t *icmph, icmp6_t *icmp6, argument 5771 ASSERT(icmp6 != NULL); 5772 if (icmp6 [all...] |
/illumos-gate/usr/src/uts/common/inet/iptun/ |
H A D | iptun.c | 1835 iptun_verifyicmp(conn_t *connp, void *arg2, icmph_t *icmph, icmp6_t *icmp6, argument 2150 iptun_sendicmp_v6(iptun_t *iptun, icmp6_t *icmp6, ip6_t *orig_ip6h, mblk_t *mp, argument 2177 *new_icmp6 = *icmp6; 2233 icmp6_t icmp6; local 2235 bzero(&icmp6, sizeof (icmp6)); 2236 icmp6.icmp6_type = type; 2237 icmp6.icmp6_code = code; 2239 icmp6.icmp6_pptr = htonl(offset); 2241 iptun_sendicmp_v6(iptun, &icmp6, orig_ip6 2248 icmp6_t icmp6; local 2278 icmp6_t *icmp6; local [all...] |
/illumos-gate/usr/src/uts/common/inet/udp/ |
H A D | udp.c | 59 #include <netinet/icmp6.h> 1059 icmp6_t *icmp6; local 1080 icmp6 = (icmp6_t *)&mp->b_rptr[iph_hdr_length]; 1083 ip6h = (ip6_t *)&icmp6[1]; /* Inner IP header */ 1090 switch (icmp6->icmp6_type) { 1092 switch (icmp6->icmp6_code) { 1159 mtuinfo->ip6m_mtu = icmp6->icmp6_mtu; 1173 if (icmp6->icmp6_code == ICMP6_PARAMPROB_NEXTHEADER && 1174 (uchar_t *)ip6h + icmp6->icmp6_pptr ==
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/netstat/ |
H A D | netstat.c | 199 static void print_icmp6_stats(mib2_ipv6IfIcmpEntry_t *icmp6); 209 static void sum_icmp6_stats(mib2_ipv6IfIcmpEntry_t *icmp6, 466 strcmp(optarg, "icmp6") == 0) { 1825 mib2_ipv6IfIcmpEntry_t *icmp6; local 1828 icmp6 = (mib2_ipv6IfIcmpEntry_t *)item->valp; 1829 ipv6IfIcmpEntrySize = icmp6->ipv6IfIcmpEntrySize; 1982 mib2_ipv6IfIcmpEntry_t *icmp6; local 1990 for (icmp6 = (mib2_ipv6IfIcmpEntry_t *)item->valp; 1991 (char *)icmp6 < (char *)item->valp + item->length; 1992 icmp6 2199 print_icmp6_stats(mib2_ipv6IfIcmpEntry_t *icmp6) argument 2492 sum_icmp6_stats(mib2_ipv6IfIcmpEntry_t *icmp6, mib2_ipv6IfIcmpEntry_t *sum6) argument [all...] |