Searched refs:icmp_type (Results 1 - 20 of 20) sorted by relevance

/illumos-gate/usr/src/stand/lib/inet/
H A Dicmp4.c86 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 Din.rdisc.c70 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 Dsnoop_icmp.c83 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 Dip_icmp.h58 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 Drdisc.c56 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 Dipmon.c110 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 Dping_aux.c316 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 Dping.c2094 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 Dilb_probe.c379 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 Dtraceroute_aux.c128 outicmp->icmp_type = ICMP_ECHO;
353 *type = icp->icmp_type;
H A Dtraceroute_aux6.c101 outicmp->icmp_type = ICMP6_ECHO_REQUEST;
/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dipft_tx.c305 ic->icmp_type = i;
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dip_state.c1266 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 Dip_log.c279 switch (icmp->icmp_type)
H A Dfil.c967 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 Dip_fil_solaris.c1349 icmp->icmp_type = type & 0xff;
2556 icmp->icmp_type = ICMP_UNREACH;
H A Dip_nat.c2924 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 Dtnet.c773 if (icmp->icmp_type == ICMP_ROUTERADVERT ||
774 icmp->icmp_type == ICMP_ROUTERSOLICIT)
H A Dip6.c2397 ip_fanout_send_icmp_v6(mblk_t *mp, uint_t icmp_type, uint8_t icmp_code, argument
2431 switch (icmp_type) {
H A Dip.c4825 ip_fanout_send_icmp_v4(mblk_t *mp, uint_t icmp_type, uint_t icmp_code, argument
4868 switch (icmp_type) {

Completed in 198 milliseconds