/illumos-gate/usr/src/stand/lib/inet/ |
H A D | icmp4.c | 86 switch (icmphp->icmp_type) { in icmp4() 121 icmphp->icmp_type = ICMP_ECHOREPLY; in icmp4() 135 "received from %s\n", icmphp->icmp_type, inet_ntoa(ipsrc)); in icmp4()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.rdisc/ |
H A D | in.rdisc.c | 65 uchar_t icmp_type; /* type of message, see below */ member 558 icp->icmp_type = ICMP_ROUTERSOLICIT; in solicitor() 579 pr_type((int)icp->icmp_type), li->li_name); in solicitor() 619 rap->icmp_type = ICMP_ROUTERADVERT; in advertise() 674 pr_type((int)rap->icmp_type), in advertise() 792 pr_type((int)icp->icmp_type), li->li_name); in pr_pack() 804 switch (icp->icmp_type) { in pr_pack() 823 pr_type((int)rap->icmp_type), in pr_pack() 830 pr_type((int)rap->icmp_type), in pr_pack() 838 pr_type((int)rap->icmp_type), in pr_pack() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_icmp.c | 83 switch (icmp->icmp_type) { in interpret_icmp() 384 icmp->icmp_type, pt); in interpret_icmp() 395 if (icmp->icmp_type == ICMP_UNREACH || in interpret_icmp() 396 icmp->icmp_type == ICMP_REDIRECT) { in interpret_icmp() 407 } else if (icmp->icmp_type == ICMP_PARAMPROB) { in interpret_icmp() 418 } else if (icmp->icmp_type == ICMP_ROUTERADVERT) { in interpret_icmp()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/ |
H A D | rdisc.c | 54 uint8_t icmp_type; /* type of message */ member 68 uint8_t icmp_type; /* type of message */ member 123 if (p->icmp.icmp_type == ICMP_ROUTERADVERT) { in trace_rdisc() 1102 u.ad.icmp_type = ICMP_ROUTERADVERT; in send_adv() 1191 u.so.icmp_type = ICMP_ROUTERSOLICIT; in rdisc_sol() 1228 if (p->icmp.icmp_type == ICMP_ROUTERADVERT) { in ck_icmp() 1232 } else if (p->icmp.icmp_type == ICMP_ROUTERSOLICIT) { in ck_icmp() 1332 switch (p->icmp.icmp_type) { in read_d()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ping/ |
H A D | ping_aux.c | 316 switch (icp->icmp_type) { in check_reply() 1050 icp->icmp_type, pr_type(icp->icmp_type)); in check_reply() 1249 pr_type(int icmp_type) in pr_type() argument 1275 if (ttab[i].type == icmp_type) in pr_type()
|
H A D | ping.c | 2094 icp->icmp_type = send_reply ? in pinger() 2097 icp->icmp_type = send_reply ? in pinger() 2100 icp->icmp_type = send_reply ? in pinger()
|
/illumos-gate/usr/src/cmd/ipf/tools/ |
H A D | ipmon.c | 114 typedef struct icmp_type { struct 1168 icmpname6(ic->icmp_type, ic->icmp_code)); 1175 icmpname(ic->icmp_type, ic->icmp_code)); 1176 if (ic->icmp_type == ICMP_UNREACH || 1177 ic->icmp_type == ICMP_SOURCEQUENCH || 1178 ic->icmp_type == ICMP_PARAMPROB || 1179 ic->icmp_type == ICMP_REDIRECT || 1180 ic->icmp_type == ICMP_TIMXCEED) { 1219 icmp->icmp_type, icmp->icmp_code);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/ilbd/ilb/ |
H A D | ilb_probe.c | 379 if (icmph->icmp_type != ICMP_UNREACH) in check_icmp_unreach_v4() 410 if (icmph->icmp_type != ICMP_ECHOREPLY) in check_icmp_echo_v4() 798 icmph->icmp_type = af == AF_INET ? ICMP_ECHO : ICMP6_ECHO_REQUEST; in ping_query()
|
/illumos-gate/usr/src/uts/common/netinet/ |
H A D | ip_icmp.h | 57 uchar_t icmp_type; /* type of message, see below */ member
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/traceroute/ |
H A D | traceroute_aux.c | 126 outicmp->icmp_type = ICMP_ECHO; in set_buffers() 351 *type = icp->icmp_type; in check_reply()
|
H A D | traceroute_aux6.c | 99 outicmp->icmp_type = ICMP6_ECHO_REQUEST; in set_buffers6()
|
/illumos-gate/usr/src/cmd/ipf/lib/ |
H A D | ipft_tx.c | 303 ic->icmp_type = i;
|
/illumos-gate/usr/src/uts/common/inet/ipf/ |
H A D | ip_state.c | 1266 switch (ic->icmp_type) 1269 is->is_icmp.ici_type = ic->icmp_type; 1276 is->is_icmp.ici_type = ic->icmp_type; 1287 switch (ic->icmp_type) 1294 is->is_icmp.ici_type = ic->icmp_type; 2726 if ((ic->icmp_type == ICMP6_ECHO_REQUEST) || 2727 (ic->icmp_type == ICMP6_ECHO_REPLY)) {
|
H A D | ip_log.c | 284 switch (icmp->icmp_type)
|
H A D | fil.c | 968 switch (icmp->icmp_type) 4272 if ((!rev && (icmp->icmp_type == ictype)) || 4273 (rev && (icmpreplytype4[ictype] == icmp->icmp_type))) { 4274 if (icmp->icmp_type != ICMP_ECHOREPLY) 4282 if ((!rev && (icmp->icmp_type == ictype)) || 4283 (rev && (icmpreplytype6[ictype] == icmp->icmp_type))) { 4284 if (icmp->icmp_type != ICMP6_ECHO_REPLY)
|
H A D | ip_fil_solaris.c | 1563 icmp->icmp_type = type & 0xff; 2890 icmp->icmp_type = ICMP_UNREACH;
|
H A D | ip_nat.c | 2924 if (nat_icmpquerytype4(orgicmp->icmp_type)) { 3914 if (nat_icmpquerytype4(icmp->icmp_type)) 4237 if (nat_icmpquerytype4(icmp->icmp_type)) {
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | tnet.c | 773 if (icmp->icmp_type == ICMP_ROUTERADVERT || in tsol_get_pkt_label() 774 icmp->icmp_type == ICMP_ROUTERSOLICIT) in tsol_get_pkt_label()
|
H A D | ip6.c | 2387 ip_fanout_send_icmp_v6(mblk_t *mp, uint_t icmp_type, uint8_t icmp_code, in ip_fanout_send_icmp_v6() argument 2421 switch (icmp_type) { in ip_fanout_send_icmp_v6()
|
H A D | ip.c | 4855 ip_fanout_send_icmp_v4(mblk_t *mp, uint_t icmp_type, uint_t icmp_code, in ip_fanout_send_icmp_v4() argument 4898 switch (icmp_type) { in ip_fanout_send_icmp_v4()
|