| /freebsd-14.2/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 402 #define ni_type icmp6_ni_hdr.icmp6_type 482 #define rr_type rr_hdr.icmp6_type
|
| /freebsd-14.2/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 425 #define rr_type rr_hdr.icmp6_type 1011 uint8_t icmp6_type, icmp6_code; in icmp6_print() local 1046 icmp6_type = GET_U_1(dp->icmp6_type); in icmp6_print() [all …]
|
| /freebsd-14.2/sys/netpfil/ipfw/nat64/ |
| H A D | nat64_translate.c | 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() 1462 icmp6->icmp6_type, icmp6->icmp6_code); in nat64_handle_icmp6() 1650 icmp6->icmp6_type != ICMP6_ECHO_REPLY) in nat64_do_handle_ip6() 1702 icmp6->icmp6_type = ICMP_ECHO; in nat64_do_handle_ip6() [all …]
|
| H A D | nat64clat.c | 164 switch (icmp6->icmp6_type) { in nat64clat_handle_icmp6()
|
| H A D | nat64stl.c | 164 switch (icmp6->icmp6_type) { in nat64stl_handle_icmp6()
|
| H A D | nat64lsn.c | 1516 if (icmp6->icmp6_type == ICMP6_ECHO_REQUEST || in nat64lsn_translate6() 1517 icmp6->icmp6_type == ICMP6_ECHO_REPLY) in nat64lsn_translate6()
|
| /freebsd-14.2/sys/netinet6/ |
| H A D | icmp6.c | 341 if (icp->icmp6_type < ICMP6_ECHO_REQUEST || in icmp6_error() 342 icp->icmp6_type == ND_REDIRECT) { in icmp6_error() 383 icmp6->icmp6_type = type; in icmp6_error() 405 switch (icmp6->icmp6_type) { in icmp6_errmap() 506 icmp6->icmp6_type, sum, in icmp6_input() 514 if (icmp6->icmp6_type < ICMP6_INFOMSG_MASK) in icmp6_input() 518 switch (icmp6->icmp6_type) { in icmp6_input() 614 nicmp6->icmp6_type = ICMP6_ECHO_REPLY; in icmp6_input() 744 nicmp6->icmp6_type = ICMP6_WRUREPLY; in icmp6_input() 882 if (icmp6->icmp6_type < ICMP6_ECHO_REQUEST) { in icmp6_input() [all …]
|
| H A D | send.c | 154 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 | 437 type = icmp6->icmp6_type; in rip6_send()
|
| /freebsd-14.2/sbin/ipf/libipf/ |
| H A D | ipft_tx.c | 470 ic6->icmp6_type = geticmptype(AF_INET6, *cpp); in parseipv6() 474 if (ic6->icmp6_type == ICMP6_ECHO_REQUEST || in parseipv6() 475 ic6->icmp6_type == ICMP6_ECHO_REPLY) in parseipv6()
|
| /freebsd-14.2/sys/netpfil/ipfw/ |
| H A D | ip_fw2.c | 847 is_icmp6_query(int icmp6_type) in is_icmp6_query() argument 849 if ((icmp6_type <= ICMP6_MAXTYPE) && in is_icmp6_query() 850 (icmp6_type == ICMP6_ECHO_REQUEST || in is_icmp6_query() 851 icmp6_type == ICMP6_MEMBERSHIP_QUERY || in is_icmp6_query() 852 icmp6_type == ICMP6_WRUREQUEST || in is_icmp6_query() 853 icmp6_type == ICMP6_FQDN_QUERY || in is_icmp6_query() 854 icmp6_type == ICMP6_NI_QUERY)) in is_icmp6_query() 1451 uint8_t icmp6_type = 0; in ipfw_chk() local 1565 icmp6_type = ICMP6(ulp)->icmp6_type; in ipfw_chk() 2327 ICMP6(ulp)->icmp6_type, in ipfw_chk() [all …]
|
| H A D | ip_fw_log.c | 383 icmp6->icmp6_type, icmp6->icmp6_code); in ipfw_log()
|
| /freebsd-14.2/sbin/ping/ |
| H A D | ping6.c | 1325 icp->icmp6_type = ICMP6_NI_QUERY; in pinger() 1342 icp->icmp6_type = ICMP6_NI_QUERY; in pinger() 1357 icp->icmp6_type = ICMP6_NI_QUERY; in pinger() 1374 icp->icmp6_type = ICMP6_NI_QUERY; in pinger() 1388 icp->icmp6_type = ICMP6_ECHO_REQUEST; in pinger() 1593 if (icp->icmp6_type == ICMP6_ECHO_REPLY && myechoreply(icp)) { in pr_pack() 1662 } else if (icp->icmp6_type == ICMP6_NI_REPLY && mynireply(ni)) { in pr_pack() 2290 switch (icp->icmp6_type) { in pr_icmph() 2503 (void)printf("Bad ICMP type: %d", icp->icmp6_type); in pr_icmph()
|
| /freebsd-14.2/contrib/wpa/src/ap/ |
| H A D | ndisc_snoop.c | 111 switch (msg->icmp6h.icmp6_type) { in handle_ndisc()
|
| /freebsd-14.2/sbin/pfctl/ |
| H A D | pfctl_parser.c | 110 static const struct icmptypeent icmp6_type[] = { variable 240 for (i=0; i < nitems(icmp6_type); i++) { in geticmptypebynumber() 241 if (type == icmp6_type[i].type) in geticmptypebynumber() 242 return (&icmp6_type[i]); in geticmptypebynumber() 259 for (i=0; i < nitems(icmp6_type); i++) { in geticmptypebyname() 260 if (!strcmp(w, icmp6_type[i].name)) in geticmptypebyname() 261 return (&icmp6_type[i]); in geticmptypebyname()
|
| /freebsd-14.2/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-14.2/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-14.2/sys/netpfil/ipfw/nptv6/ |
| H A D | nptv6.c | 148 NPTV6_DEBUG("ICMPv6 type %d", icmp6->icmp6_type); in nptv6_translate_icmpv6() 149 switch (icmp6->icmp6_type) { in nptv6_translate_icmpv6()
|
| /freebsd-14.2/usr.sbin/traceroute6/ |
| H A D | traceroute6.c | 1139 icp->icmp6_type = ICMP6_ECHO_REQUEST; in send_probe() 1403 *type = icp->icmp6_type; in packet_ok()
|
| /freebsd-14.2/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 | 1372 type = icmp6->icmp6_type; in ipf_nat6_icmperrorlookup() 1437 if (ipf_nat6_icmpquerytype(orgicmp->icmp6_type)) { in ipf_nat6_icmperrorlookup() 2614 if (icmp6->icmp6_type > ICMP6_ECHO_REPLY) in ipf_nat6_checkout() 3004 if (icmp6->icmp6_type > ICMP6_ECHO_REPLY) in ipf_nat6_checkin()
|
| H A D | ip_state.c | 4384 type = ic6->icmp6_type; in ipf_checkicmp6matchingstate() 4436 if (!(oic->icmp6_type & ICMP6_INFOMSG_MASK)) { in ipf_checkicmp6matchingstate() 4471 (oic->icmp6_type == ICMP6_ECHO_REQUEST)) || in ipf_checkicmp6matchingstate() 4472 (ic->ici_type - 1 == oic->icmp6_type )) { in ipf_checkicmp6matchingstate()
|
| /freebsd-14.2/usr.sbin/rtadvd/ |
| H A D | rtadvd.c | 798 switch (icp->icmp6_type) { in rtadvd_input() 897 syslog(LOG_ERR, "invalid icmp type(%d)", icp->icmp6_type); in rtadvd_input()
|
| /freebsd-14.2/sys/netipsec/ |
| H A D | ipsec.c | 724 spidx->src.sin6.sin6_port = htons((uint16_t)ih.icmp6_type); in ipsec6_get_ulp()
|