Home
last modified time | relevance | path

Searched refs:icmp6_type (Results 1 – 21 of 21) sorted by relevance

/f-stack/tools/compat/include/netinet/
H A Dicmp6.h77 u_int8_t icmp6_type; /* type field */ member
202 #define mld_type mld_icmp6_hdr.icmp6_type
219 #define nd_rs_type nd_rs_hdr.icmp6_type
231 #define nd_ra_type nd_ra_hdr.icmp6_type
263 #define nd_ns_type nd_ns_hdr.icmp6_type
274 #define nd_na_type nd_na_hdr.icmp6_type
297 #define nd_rd_type nd_rd_hdr.icmp6_type
407 #define ni_type icmp6_ni_hdr.icmp6_type
487 #define rr_type rr_hdr.icmp6_type
/f-stack/freebsd/netinet/
H A Dicmp6.h73 u_int8_t icmp6_type; /* type field */ member
198 #define mld_type mld_icmp6_hdr.icmp6_type
215 #define nd_rs_type nd_rs_hdr.icmp6_type
227 #define nd_ra_type nd_ra_hdr.icmp6_type
259 #define nd_ns_type nd_ns_hdr.icmp6_type
270 #define nd_na_type nd_na_hdr.icmp6_type
293 #define nd_rd_type nd_rd_hdr.icmp6_type
403 #define ni_type icmp6_ni_hdr.icmp6_type
483 #define rr_type rr_hdr.icmp6_type
H A Dsctputil.c7384 type = ip6cp->ip6c_icmp6->icmp6_type; in sctp_recv_icmp6_tunneled_packet()
/f-stack/freebsd/netpfil/ipfw/nat64/
H A Dnat64_translate.c674 icmp6->icmp6_type == ND_REDIRECT) { in nat64_icmp6_reflect()
757 icmp6->icmp6_type = type; in nat64_icmp6_reflect()
886 icmp6->icmp6_type = type; in nat64_icmp_handle_echo()
1171 ICMP6(icmp)->icmp6_type = type; in nat64_icmp_translate()
1374 switch (icmp6->icmp6_type) { in nat64_handle_icmp6()
1391 " code %d", icmp6->icmp6_type, in nat64_handle_icmp6()
1403 " code %d", mtu, icmp6->icmp6_type, in nat64_handle_icmp6()
1467 icmp6->icmp6_type, icmp6->icmp6_code); in nat64_handle_icmp6()
1655 icmp6->icmp6_type != ICMP6_ECHO_REPLY) in nat64_do_handle_ip6()
1707 icmp6->icmp6_type = ICMP_ECHO; in nat64_do_handle_ip6()
[all …]
H A Dnat64clat.c166 switch (icmp6->icmp6_type) { in nat64clat_handle_icmp6()
H A Dnat64stl.c166 switch (icmp6->icmp6_type) { in nat64stl_handle_icmp6()
H A Dnat64lsn.c1518 if (icmp6->icmp6_type == ICMP6_ECHO_REQUEST || in nat64lsn_translate6()
1519 icmp6->icmp6_type == ICMP6_ECHO_REPLY) in nat64lsn_translate6()
/f-stack/freebsd/netinet6/
H A Dicmp6.c333 if (icp->icmp6_type < ICMP6_ECHO_REQUEST || in icmp6_error()
334 icp->icmp6_type == ND_REDIRECT) { in icmp6_error()
377 icmp6->icmp6_type = type; in icmp6_error()
454 icmp6->icmp6_type, sum, in icmp6_input()
460 ICMP6STAT_INC(icp6s_inhist[icmp6->icmp6_type]); in icmp6_input()
462 if (icmp6->icmp6_type < ICMP6_INFOMSG_MASK) in icmp6_input()
466 switch (icmp6->icmp6_type) { in icmp6_input()
589 nicmp6->icmp6_type = ICMP6_ECHO_REPLY; in icmp6_input()
719 nicmp6->icmp6_type = ICMP6_WRUREPLY; in icmp6_input()
857 if (icmp6->icmp6_type < ICMP6_ECHO_REQUEST) { in icmp6_input()
[all …]
H A Dsend.c151 switch (icmp6->icmp6_type) { in send_output()
H A Dsctp6_usrreq.c177 uint8_t icmp6_type, in sctp6_notify() argument
183 switch (icmp6_type) { in sctp6_notify()
375 ip6cp->ip6c_icmp6->icmp6_type, in sctp6_ctlinput()
H A Draw_ip6.c456 type = icmp6->icmp6_type; in rip6_output()
/f-stack/freebsd/netpfil/ipfw/
H A Dip_fw2.c849 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()
1420 uint8_t icmp6_type = 0; in ipfw_chk() local
1532 icmp6_type = ICMP6(ulp)->icmp6_type; in ipfw_chk()
2247 ICMP6(ulp)->icmp6_type, in ipfw_chk()
[all …]
H A Dip_fw_log.c375 icmp6->icmp6_type, icmp6->icmp6_code); in ipfw_log()
/f-stack/lib/
H A Dff_dpdk_kni.c343 if (hdr->icmp6_type >= ND_ROUTER_SOLICIT && hdr->icmp6_type <= ND_REDIRECT) in protocol_filter_icmp6()
/f-stack/freebsd/netpfil/ipfw/nptv6/
H A Dnptv6.c149 NPTV6_DEBUG("ICMPv6 type %d", icmp6->icmp6_type); in nptv6_translate_icmpv6()
150 switch (icmp6->icmp6_type) { in nptv6_translate_icmpv6()
/f-stack/freebsd/contrib/ipfilter/netinet/
H A Dip_log.c425 if (icmp->icmp6_type < 128) {
H A Dip_nat6.c1402 type = icmp6->icmp6_type;
1467 if (ipf_nat6_icmpquerytype(orgicmp->icmp6_type)) {
2654 if (icmp6->icmp6_type > ICMP6_ECHO_REPLY)
3052 if (icmp6->icmp6_type > ICMP6_ECHO_REPLY)
H A Dip_state.c4482 type = ic6->icmp6_type;
4534 if (!(oic->icmp6_type & ICMP6_INFOMSG_MASK)) {
4569 (oic->icmp6_type == ICMP6_ECHO_REQUEST)) ||
4570 (ic->ici_type - 1 == oic->icmp6_type )) {
H A Dfil.c908 if ((icmp6->icmp6_type & ICMP6_INFOMSG_MASK) != 0)
911 switch (icmp6->icmp6_type)
/f-stack/freebsd/netipsec/
H A Dipsec.c724 spidx->src.sin6.sin6_port = htons((uint16_t)ih.icmp6_type); in ipsec6_get_ulp()
/f-stack/freebsd/netpfil/pf/
H A Dpf.c3394 icmptype = pd->hdr.icmp6->icmp6_type; in pf_test_rule()
4719 icmptype = pd->hdr.icmp6->icmp6_type; in pf_test_state_icmp()