/freebsd/sys/netinet/ |
H A D | icmp6.h | 72 u_int8_t icmp6_type; /* type field */ member 197 #define mld_type mld_icmp6_hdr.icmp6_type 214 #define nd_rs_type nd_rs_hdr.icmp6_type 226 #define nd_ra_type nd_ra_hdr.icmp6_type 258 #define nd_ns_type nd_ns_hdr.icmp6_type 269 #define nd_na_type nd_na_hdr.icmp6_type 292 #define nd_rd_type nd_rd_hdr.icmp6_type 411 #define ni_type icmp6_ni_hdr.icmp6_type 491 #define rr_type rr_hdr.icmp6_type
|
/freebsd/contrib/tcpdump/ |
H A D | print-icmp6.c | 75 nd_uint8_t icmp6_type; /* type field */ member 180 #define mld6_type mld6_hdr.icmp6_type 198 #define nd_rs_type nd_rs_hdr.icmp6_type 210 #define nd_ra_type nd_ra_hdr.icmp6_type 239 #define nd_ns_type nd_ns_hdr.icmp6_type 250 #define nd_na_type nd_na_hdr.icmp6_type 266 #define nd_rd_type nd_rd_hdr.icmp6_type 382 #define ni_type icmp6_ni_hdr.icmp6_type 425 #define rr_type rr_hdr.icmp6_type 1011 uint8_t icmp6_type, icmp6_code; in icmp6_print() local [all …]
|
/freebsd/sys/netpfil/ipfw/nat64/ |
H A D | nat64_translate.c | 667 if (icmp6->icmp6_type < ICMP6_ECHO_REQUEST || in nat64_icmp6_reflect() 668 icmp6->icmp6_type == ND_REDIRECT) { in nat64_icmp6_reflect() 751 icmp6->icmp6_type = type; in nat64_icmp6_reflect() 881 icmp6->icmp6_type = type; in nat64_icmp_handle_echo() 1166 ICMP6(icmp)->icmp6_type = type; in nat64_icmp_translate() 1369 switch (icmp6->icmp6_type) { in nat64_handle_icmp6() 1386 " code %d", icmp6->icmp6_type, in nat64_handle_icmp6() 1398 " code %d", mtu, icmp6->icmp6_type, in nat64_handle_icmp6() 1443 " code %d, pptr %d", icmp6->icmp6_type, in nat64_handle_icmp6() 1454 " code %d, pptr %d", icmp6->icmp6_type, in nat64_handle_icmp6() [all …]
|
H A D | nat64clat.c | 163 switch (icmp6->icmp6_type) { in nat64clat_handle_icmp6()
|
H A D | nat64stl.c | 163 switch (icmp6->icmp6_type) { in nat64stl_handle_icmp6()
|
H A D | nat64lsn.c | 1666 if (icmp6->icmp6_type == ICMP6_ECHO_REQUEST || in nat64lsn_translate6() 1667 icmp6->icmp6_type == ICMP6_ECHO_REPLY) in nat64lsn_translate6()
|
/freebsd/sys/netinet6/ |
H A D | icmp6.c | 342 if (icp->icmp6_type < ICMP6_ECHO_REQUEST || in icmp6_error() 343 icp->icmp6_type == ND_REDIRECT) { in icmp6_error() 384 icmp6->icmp6_type = type; in icmp6_error() 406 switch (icmp6->icmp6_type) { in icmp6_errmap() 507 icmp6->icmp6_type, sum, in icmp6_input() 513 ICMP6STAT_INC2(icp6s_inhist, icmp6->icmp6_type); in icmp6_input() 515 if (icmp6->icmp6_type < ICMP6_INFOMSG_MASK) in icmp6_input() 519 switch (icmp6->icmp6_type) { in icmp6_input() 615 nicmp6->icmp6_type = ICMP6_ECHO_REPLY; in icmp6_input() 745 nicmp6->icmp6_type = ICMP6_WRUREPLY; in icmp6_input() [all …]
|
H A D | send.c | 153 switch (icmp6->icmp6_type) { in send_output()
|
H A D | sctp6_usrreq.c | 174 uint8_t icmp6_type, in sctp6_notify() argument 180 switch (icmp6_type) { in sctp6_notify() 345 ip6cp->ip6c_icmp6->icmp6_type, in sctp6_ctlinput()
|
H A D | raw_ip6.c | 445 type = icmp6->icmp6_type; in rip6_send()
|
/freebsd/sbin/ipf/libipf/ |
H A D | ipft_tx.c | 468 ic6->icmp6_type = geticmptype(AF_INET6, *cpp); in parseipv6() 472 if (ic6->icmp6_type == ICMP6_ECHO_REQUEST || in parseipv6() 473 ic6->icmp6_type == ICMP6_ECHO_REPLY) in parseipv6()
|
/freebsd/sys/netpfil/ipfw/ |
H A D | ip_fw2.c | 849 is_icmp6_query(int icmp6_type) in is_icmp6_query() argument 851 if ((icmp6_type <= ICMP6_MAXTYPE) && in is_icmp6_query() 852 (icmp6_type == ICMP6_ECHO_REQUEST || in is_icmp6_query() 853 icmp6_type == ICMP6_MEMBERSHIP_QUERY || in is_icmp6_query() 854 icmp6_type == ICMP6_WRUREQUEST || in is_icmp6_query() 855 icmp6_type == ICMP6_FQDN_QUERY || in is_icmp6_query() 856 icmp6_type == ICMP6_NI_QUERY)) in is_icmp6_query() 1488 uint8_t icmp6_type = 0; in ipfw_chk() local 1605 icmp6_type = ICMP6(ulp)->icmp6_type; in ipfw_chk() 2401 ICMP6(ulp)->icmp6_type, in ipfw_chk() [all …]
|
H A D | ip_fw_log.c | 389 icmp6->icmp6_type, icmp6->icmp6_code); in ipfw_log_syslog()
|
/freebsd/sbin/ping/ |
H A D | ping6.c | 1312 icp->icmp6_type = ICMP6_NI_QUERY; in pinger() 1329 icp->icmp6_type = ICMP6_NI_QUERY; in pinger() 1344 icp->icmp6_type = ICMP6_NI_QUERY; in pinger() 1361 icp->icmp6_type = ICMP6_NI_QUERY; in pinger() 1375 icp->icmp6_type = ICMP6_ECHO_REQUEST; in pinger() 1580 if (icp->icmp6_type == ICMP6_ECHO_REPLY && myechoreply(icp)) { in pr_pack() 1649 } else if (icp->icmp6_type == ICMP6_NI_REPLY && mynireply(ni)) { in pr_pack() 2277 switch (icp->icmp6_type) { in pr_icmph() 2490 (void)printf("Bad ICMP type: %d", icp->icmp6_type); in pr_icmph()
|
/freebsd/contrib/wpa/src/ap/ |
H A D | ndisc_snoop.c | 111 switch (msg->icmp6h.icmp6_type) { in handle_ndisc()
|
/freebsd/sbin/pfctl/ |
H A D | pfctl_parser.c | 112 static const struct icmptypeent icmp6_type[] = { variable 242 for (i=0; i < nitems(icmp6_type); i++) { in geticmptypebynumber() 243 if (type == icmp6_type[i].type) in geticmptypebynumber() 244 return (&icmp6_type[i]); in geticmptypebynumber() 261 for (i=0; i < nitems(icmp6_type); i++) { in geticmptypebyname() 262 if (!strcmp(w, icmp6_type[i].name)) in geticmptypebyname() 263 return (&icmp6_type[i]); in geticmptypebyname()
|
/freebsd/usr.sbin/rtsold/ |
H A D | rtsol.c | 234 if (icp->icmp6_type != ND_ROUTER_ADVERT) { in rtsol_input() 240 "invalid icmp type(%d) from %s on %s", icp->icmp6_type, in rtsol_input()
|
/freebsd/usr.sbin/ppp/ |
H A D | ip.c | 325 sport = ih6->icmp6_type; in FilterCheck() 640 "ICMP: %s:%d ---> ", ncpaddr_ntoa(&srcaddr), icmp6h->icmp6_type); in PacketCheck()
|
/freebsd/sys/netpfil/ipfw/nptv6/ |
H A D | nptv6.c | 147 NPTV6_DEBUG("ICMPv6 type %d", icmp6->icmp6_type); in nptv6_translate_icmpv6() 148 switch (icmp6->icmp6_type) { in nptv6_translate_icmpv6()
|
/freebsd/usr.sbin/traceroute6/ |
H A D | traceroute6.c | 1125 icp->icmp6_type = ICMP6_ECHO_REQUEST; in send_probe() 1389 *type = icp->icmp6_type; in packet_ok()
|
/freebsd/sys/netpfil/ipfilter/netinet/ |
H A D | ip_log.c | 403 if (icmp->icmp6_type < 128) { in ipf_log_pkt()
|
H A D | ip_nat6.c | 1369 type = icmp6->icmp6_type; in ipf_nat6_icmperrorlookup() 1434 if (ipf_nat6_icmpquerytype(orgicmp->icmp6_type)) { in ipf_nat6_icmperrorlookup() 2611 if (icmp6->icmp6_type > ICMP6_ECHO_REPLY) in ipf_nat6_checkout() 3001 if (icmp6->icmp6_type > ICMP6_ECHO_REPLY) in ipf_nat6_checkin()
|
H A D | ip_state.c | 4380 type = ic6->icmp6_type; in ipf_checkicmp6matchingstate() 4432 if (!(oic->icmp6_type & ICMP6_INFOMSG_MASK)) { in ipf_checkicmp6matchingstate() 4467 (oic->icmp6_type == ICMP6_ECHO_REQUEST)) || in ipf_checkicmp6matchingstate() 4468 (ic->ici_type - 1 == oic->icmp6_type )) { in ipf_checkicmp6matchingstate()
|
/freebsd/usr.sbin/rtadvd/ |
H A D | rtadvd.c | 796 switch (icp->icmp6_type) { in rtadvd_input() 895 syslog(LOG_ERR, "invalid icmp type(%d)", icp->icmp6_type); in rtadvd_input()
|
/freebsd/tests/sys/netinet/ |
H A D | fibs_multibind_test.c | 439 icmp6.icmp6.icmp6_type = ICMP6_ECHO_REQUEST; in ping6()
|