Home
last modified time | relevance | path

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

/linux-6.1.9/net/netfilter/
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()
82 if (nla_put_u8(skb, NFTA_REJECT_ICMP_CODE, priv->icmp_code)) in nft_reject_dump()
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()
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.1.9/net/bridge/netfilter/
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()
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.1.9/include/net/netfilter/
Dnft_reject.h12 u8 icmp_code; member
/linux-6.1.9/include/uapi/linux/netfilter_bridge/
Debt_ip.h50 __u8 icmp_code[2]; member
/linux-6.1.9/net/ipv6/netfilter/
Dnft_reject_ipv6.c27 nf_send_unreach6(nft_net(pkt), pkt->skb, priv->icmp_code, in nft_reject_ipv6_eval()
/linux-6.1.9/net/ipv4/netfilter/
Dnft_reject_ipv4.c27 nf_send_unreach(pkt->skb, priv->icmp_code, nft_hook(pkt)); in nft_reject_ipv4_eval()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_ste_v1.c1637 u8 *icmp_code; in dr_ste_v1_build_icmp_tag() local
1642 icmp_code = &misc3->icmpv4_code; in dr_ste_v1_build_icmp_tag()
1646 icmp_code = &misc3->icmpv6_code; in dr_ste_v1_build_icmp_tag()
1651 MLX5_SET(ste_icmp_v1, tag, icmp_code, *icmp_code); in dr_ste_v1_build_icmp_tag()
1655 *icmp_code = 0; in dr_ste_v1_build_icmp_tag()
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()
Dmlx5_ifc_dr_ste_v1.h428 u8 icmp_code[0x8]; member
Ddr_ste.c897 spec->icmpv4_code = IFC_GET_CLR(fte_match_set_misc3, mask, icmp_code, clr); in dr_ste_copy_mask_misc3()
/linux-6.1.9/include/uapi/linux/
Dopenvswitch.h469 __u8 icmp_code; member
/linux-6.1.9/net/openvswitch/
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.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.c2937 MLX5_SET(fte_match_set_misc3, misc_c_3, icmp_code, in __parse_cls_flower()
2939 MLX5_SET(fte_match_set_misc3, misc_v_3, icmp_code, in __parse_cls_flower()
/linux-6.1.9/include/linux/mlx5/
Dmlx5_ifc.h666 u8 icmp_code[0x8]; member