Home
last modified time | relevance | path

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

/linux/net/netfilter/
H A Dnft_reject.c42 int icmp_code; in nft_reject_init() local
54 icmp_code = nla_get_u8(tb[NFTA_REJECT_ICMP_CODE]); in nft_reject_init()
56 icmp_code > NFT_REJECT_ICMPX_MAX) in nft_reject_init()
59 priv->icmp_code = icmp_code; in nft_reject_init()
82 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()
/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()
/linux/include/net/netfilter/
H A Dnft_reject.h12 u8 icmp_code; member
/linux/include/uapi/linux/netfilter_bridge/
H A Debt_ip.h50 __u8 icmp_code[2]; member
/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()
/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()
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/
H A Ddr_ste_v1.c1621 u8 *icmp_code; in dr_ste_v1_build_icmp_tag() local
1626 icmp_code = &misc3->icmpv4_code; in dr_ste_v1_build_icmp_tag()
1630 icmp_code = &misc3->icmpv6_code; in dr_ste_v1_build_icmp_tag()
1635 MLX5_SET(ste_icmp_v1, tag, icmp_code, *icmp_code); in dr_ste_v1_build_icmp_tag()
1639 *icmp_code = 0; in dr_ste_v1_build_icmp_tag()
/linux/include/uapi/linux/
H A Dopenvswitch.h489 __u8 icmp_code; member
/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_npc_fs.c986 NPC_WRITE_FLOW(NPC_CODE_ICMP, icmp_code, pkt->icmp_code, 0, in npc_update_flow()
987 mask->icmp_code, 0); in npc_update_flow()
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_tc.c952 flow_spec->icmp_code = match.key->code; in otx2_tc_prepare_flow()
953 flow_mask->icmp_code = match.mask->code; in otx2_tc_prepare_flow()
/linux/net/openvswitch/
H A Dflow_netlink.c1697 htons(icmp_key->icmp_code), is_mask); in ovs_key_from_nlattrs()
2199 icmp_key->icmp_code = ntohs(output->tp.dst); in __ovs_nla_put_key()
/linux/include/linux/mlx5/
H A Dmlx5_ifc.h739 u8 icmp_code[0x8]; member