| /src/external/bsd/tcpdump/dist/ |
| print-icmp.c | 54 nd_uint8_t icmp_type; /* type of message, see below */ member in struct:icmp 254 nd_uint8_t icmp_type; member in struct:icmp_ext_t 323 uint8_t icmp_type, icmp_code; local 344 icmp_type = GET_U_1(dp->icmp_type); 346 switch (icmp_type) { 351 icmp_type == ICMP_ECHO ? 652 str = tok2str(icmp2str, "type-#%u", icmp_type); 676 if (ndo->ndo_vflag >= 1 && ICMP_ERRTYPE(icmp_type)) { 704 if (ndo->ndo_vflag >= 1 && plen > ICMP_EXTD_MINLEN && ICMP_MULTIPART_EXT_TYPE(icmp_type)) { [all...] |
| /src/sys/netinet/ |
| ip_icmp.h | 54 uint8_t icmp_type; /* type of message, see below */ member in struct:icmp 254 static const char *icmp_type[] = { variable
|
| ip_icmp.c | 282 if (!ICMP_INFOTYPE(oicp->icmp_type)) { 350 * Fill in the fields of the ICMP header: icmp_type, icmp_code 353 icp->icmp_type = type; 453 if (icp->icmp_type > ICMP_MAXTYPE) 455 ICMP_STATINC(ICMP_STAT_INHIST + icp->icmp_type); 458 switch (icp->icmp_type) { 555 icp->icmp_type = ICMP_ECHOREPLY; 568 icp->icmp_type = ICMP_TSTAMPREPLY; 603 icp->icmp_type = ICMP_MASKREPLY; 616 icps[ICMP_STAT_OUTHIST + icp->icmp_type]++ [all...] |
| /src/usr.sbin/npf/npfctl/ |
| npf_parse.y | 199 %type <num> maybe_not opt_stateful icmp_type table_type 915 : ICMPTYPE icmp_type 919 | ICMPTYPE icmp_type CODE number 923 | ICMPTYPE icmp_type CODE IDENTIFIER 928 | ICMPTYPE icmp_type CODE VAR_ID 958 icmp_type
|
| npf_data.c | 546 for (ul = 0; icmp_type[ul]; ul++) 547 if (strcmp(icmp_type[ul], type) == 0)
|
| npf_build.c | 397 int *icmp_type, *icmp_code; local 400 icmp_type = npfvar_get_data(popts, NPFVAR_ICMP, 0); 402 npfctl_bpf_icmp(ctx, *icmp_type, *icmp_code);
|
| npf_bpf_comp.c | 846 const u_int type_off = offsetof(struct icmp, icmp_type);
|
| /src/external/bsd/ipf/dist/ipsend/ |
| iptests.c | 612 icp->icmp_type = i; 617 icp->icmp_type = 255; 628 icp->icmp_type = 3; 641 icp->icmp_type = 4; 664 icp->icmp_type = 5; 688 icp->icmp_type = ict1[i]; 717 icp->icmp_type = 12; 747 icp->icmp_type = ict1[i]; 752 i * 4, icp->icmp_type); 757 i * 4 + 1, icp->icmp_type); [all...] |
| ipsend.c | 116 ic->icmp_type = atoi(args); 118 if (ic->icmp_type == ICMP_REDIRECT && strchr(s, ','))
|
| /src/sbin/routed/ |
| 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) {
|
| /src/usr.sbin/timed/timed/ |
| measure.c | 130 oicp.icmp_type = ICMP_TSTAMP; 210 if (icp.icmp_type != ICMP_TSTAMPREPLY
|
| /src/external/bsd/ipf/dist/lib/ |
| ipft_tx.c | 305 ic->icmp_type = geticmptype(AF_INET, *cpp); 310 if (ic->icmp_type == ICMP_ECHO || 311 ic->icmp_type == ICMP_ECHOREPLY)
|
| /src/external/bsd/ipf/dist/ipsd/Celler/ |
| ip_compat.h | 117 # define icmp_type type macro
|
| /src/sys/net/npf/ |
| npf_alg_icmp.c | 217 ret = npfa_icmp4_inspect(ic->icmp_type, enpc, &hasqid); 286 ret = npfa_icmp4_inspect(ic->icmp_type, &enpc, &hasqid);
|
| /src/sys/netmpls/ |
| mpls_ttl.c | 195 !ICMP_INFOTYPE(((struct icmp *)((char *)oip + oiplen))->icmp_type)) 261 icp->icmp_type = type;
|
| /src/tests/net/icmp/ |
| t_ping.c | 165 icmp->icmp_type = ICMP_ECHO; 407 icmp->icmp_type = ICMP_ECHO;
|
| /src/dist/pf/sbin/pfctl/ |
| 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]);
|
| /src/external/bsd/ipf/dist/tools/ |
| ipmon.c | 72 typedef struct icmp_type { struct 1261 icmpname6(ic.icmp_type, ic.icmp_code)); 1269 icmpname(ic.icmp_type, ic.icmp_code)); 1270 if (ic.icmp_type == ICMP_UNREACH || 1271 ic.icmp_type == ICMP_SOURCEQUENCH || 1272 ic.icmp_type == ICMP_PARAMPROB || 1273 ic.icmp_type == ICMP_REDIRECT || 1274 ic.icmp_type == ICMP_TIMXCEED) { 1314 icmp.icmp_type, icmp.icmp_code);
|
| /src/sbin/ping/ |
| ping.c | 912 opack_icmp.icmp_type = ICMP_ECHOREPLY; 942 opack_icmp.icmp_type = ICMP_ECHO; 1096 if (icp->icmp_type == ICMP_ECHOREPLY 1559 switch (icp->icmp_type ) { 1750 (void)printf("Bad ICMP type: %d", icp->icmp_type); 1861 if (icp2.icmp_type == ICMP_ECHO) {
|
| /src/tests/net/bpfilter/ |
| t_bpfilter.c | 81 sizeof(struct ip) + offsetof(struct icmp, icmp_type)), 195 icmp->icmp_type = ICMP_ECHO;
|
| /src/regress/sys/net/frag/ |
| ip4_frag_1.c | 121 icmp->icmp_type = ICMP_ECHO;
|
| /src/tests/net/config/ |
| netconfig.c | 217 icmp.icmp_type = ICMP_ECHO;
|
| /src/tests/net/net/ |
| t_pktinfo_send.c | 500 icmp.icmp_type = ICMP_ECHOREPLY; /* against confuse REQ with REPLY */ 531 icmp.icmp_type = ICMP_ECHOREPLY; /* against confuse REQ with REPLY */
|
| /src/external/apache2/mDNSResponder/dist/ServiceRegistration/ |
| route.h | 243 typedef enum icmp_type { enum
|
| /src/sys/kern/ |
| uipc_mbufdebug.c | 639 (*pr)("ICMP: Type = %u(", icmphdr.icmp_type); 640 switch (icmphdr.icmp_type) {
|