/netbsd-6-1-5-RELEASE/external/bsd/tcpdump/dist/ |
H A D | print-icmp.c | 59 u_int8_t icmp_type; /* type of message, see below */ member in struct:icmp 296 u_int8_t icmp_type; member in struct:icmp_ext_t 361 switch (dp->icmp_type) { 367 dp->icmp_type == ICMP_ECHO ? 562 str = tok2str(icmp2str, "type-#%d", dp->icmp_type); 583 if (vflag >= 1 && !ICMP_INFOTYPE(dp->icmp_type)) { 596 if (vflag >= 1 && plen > ICMP_EXTD_MINLEN && ICMP_MPLS_EXT_TYPE(dp->icmp_type)) {
|
/netbsd-6-1-5-RELEASE/sys/netinet/ |
H A D | ip_icmp.h | 55 u_int8_t icmp_type; /* type of message, see below */ member in struct:icmp 194 static const char *icmp_type[] = { variable
|
H A D | ip_icmp.c | 253 !ICMP_INFOTYPE(((struct icmp *)((char *)oip + oiplen))->icmp_type)) { 318 icp->icmp_type = type; 449 printf("icmp_input(type:%d, code:%d)\n", icp->icmp_type, 452 if (icp->icmp_type > ICMP_MAXTYPE) 454 ICMP_STATINC(ICMP_STAT_INHIST + icp->icmp_type); 456 switch (icp->icmp_type) { 549 icp->icmp_type = ICMP_ECHOREPLY; 562 icp->icmp_type = ICMP_TSTAMPREPLY; 587 icp->icmp_type = ICMP_MASKREPLY; 599 icps[ICMP_STAT_OUTHIST + icp->icmp_type] [all...] |
/netbsd-6-1-5-RELEASE/usr.sbin/npf/npfctl/ |
H A D | npf_parse.y | 160 %type <num> opt_stateful, icmp_type, table_type, map_sd, map_type 684 : ICMPTYPE icmp_type 688 | ICMPTYPE icmp_type CODE NUM 692 | ICMPTYPE icmp_type CODE IDENTIFIER 697 | ICMPTYPE icmp_type CODE VAR_ID 728 icmp_type
|
H A D | npf_build.c | 279 int *icmp_type, *icmp_code; local 280 icmp_type = npfvar_get_data(popts, NPFVAR_ICMP, 0); 282 npfctl_gennc_icmp(nc, *icmp_type, *icmp_code);
|
H A D | npf_data.c | 457 for (ul = 0; icmp_type[ul]; ul++) 458 if (strcmp(icmp_type[ul], type) == 0)
|
/netbsd-6-1-5-RELEASE/dist/ipf/ipsend/ |
H A D | iptests.c | 613 icp->icmp_type = i; 618 icp->icmp_type = 255; 629 icp->icmp_type = 3; 642 icp->icmp_type = 4; 665 icp->icmp_type = 5; 689 icp->icmp_type = ict1[i]; 718 icp->icmp_type = 12; 748 icp->icmp_type = ict1[i]; 753 i * 4, icp->icmp_type); 758 i * 4 + 1, icp->icmp_type); [all...] |
H A D | ipsend.c | 116 ic->icmp_type = atoi(args); 118 if (ic->icmp_type == ICMP_REDIRECT && strchr(s, ','))
|
/netbsd-6-1-5-RELEASE/dist/dhcp/includes/netinet/ |
H A D | ip_icmp.h | 52 u_int8_t icmp_type; /* type of message, see below */ member in struct:icmp
|
/netbsd-6-1-5-RELEASE/dist/dhcp/common/ |
H A D | icmp.c | 162 icmp.icmp_type = ICMP_ECHO; 254 if (icfrom -> icmp_type != ICMP_ECHOREPLY) {
|
/netbsd-6-1-5-RELEASE/sbin/routed/ |
H A D | rdisc.c | 52 u_int8_t icmp_type; /* type of message */ member in struct:icmp_ad 66 u_int8_t icmp_type; /* type of message */ member in struct:icmp_so 129 if (p->icmp.icmp_type == ICMP_ROUTERADVERT) { 809 u.ad.icmp_type = ICMP_ROUTERADVERT; 891 u.so.icmp_type = ICMP_ROUTERSOLICIT; 924 if (p->icmp.icmp_type == ICMP_ROUTERADVERT) { 926 } else if (p->icmp.icmp_type == ICMP_ROUTERSOLICIT) { 1025 switch (p->icmp.icmp_type) {
|
/netbsd-6-1-5-RELEASE/usr.sbin/timed/timed/ |
H A D | measure.c | 127 oicp.icmp_type = ICMP_TSTAMP; 207 if (icp.icmp_type != ICMP_TSTAMPREPLY
|
/netbsd-6-1-5-RELEASE/dist/ipf/ipsd/Celler/ |
H A D | ip_compat.h | 117 # define icmp_type type macro
|
/netbsd-6-1-5-RELEASE/sys/net/npf/ |
H A D | npf_instr.c | 188 if (type != ic->icmp_type) {
|
H A D | npf_alg_icmp.c | 268 ret = npfa_icmp4_inspect(ic->icmp_type, enpc, nbuf); 326 ret = npfa_icmp4_inspect(ic->icmp_type, &enpc, nbuf);
|
/netbsd-6-1-5-RELEASE/tests/net/icmp/ |
H A D | t_ping.c | 156 icmp->icmp_type = ICMP_ECHO; 385 icmp->icmp_type = ICMP_ECHO;
|
/netbsd-6-1-5-RELEASE/sys/netmpls/ |
H A D | mpls_ttl.c | 213 !ICMP_INFOTYPE(((struct icmp *)((char *)oip + oiplen))->icmp_type)) 276 icp->icmp_type = type;
|
/netbsd-6-1-5-RELEASE/dist/ipf/tools/ |
H A D | ipmon.c | 104 typedef struct icmp_type { struct 1177 icmpname6(ic.icmp_type, ic.icmp_code)); 1184 icmpname(ic.icmp_type, ic.icmp_code)); 1185 if (ic.icmp_type == ICMP_UNREACH || 1186 ic.icmp_type == ICMP_SOURCEQUENCH || 1187 ic.icmp_type == ICMP_PARAMPROB || 1188 ic.icmp_type == ICMP_REDIRECT || 1189 ic.icmp_type == ICMP_TIMXCEED) { 1229 icmp.icmp_type, icmp.icmp_code);
|
/netbsd-6-1-5-RELEASE/dist/pf/sbin/pfctl/ |
H A D | pfctl_parser.c | 82 static const struct icmptypeent icmp_type[] = { variable in typeref:struct:icmptypeent 253 for (i=0; i < (sizeof (icmp_type) / sizeof(icmp_type[0])); 255 if (type == icmp_type[i].type) 256 return (&icmp_type[i]); 274 for (i=0; i < (sizeof (icmp_type) / sizeof(icmp_type[0])); 276 if (!strcmp(w, icmp_type[i].name)) 277 return (&icmp_type[i]);
|
/netbsd-6-1-5-RELEASE/sbin/ping/ |
H A D | ping.c | 850 opack_icmp.icmp_type = ICMP_ECHOREPLY; 880 opack_icmp.icmp_type = ICMP_ECHO; 1009 if (icp->icmp_type == ICMP_ECHOREPLY 1465 switch (icp->icmp_type ) { 1656 (void)printf("Bad ICMP type: %d", icp->icmp_type); 1766 if (icp2.icmp_type == ICMP_ECHO) {
|
/netbsd-6-1-5-RELEASE/regress/sys/net/frag/ |
H A D | ip4_frag_1.c | 121 icmp->icmp_type = ICMP_ECHO;
|
/netbsd-6-1-5-RELEASE/tests/net/config/ |
H A D | netconfig.c | 227 icmp.icmp_type = ICMP_ECHO;
|
/netbsd-6-1-5-RELEASE/dist/ipf/lib/ |
H A D | ipft_tx.c | 298 ic->icmp_type = i;
|
/netbsd-6-1-5-RELEASE/usr.bin/netstat/ |
H A D | inet.c | 664 printf("\t\t%s: %" PRIu64 "\n", icmp_type[i], 679 printf("\t\t%s: %" PRIu64 "\n", icmp_type[i],
|
/netbsd-6-1-5-RELEASE/sys/dist/ipf/netinet/ |
H A D | ip_state.c | 1265 switch (ic->icmp_type) 1268 is->is_icmp.ici_type = ic->icmp_type; 1275 is->is_icmp.ici_type = ic->icmp_type; 1286 switch (ic->icmp_type) 1292 is->is_icmp.ici_type = ic->icmp_type; 2335 type = ic->icmp_type; 2657 if ((ic->icmp_type == ICMP6_ECHO_REQUEST) || 2658 (ic->icmp_type == ICMP6_ECHO_REPLY)) {
|