/illumos-gate/usr/src/stand/lib/inet/ |
H A D | icmp4.c | 86 switch (icmphp->icmp_type) { 121 icmphp->icmp_type = ICMP_ECHOREPLY; 135 "received from %s\n", icmphp->icmp_type, inet_ntoa(ipsrc));
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.rdisc/ |
H A D | in.rdisc.c | 70 uchar_t icmp_type; /* type of message, see below */ member in struct:icmp_ra 560 icp->icmp_type = ICMP_ROUTERSOLICIT; 581 pr_type((int)icp->icmp_type), li->li_name); 621 rap->icmp_type = ICMP_ROUTERADVERT; 676 pr_type((int)rap->icmp_type), 794 pr_type((int)icp->icmp_type), li->li_name); 806 switch (icp->icmp_type) { 825 pr_type((int)rap->icmp_type), 832 pr_type((int)rap->icmp_type), 840 pr_type((int)rap->icmp_type), [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_icmp.c | 83 switch (icmp->icmp_type) { 384 icmp->icmp_type, pt); 395 if (icmp->icmp_type == ICMP_UNREACH || 396 icmp->icmp_type == ICMP_REDIRECT) { 407 } else if (icmp->icmp_type == ICMP_PARAMPROB) { 418 } else if (icmp->icmp_type == ICMP_ROUTERADVERT) {
|
/illumos-gate/usr/src/uts/common/netinet/ |
H A D | ip_icmp.h | 58 uchar_t icmp_type; /* type of message, see below */ member in struct:icmp
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/ |
H A D | rdisc.c | 56 uint8_t icmp_type; /* type of message */ member in struct:icmp_ad 70 uint8_t icmp_type; /* type of message */ member in struct:icmp_so 125 if (p->icmp.icmp_type == ICMP_ROUTERADVERT) { 1104 u.ad.icmp_type = ICMP_ROUTERADVERT; 1193 u.so.icmp_type = ICMP_ROUTERSOLICIT; 1230 if (p->icmp.icmp_type == ICMP_ROUTERADVERT) { 1234 } else if (p->icmp.icmp_type == ICMP_ROUTERSOLICIT) { 1334 switch (p->icmp.icmp_type) {
|
/illumos-gate/usr/src/cmd/ipf/tools/ |
H A D | ipmon.c | 110 typedef struct icmp_type { struct 1164 icmpname6(ic->icmp_type, ic->icmp_code)); 1171 icmpname(ic->icmp_type, ic->icmp_code)); 1172 if (ic->icmp_type == ICMP_UNREACH || 1173 ic->icmp_type == ICMP_SOURCEQUENCH || 1174 ic->icmp_type == ICMP_PARAMPROB || 1175 ic->icmp_type == ICMP_REDIRECT || 1176 ic->icmp_type == ICMP_TIMXCEED) { 1215 icmp->icmp_type, icmp->icmp_code);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ping/ |
H A D | ping_aux.c | 316 switch (icp->icmp_type) { 1049 Printf("icmp_type=%d (%s) ", 1050 icp->icmp_type, pr_type(icp->icmp_type)); 1249 pr_type(int icmp_type) argument 1275 if (ttab[i].type == icmp_type)
|
H A D | ping.c | 2094 icp->icmp_type = send_reply ? 2097 icp->icmp_type = send_reply ? 2100 icp->icmp_type = send_reply ?
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/ilbd/ilb/ |
H A D | ilb_probe.c | 379 if (icmph->icmp_type != ICMP_UNREACH) 410 if (icmph->icmp_type != ICMP_ECHOREPLY) 798 icmph->icmp_type = af == AF_INET ? ICMP_ECHO : ICMP6_ECHO_REQUEST;
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/traceroute/ |
H A D | traceroute_aux.c | 128 outicmp->icmp_type = ICMP_ECHO; 353 *type = icp->icmp_type;
|
H A D | traceroute_aux6.c | 101 outicmp->icmp_type = ICMP6_ECHO_REQUEST;
|
/illumos-gate/usr/src/cmd/ipf/lib/common/ |
H A D | ipft_tx.c | 305 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; 2725 if ((ic->icmp_type == ICMP6_ECHO_REQUEST) || 2726 (ic->icmp_type == ICMP6_ECHO_REPLY)) {
|
H A D | ip_log.c | 279 switch (icmp->icmp_type)
|
H A D | fil.c | 967 switch (icmp->icmp_type) 4273 if ((!rev && (icmp->icmp_type == ictype)) || 4274 (rev && (icmpreplytype4[ictype] == icmp->icmp_type))) { 4275 if (icmp->icmp_type != ICMP_ECHOREPLY) 4283 if ((!rev && (icmp->icmp_type == ictype)) || 4284 (rev && (icmpreplytype6[ictype] == icmp->icmp_type))) { 4285 if (icmp->icmp_type != ICMP6_ECHO_REPLY)
|
H A D | ip_fil_solaris.c | 1349 icmp->icmp_type = type & 0xff; 2556 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 || 774 icmp->icmp_type == ICMP_ROUTERSOLICIT)
|
H A D | ip6.c | 2397 ip_fanout_send_icmp_v6(mblk_t *mp, uint_t icmp_type, uint8_t icmp_code, argument 2431 switch (icmp_type) {
|
H A D | ip.c | 4825 ip_fanout_send_icmp_v4(mblk_t *mp, uint_t icmp_type, uint_t icmp_code, argument 4868 switch (icmp_type) {
|