Home
last modified time | relevance | path

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

/linux-6.3-rc2/net/netfilter/
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()
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()
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-6.3-rc2/net/bridge/netfilter/
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()
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-6.3-rc2/include/net/netfilter/
A Dnft_reject.h12 u8 icmp_code; member
/linux-6.3-rc2/include/uapi/linux/netfilter_bridge/
A Debt_ip.h50 __u8 icmp_code[2]; member
/linux-6.3-rc2/net/ipv6/netfilter/
A Dnft_reject_ipv6.c27 nf_send_unreach6(nft_net(pkt), pkt->skb, priv->icmp_code, in nft_reject_ipv6_eval()
/linux-6.3-rc2/net/ipv4/netfilter/
A Dnft_reject_ipv4.c27 nf_send_unreach(pkt->skb, priv->icmp_code, nft_hook(pkt)); in nft_reject_ipv4_eval()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/steering/
A Ddr_ste_v1.c1705 u8 *icmp_code; in dr_ste_v1_build_icmp_tag() local
1710 icmp_code = &misc3->icmpv4_code; in dr_ste_v1_build_icmp_tag()
1714 icmp_code = &misc3->icmpv6_code; in dr_ste_v1_build_icmp_tag()
1719 MLX5_SET(ste_icmp_v1, tag, icmp_code, *icmp_code); in dr_ste_v1_build_icmp_tag()
1723 *icmp_code = 0; in dr_ste_v1_build_icmp_tag()
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()
A Dmlx5_ifc_dr_ste_v1.h463 u8 icmp_code[0x8]; member
A Ddr_ste.c913 spec->icmpv4_code = IFC_GET_CLR(fte_match_set_misc3, mask, icmp_code, clr); in dr_ste_copy_mask_misc3()
/linux-6.3-rc2/include/uapi/linux/
A Dopenvswitch.h483 __u8 icmp_code; member
/linux-6.3-rc2/net/openvswitch/
A Dflow_netlink.c1718 htons(icmp_key->icmp_code), is_mask); in ovs_key_from_nlattrs()
2220 icmp_key->icmp_code = ntohs(output->tp.dst); in __ovs_nla_put_key()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/
A Den_tc.c3088 MLX5_SET(fte_match_set_misc3, misc_c_3, icmp_code, in __parse_cls_flower()
3090 MLX5_SET(fte_match_set_misc3, misc_v_3, icmp_code, in __parse_cls_flower()
/linux-6.3-rc2/include/linux/mlx5/
A Dmlx5_ifc.h678 u8 icmp_code[0x8]; member

Completed in 117 milliseconds