Searched refs:icmp_code (Results 1 - 25 of 26) sorted by relevance

12

/netbsd-current/external/bsd/tcpdump/dist/
H A Dprint-icmp.c57 nd_uint8_t icmp_code; /* type sub code */ member in struct:icmp
257 nd_uint8_t icmp_code; member in struct:icmp_ext_t
325 uint8_t icmp_type, icmp_code; local
347 icmp_code = GET_U_1(dp->icmp_code);
360 switch (icmp_code) {
500 icmp_code);
506 switch (icmp_code) {
538 "redirect-#%u %s to %s", icmp_code,
599 switch (icmp_code) {
[all...]
/netbsd-current/external/bsd/ipf/dist/ipsend/
H A Diptests.c630 icp->icmp_code = i;
642 icp->icmp_code = 0;
646 icp->icmp_code = 127;
650 icp->icmp_code = 128;
654 icp->icmp_code = 255;
665 icp->icmp_code = 0;
669 icp->icmp_code = 127;
673 icp->icmp_code = 128;
677 icp->icmp_code = 255;
689 icp->icmp_code
[all...]
H A Dipsend.c117 ic->icmp_code = atoi(s);
/netbsd-current/external/mpl/dhcp/dist/includes/netinet/
H A Dip_icmp.h55 u_int8_t icmp_code; /* type sub code */ member in struct:icmp
/netbsd-current/external/bsd/ipf/dist/ipsd/Celler/
H A Dip_compat.h118 # define icmp_code code macro
/netbsd-current/sys/netinet/
H A Dip_icmp.h55 uint8_t icmp_code; /* type sub code */ member in struct:icmp
H A Dip_icmp.c350 * Fill in the fields of the ICMP header: icmp_type, icmp_code
369 icp->icmp_code = code;
456 code = icp->icmp_code;
H A Dsctp_usrreq.c267 if (icmph->icmp_code != ICMP_UNREACH_NEEDFRAG) {
/netbsd-current/dist/pf/sbin/pfctl/
H A Dpfctl_parser.c159 static const struct icmpcodeent icmp_code[] = { variable in typeref:struct:icmpcodeent
295 for (i=0; i < (sizeof (icmp_code) / sizeof(icmp_code[0]));
297 if (type == icmp_code[i].type &&
298 code == icmp_code[i].code)
299 return (&icmp_code[i]);
318 for (i=0; i < (sizeof (icmp_code) / sizeof(icmp_code[0]));
320 if (type == icmp_code[i].type &&
321 !strcmp(w, icmp_code[
[all...]
/netbsd-current/sbin/ping/
H A Dping.c901 opack_icmp.icmp_code = 0;
1562 switch (icp->icmp_code) {
1614 icp->icmp_code);
1631 switch (icp->icmp_code) {
1645 (void)printf("Redirect--Bad Code: %d", icp->icmp_code);
1687 switch (icp->icmp_code ) {
1696 icp->icmp_code);
/netbsd-current/regress/sys/net/frag/
H A Dip4_frag_1.c122 icmp->icmp_code = 0;
/netbsd-current/sbin/routed/
H A Drdisc.c53 u_int8_t icmp_code; /* type sub code */ member in struct:icmp_ad
67 u_int8_t icmp_code; /* type sub code */ member in struct:icmp_so
932 if (p->icmp.icmp_code != 0) {
934 type, p->icmp.icmp_code,
/netbsd-current/usr.sbin/timed/timed/
H A Dmeasure.c131 oicp.icmp_code = 0;
/netbsd-current/external/mpl/dhcp/dist/common/
H A Dicmp.c157 icmp.icmp_code = 0;
/netbsd-current/sys/netmpls/
H A Dmpls_ttl.c278 icp->icmp_code = code;
/netbsd-current/usr.sbin/npf/npfctl/
H A Dnpf_build.c365 int *icmp_type, *icmp_code; local
369 icmp_code = npfvar_get_data(popts, NPFVAR_ICMP, 1);
370 npfctl_bpf_icmp(ctx, *icmp_type, *icmp_code);
H A Dnpf_bpf_comp.c698 const u_int code_off = offsetof(struct icmp, icmp_code);
/netbsd-current/external/bsd/ipf/dist/lib/
H A Dipft_tx.c307 ic->icmp_code = atoi(t + 1);
/netbsd-current/external/bsd/ipf/dist/iplang/
H A Diplang_y.y1509 icmp->icmp_code = code;
1528 icmp->icmp_code = i;
1605 icmp->icmp_code = redir;
/netbsd-current/external/bsd/ipf/dist/tools/
H A Dipmon.c1261 icmpname6(ic.icmp_type, ic.icmp_code));
1269 icmpname(ic.icmp_type, ic.icmp_code));
1314 icmp.icmp_type, icmp.icmp_code);
/netbsd-current/usr.sbin/traceroute/
H A Dtraceroute.c1434 code = icp->icmp_code;
1487 inet_ntoa(ip->ip_dst), type, pr_type(type), icp->icmp_code);
/netbsd-current/sys/kern/
H A Duipc_mbufdebug.c643 (*pr)("ICMP: Code = %d\n", icmphdr.icmp_code);
/netbsd-current/sys/netipsec/
H A Dipsec.c935 htons((uint16_t)icmph.icmp_code);
/netbsd-current/sys/external/bsd/ipf/netinet/
H A Dip_fil_netbsd.c1031 icmp->icmp_code = fin->fin_icode;
/netbsd-current/sys/dist/pf/net/
H A Dpf.c3117 icmpcode = pd->hdr.icmp->icmp_code;
4638 icmptype, pd->hdr.icmp->icmp_code);

Completed in 209 milliseconds

12