Home
last modified time | relevance | path

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

/Linux-v5.4/net/netfilter/
Dnft_reject_inet.c27 nf_send_unreach(pkt->skb, priv->icmp_code, in nft_reject_inet_eval()
35 nft_reject_icmp_code(priv->icmp_code), in nft_reject_inet_eval()
44 priv->icmp_code, nft_hook(pkt)); in nft_reject_inet_eval()
51 nft_reject_icmpv6_code(priv->icmp_code), in nft_reject_inet_eval()
66 int icmp_code; in nft_reject_inet_init() local
78 icmp_code = nla_get_u8(tb[NFTA_REJECT_ICMP_CODE]); in nft_reject_inet_init()
80 icmp_code > NFT_REJECT_ICMPX_MAX) in nft_reject_inet_init()
83 priv->icmp_code = icmp_code; in nft_reject_inet_init()
104 if (nla_put_u8(skb, NFTA_REJECT_ICMP_CODE, priv->icmp_code)) in nft_reject_inet_dump()
Dnft_reject.c51 priv->icmp_code = nla_get_u8(tb[NFTA_REJECT_ICMP_CODE]); in nft_reject_init()
71 if (nla_put_u8(skb, NFTA_REJECT_ICMP_CODE, priv->icmp_code)) in nft_reject_dump()
/Linux-v5.4/net/bridge/netfilter/
Dnft_reject_bridge.c309 priv->icmp_code); in nft_reject_bridge_eval()
320 nft_reject_icmp_code(priv->icmp_code)); in nft_reject_bridge_eval()
330 priv->icmp_code); in nft_reject_bridge_eval()
341 nft_reject_icmpv6_code(priv->icmp_code)); in nft_reject_bridge_eval()
366 int icmp_code; in nft_reject_bridge_init() local
378 icmp_code = nla_get_u8(tb[NFTA_REJECT_ICMP_CODE]); in nft_reject_bridge_init()
380 icmp_code > NFT_REJECT_ICMPX_MAX) in nft_reject_bridge_init()
383 priv->icmp_code = icmp_code; in nft_reject_bridge_init()
404 if (nla_put_u8(skb, NFTA_REJECT_ICMP_CODE, priv->icmp_code)) in nft_reject_bridge_dump()
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()
/Linux-v5.4/include/net/netfilter/
Dnft_reject.h12 u8 icmp_code; member
/Linux-v5.4/include/uapi/linux/netfilter_bridge/
Debt_ip.h50 __u8 icmp_code[2]; member
/Linux-v5.4/net/ipv4/netfilter/
Dnft_reject_ipv4.c27 nf_send_unreach(pkt->skb, priv->icmp_code, nft_hook(pkt)); in nft_reject_ipv4_eval()
/Linux-v5.4/net/ipv6/netfilter/
Dnft_reject_ipv6.c27 nf_send_unreach6(nft_net(pkt), pkt->skb, priv->icmp_code, in nft_reject_ipv6_eval()
/Linux-v5.4/include/uapi/linux/
Dopenvswitch.h439 __u8 icmp_code; member
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_ste.c975 spec->icmpv4_code = MLX5_GET(fte_match_set_misc3, mask, icmp_code); in dr_ste_copy_mask_misc3()
1908 u32 icmp_code; in dr_ste_build_flex_parser_1_tag() local
1915 icmp_code = misc_3->icmpv4_code; in dr_ste_build_flex_parser_1_tag()
1921 icmp_code = misc_3->icmpv6_code; in dr_ste_build_flex_parser_1_tag()
1937 if (icmp_code) { in dr_ste_build_flex_parser_1_tag()
1941 cur_val | (icmp_code << ICMP_CODE_OFFSET_FIRST_DW)); in dr_ste_build_flex_parser_1_tag()
/Linux-v5.4/net/openvswitch/
Dflow_netlink.c1680 htons(icmp_key->icmp_code), is_mask); in ovs_key_from_nlattrs()
2169 icmp_key->icmp_code = ntohs(output->tp.dst); in __ovs_nla_put_key()
/Linux-v5.4/include/linux/mlx5/
Dmlx5_ifc.h599 u8 icmp_code[0x8]; member