Home
last modified time | relevance | path

Searched refs:icmp_type (Results 1 – 25 of 25) sorted by relevance

/f-stack/freebsd/netinet/
H A Dip_icmp.c243 oiphlen))->icmp_type)) { in icmp_error()
342 icp->icmp_type = type; in icmp_error()
456 printf("icmp_input, type %d code %d\n", icp->icmp_type, in icmp_input()
463 if (icp->icmp_type > ICMP_MAXTYPE) in icmp_input()
477 ICMPSTAT_INC(icps_inhist[icp->icmp_type]); in icmp_input()
479 switch (icp->icmp_type) { in icmp_input()
587 icp->icmp_type = ICMP_ECHOREPLY; in icmp_input()
604 icp->icmp_type = ICMP_TSTAMPREPLY; in icmp_input()
633 icp->icmp_type = ICMP_MASKREPLY; in icmp_input()
646 ICMPSTAT_INC(icps_outhist[icp->icmp_type]); in icmp_input()
H A Dip_icmp.h55 u_char icmp_type; /* type of message, see below */ member
66 u_char icmp_type; /* type of message, see below */ member
H A Dsctp_usrreq.c159 uint8_t icmp_type, in sctp_notify() argument
166 if (icmp_type != ICMP_UNREACH) { in sctp_notify()
329 icmp->icmp_type, in sctp_ctlinput()
H A Dsctputil.c7242 type = icmp->icmp_type; in sctp_recv_icmp_tunneled_packet()
/f-stack/tools/compat/include/netinet/
H A Dip_icmp.h55 u_char icmp_type; /* type of message, see below */ member
66 u_char icmp_type; /* type of message, see below */ member
/f-stack/dpdk/lib/librte_net/
H A Drte_icmp.h29 uint8_t icmp_type; /* ICMP packet type. */ member
/f-stack/dpdk/app/test-pmd/
H A Dicmpecho.c428 (icmp_h->icmp_type == RTE_IP_ICMP_ECHO_REQUEST) && in reply_to_icmp_echo_rqsts()
475 icmp_h->icmp_type = RTE_IP_ICMP_ECHO_REPLY; in reply_to_icmp_echo_rqsts()
H A Dcmdline_flow.c2480 hdr.icmp_type)),
/f-stack/freebsd/netpfil/ipfw/nat64/
H A Dnat64_translate.c815 if (!ICMP_INFOTYPE(icmp->icmp_type)) { in nat64_icmp_reflect()
861 icmp->icmp_type = type; in nat64_icmp_reflect()
925 switch (icmp->icmp_type) { in nat64_icmp_translate()
963 icmp->icmp_type, icmp->icmp_code); in nat64_icmp_translate()
1009 " code %d, pptr %d", icmp->icmp_type, in nat64_icmp_translate()
1016 " code %d, pptr %d", icmp->icmp_type, in nat64_icmp_translate()
1023 icmp->icmp_type, icmp->icmp_code); in nat64_icmp_translate()
1155 if (icmp->icmp_type != ICMP_ECHO) { in nat64_icmp_translate()
H A Dnat64lsn.c432 switch (icmp->icmp_type) { in inspect_icmp_mbuf()
475 if (icmp->icmp_type != ICMP_ECHO) in inspect_icmp_mbuf()
/f-stack/freebsd/netinet/libalias/
H A Dalias.c364 if (ic2->icmp_type == ICMP_ECHO || ic2->icmp_type == ICMP_TSTAMP) in IcmpAliasIn2()
454 switch (ic->icmp_type) { in IcmpAliasIn()
552 if (ic2->icmp_type == ICMP_ECHO || ic2->icmp_type == ICMP_TSTAMP) in IcmpAliasOut2()
638 switch (ic->icmp_type) { in IcmpAliasOut()
/f-stack/freebsd/netpfil/ipfw/
H A Dip_fw_log.c363 icmp->icmp_type, icmp->icmp_code); in ipfw_log()
H A Dip_fw2.c262 int type = icmp->icmp_type; in icmptype_match()
273 int type = icmp->icmp_type; in is_icmp_query()
/f-stack/dpdk/drivers/net/dpaa2/
H A Ddpaa2_flow.c124 .hdr.icmp_type = 0xff,
1833 if (mask->hdr.icmp_type) { in dpaa2_configure_flow_icmp()
1880 &spec->hdr.icmp_type, in dpaa2_configure_flow_icmp()
1881 &mask->hdr.icmp_type, in dpaa2_configure_flow_icmp()
1893 &spec->hdr.icmp_type, in dpaa2_configure_flow_icmp()
1894 &mask->hdr.icmp_type, in dpaa2_configure_flow_icmp()
/f-stack/freebsd/contrib/ipfilter/netinet/
H A Dip_state.c1521 switch (ic->icmp_type)
1530 is->is_icmp.ici_type = ic->icmp_type;
1541 switch (ic->icmp_type)
1547 is->is_icmp.ici_type = ic->icmp_type;
2706 type = ic->icmp_type;
3091 if ((ic->icmp_type == ICMP6_ECHO_REQUEST) ||
3092 (ic->icmp_type == ICMP6_ECHO_REPLY)) {
H A Dip_log.c398 switch (icmp->icmp_type)
H A Dfil.c1224 switch (icmp->icmp_type)
4396 if ((!rev && (icmp->icmp_type == ictype)) ||
4397 (rev && (icmpreplytype4[ictype] == icmp->icmp_type))) {
4398 if (icmp->icmp_type != ICMP_ECHOREPLY)
4406 if ((!rev && (icmp->icmp_type == ictype)) ||
4407 (rev && (icmpreplytype6[ictype] == icmp->icmp_type))) {
4408 if (icmp->icmp_type != ICMP6_ECHO_REPLY)
H A Dip_fil_freebsd.c632 icmp->icmp_type = type;
H A Dip_nat.c3627 type = icmp->icmp_type;
3694 if (ipf_nat_icmpquerytype(orgicmp->icmp_type)) {
/f-stack/dpdk/lib/librte_ethdev/
H A Drte_flow.h863 .icmp_type = 0xff,
/f-stack/dpdk/drivers/net/mlx5/
H A Dmlx5_flow_dv.c7762 MLX5_SET(fte_match_set_misc3, misc3_m, icmp_type, in flow_dv_translate_item_icmp()
7763 icmp_m->hdr.icmp_type); in flow_dv_translate_item_icmp()
7764 MLX5_SET(fte_match_set_misc3, misc3_v, icmp_type, in flow_dv_translate_item_icmp()
7765 icmp_v->hdr.icmp_type & icmp_m->hdr.icmp_type); in flow_dv_translate_item_icmp()
H A Dmlx5_flow.c1749 .hdr.icmp_type = 0xff, in mlx5_flow_validate_item_icmp()
/f-stack/dpdk/drivers/common/mlx5/
H A Dmlx5_prm.h786 u8 icmp_type[0x8]; member
/f-stack/dpdk/drivers/net/hinic/
H A Dhinic_pmd_flow.c670 icmp_mask->hdr.icmp_type || in hinic_ntuple_item_check_l4()
/f-stack/freebsd/netpfil/pf/
H A Dpf.c3377 icmptype = pd->hdr.icmp->icmp_type; in pf_test_rule()
4704 icmptype = pd->hdr.icmp->icmp_type; in pf_test_state_icmp()