/freebsd-10.0-release/sys/netinet/ |
H A D | ip_icmp.h | 53 u_char icmp_type; /* type of message, see below */ member in struct:icmphdr 64 u_char icmp_type; /* type of message, see below */ member in struct:icmp
|
H A D | ip_icmp.c | 243 !ICMP_INFOTYPE(((struct icmp *)((caddr_t)oip + oiphlen))->icmp_type)) { 306 icp->icmp_type = type; 408 switch (icp->icmp_type) { 419 printf("icmp_input, type %d code %d\n", icp->icmp_type, 426 if (icp->icmp_type > ICMP_MAXTYPE) 440 ICMPSTAT_INC(icps_inhist[icp->icmp_type]); 442 switch (icp->icmp_type) { 536 icp->icmp_type = ICMP_ECHOREPLY; 552 icp->icmp_type = ICMP_TSTAMPREPLY; 587 icp->icmp_type [all...] |
/freebsd-10.0-release/contrib/tcpdump/ |
H A D | print-icmp.c | 56 u_int8_t icmp_type; /* type of message, see below */ member in struct:icmp 293 u_int8_t icmp_type; member in struct:icmp_ext_t 359 switch (dp->icmp_type) { 365 dp->icmp_type == ICMP_ECHO ? 560 str = tok2str(icmp2str, "type-#%d", dp->icmp_type); 584 if (vflag >= 1 && !ICMP_INFOTYPE(dp->icmp_type)) { 597 if (vflag >= 1 && plen > ICMP_EXTD_MINLEN && ICMP_MPLS_EXT_TYPE(dp->icmp_type)) {
|
/freebsd-10.0-release/contrib/ipfilter/ipsend/.OLD/ |
H A D | ip_compat.h | 118 # define icmp_type type macro 188 u_char icmp_type; /* type of message, see below */ member in struct:icmp
|
/freebsd-10.0-release/contrib/ipfilter/ipsend/ |
H A D | iptests.c | 609 icp->icmp_type = i; 614 icp->icmp_type = 255; 625 icp->icmp_type = 3; 638 icp->icmp_type = 4; 661 icp->icmp_type = 5; 685 icp->icmp_type = ict1[i]; 714 icp->icmp_type = 12; 744 icp->icmp_type = ict1[i]; 749 i * 4, icp->icmp_type); 754 i * 4 + 1, icp->icmp_type); [all...] |
H A D | ipsend.c | 115 ic->icmp_type = atoi(args); 117 if (ic->icmp_type == ICMP_REDIRECT && strchr(s, ','))
|
/freebsd-10.0-release/sbin/natd/ |
H A D | icmp.c | 69 icmp->icmp_type = ICMP_UNREACH;
|
H A D | natd.c | 877 icmphdr->icmp_type,
|
/freebsd-10.0-release/sbin/routed/ |
H A D | rdisc.c | 48 u_int8_t icmp_type; /* type of message */ member in struct:icmp_ad 62 u_int8_t icmp_type; /* type of message */ member in struct:icmp_so 126 if (p->icmp.icmp_type == ICMP_ROUTERADVERT) { 791 u.ad.icmp_type = ICMP_ROUTERADVERT; 873 u.so.icmp_type = ICMP_ROUTERSOLICIT; 906 if (p->icmp.icmp_type == ICMP_ROUTERADVERT) { 908 } else if (p->icmp.icmp_type == ICMP_ROUTERSOLICIT) { 1005 switch (p->icmp.icmp_type) {
|
/freebsd-10.0-release/usr.sbin/timed/timed/ |
H A D | measure.c | 120 oicp->icmp_type = ICMP_TSTAMP; 189 || icp->icmp_type != ICMP_TSTAMPREPLY
|
/freebsd-10.0-release/sbin/ping/ |
H A D | ping.c | 169 u_char icmp_type = ICMP_ECHO; variable 501 icmp_type = ICMP_MASKREQ; 508 icmp_type = ICMP_TSTAMP; 950 icp->icmp_type = icmp_type; 1039 if (icp->icmp_type == icmp_type_rsp) { 1174 (oicmp->icmp_type == ICMP_ECHO) && 1426 switch(icp->icmp_type) { 1561 (void)printf("Bad ICMP type: %d\n", icp->icmp_type);
|
/freebsd-10.0-release/contrib/ipfilter/lib/ |
H A D | ipft_tx.c | 307 ic->icmp_type = geticmptype(AF_INET, *cpp); 312 if (ic->icmp_type == ICMP_ECHO || 313 ic->icmp_type == ICMP_ECHOREPLY)
|
/freebsd-10.0-release/contrib/ipfilter/ipsd/Celler/ |
H A D | ip_compat.h | 117 # define icmp_type type macro
|
/freebsd-10.0-release/contrib/ipfilter/tools/ |
H A D | ipmon.c | 71 typedef struct icmp_type { struct 1293 icmpname6(ic->icmp_type, ic->icmp_code)); 1301 icmpname(ic->icmp_type, ic->icmp_code)); 1302 if (ic->icmp_type == ICMP_UNREACH || 1303 ic->icmp_type == ICMP_SOURCEQUENCH || 1304 ic->icmp_type == ICMP_PARAMPROB || 1305 ic->icmp_type == ICMP_REDIRECT || 1306 ic->icmp_type == ICMP_TIMXCEED) { 1345 icmp->icmp_type, icmp->icmp_code);
|
/freebsd-10.0-release/sbin/pfctl/ |
H A D | pfctl_parser.c | 81 static const struct icmptypeent icmp_type[] = { variable in typeref:struct:icmptypeent 216 for (i=0; i < (sizeof (icmp_type) / sizeof(icmp_type[0])); 218 if (type == icmp_type[i].type) 219 return (&icmp_type[i]); 237 for (i=0; i < (sizeof (icmp_type) / sizeof(icmp_type[0])); 239 if (!strcmp(w, icmp_type[i].name)) 240 return (&icmp_type[i]);
|
H A D | parse.y | 5005 LOOP_THROUGH(struct node_icmp, icmp_type, icmp_types, 5080 r->type = icmp_type->type; 5081 r->code = icmp_type->code; 5097 if (icmp_type->proto && r->proto != icmp_type->proto) {
|
/freebsd-10.0-release/sys/netinet/libalias/ |
H A D | alias.c | 368 if (ic2->icmp_type == ICMP_ECHO || ic2->icmp_type == ICMP_TSTAMP) 453 switch (ic->icmp_type) { 550 if (ic2->icmp_type == ICMP_ECHO || ic2->icmp_type == ICMP_TSTAMP) 637 switch (ic->icmp_type) {
|
/freebsd-10.0-release/usr.sbin/ppp/ |
H A D | ip.c | 316 sport = ih->icmp_type; 626 "ICMP: %s:%d ---> ", ncpaddr_ntoa(&srcaddr), icmph->icmp_type);
|
/freebsd-10.0-release/sys/contrib/ipfilter/netinet/ |
H A D | ip_state.c | 1518 switch (ic->icmp_type) 1527 is->is_icmp.ici_type = ic->icmp_type; 1538 switch (ic->icmp_type) 1544 is->is_icmp.ici_type = ic->icmp_type; 2693 type = ic->icmp_type; 3078 if ((ic->icmp_type == ICMP6_ECHO_REQUEST) || 3079 (ic->icmp_type == ICMP6_ECHO_REPLY)) {
|
H A D | ip_log.c | 426 switch (icmp->icmp_type)
|
H A D | fil.c | 1250 switch (icmp->icmp_type) 4415 if ((!rev && (icmp->icmp_type == ictype)) || 4416 (rev && (icmpreplytype4[ictype] == icmp->icmp_type))) { 4417 if (icmp->icmp_type != ICMP_ECHOREPLY) 4425 if ((!rev && (icmp->icmp_type == ictype)) || 4426 (rev && (icmpreplytype6[ictype] == icmp->icmp_type))) { 4427 if (icmp->icmp_type != ICMP6_ECHO_REPLY)
|
/freebsd-10.0-release/sys/netpfil/ipfw/ |
H A D | ip_fw_log.c | 491 icmp->icmp_type, icmp->icmp_code);
|
H A D | ip_fw2.c | 219 int type = icmp->icmp_type; 230 int type = icmp->icmp_type; 1221 //args->f_id.flags = ICMP(ulp)->icmp_type;
|
/freebsd-10.0-release/contrib/traceroute/ |
H A D | traceroute.c | 1309 type = icp->icmp_type; 1358 icmpheader->icmp_type = ICMP_ECHO;
|
/freebsd-10.0-release/contrib/ipfilter/iplang/ |
H A D | iplang_y.y | 1517 icmp->icmp_type = type; 1547 icmp->icmp_type = i;
|