Home
last modified time | relevance | path

Searched refs:icmp_code (Results 1 – 17 of 17) sorted by relevance

/openbmc/linux/net/netfilter/
H A Dnft_reject.c43 int icmp_code; in nft_reject_init() local
55 icmp_code = nla_get_u8(tb[NFTA_REJECT_ICMP_CODE]); in nft_reject_init()
57 icmp_code > NFT_REJECT_ICMPX_MAX) in nft_reject_init()
60 priv->icmp_code = icmp_code; in nft_reject_init()
83 if (nla_put_u8(skb, NFTA_REJECT_ICMP_CODE, priv->icmp_code)) in nft_reject_dump()
H A Dnft_reject_inet.c27 nf_send_unreach(pkt->skb, priv->icmp_code, in nft_reject_inet_eval()
36 nft_reject_icmp_code(priv->icmp_code), in nft_reject_inet_eval()
45 priv->icmp_code, nft_hook(pkt)); in nft_reject_inet_eval()
53 nft_reject_icmpv6_code(priv->icmp_code), in nft_reject_inet_eval()
H A Dnft_reject_netdev.c103 priv->icmp_code); in nft_reject_netdev_eval()
114 nft_reject_icmp_code(priv->icmp_code)); in nft_reject_netdev_eval()
124 priv->icmp_code); in nft_reject_netdev_eval()
135 nft_reject_icmpv6_code(priv->icmp_code)); in nft_reject_netdev_eval()
/openbmc/linux/net/bridge/netfilter/
H A Debt_ip.c92 pptr->icmphdr.code < info->icmp_code[0] || in ebt_ip_mt()
93 pptr->icmphdr.code > info->icmp_code[1])) in ebt_ip_mt()
133 info->icmp_code[0] > info->icmp_code[1]) in ebt_ip_mt_check()
H A Dnft_reject_bridge.c128 priv->icmp_code); in nft_reject_bridge_eval()
139 nft_reject_icmp_code(priv->icmp_code)); in nft_reject_bridge_eval()
149 priv->icmp_code); in nft_reject_bridge_eval()
160 nft_reject_icmpv6_code(priv->icmp_code)); in nft_reject_bridge_eval()
/openbmc/linux/include/net/netfilter/
H A Dnft_reject.h12 u8 icmp_code; member
/openbmc/linux/include/uapi/linux/netfilter_bridge/
H A Debt_ip.h50 __u8 icmp_code[2]; member
/openbmc/linux/net/ipv4/netfilter/
H A Dnft_reject_ipv4.c27 nf_send_unreach(pkt->skb, priv->icmp_code, nft_hook(pkt)); in nft_reject_ipv4_eval()
/openbmc/linux/net/ipv6/netfilter/
H A Dnft_reject_ipv6.c27 nf_send_unreach6(nft_net(pkt), pkt->skb, priv->icmp_code, in nft_reject_ipv6_eval()
/openbmc/linux/include/uapi/linux/
H A Dopenvswitch.h483 __u8 icmp_code; member
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/
H A Ddr_ste_v1.c1757 u8 *icmp_code; in dr_ste_v1_build_icmp_tag() local
1762 icmp_code = &misc3->icmpv4_code; in dr_ste_v1_build_icmp_tag()
1766 icmp_code = &misc3->icmpv6_code; in dr_ste_v1_build_icmp_tag()
1771 MLX5_SET(ste_icmp_v1, tag, icmp_code, *icmp_code); in dr_ste_v1_build_icmp_tag()
1775 *icmp_code = 0; in dr_ste_v1_build_icmp_tag()
H A Ddr_ste_v0.c1414 u8 *icmp_code; in dr_ste_v0_build_icmp_tag() local
1422 icmp_code = &misc_3->icmpv4_code; in dr_ste_v0_build_icmp_tag()
1428 icmp_code = &misc_3->icmpv6_code; in dr_ste_v0_build_icmp_tag()
1435 (*icmp_code << ICMP_CODE_OFFSET_FIRST_DW); in dr_ste_v0_build_icmp_tag()
1437 *icmp_code = 0; in dr_ste_v0_build_icmp_tag()
H A Dmlx5_ifc_dr_ste_v1.h463 u8 icmp_code[0x8]; member
H A Ddr_ste.c971 spec->icmpv4_code = IFC_GET_CLR(fte_match_set_misc3, mask, icmp_code, clr); in dr_ste_copy_mask_misc3()
/openbmc/linux/net/openvswitch/
H A Dflow_netlink.c1721 htons(icmp_key->icmp_code), is_mask); in ovs_key_from_nlattrs()
2223 icmp_key->icmp_code = ntohs(output->tp.dst); in __ovs_nla_put_key()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_tc.c2985 MLX5_SET(fte_match_set_misc3, misc_c_3, icmp_code, in __parse_cls_flower()
2987 MLX5_SET(fte_match_set_misc3, misc_v_3, icmp_code, in __parse_cls_flower()
/openbmc/linux/include/linux/mlx5/
H A Dmlx5_ifc.h692 u8 icmp_code[0x8]; member