Searched refs:icmp_code (Results 1 – 12 of 12) sorted by relevance
/Linux-v5.4/net/netfilter/ |
D | nft_reject_inet.c | 27 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()
|
D | nft_reject.c | 51 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/ |
D | nft_reject_bridge.c | 309 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()
|
D | ebt_ip.c | 92 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/ |
D | nft_reject.h | 12 u8 icmp_code; member
|
/Linux-v5.4/include/uapi/linux/netfilter_bridge/ |
D | ebt_ip.h | 50 __u8 icmp_code[2]; member
|
/Linux-v5.4/net/ipv4/netfilter/ |
D | nft_reject_ipv4.c | 27 nf_send_unreach(pkt->skb, priv->icmp_code, nft_hook(pkt)); in nft_reject_ipv4_eval()
|
/Linux-v5.4/net/ipv6/netfilter/ |
D | nft_reject_ipv6.c | 27 nf_send_unreach6(nft_net(pkt), pkt->skb, priv->icmp_code, in nft_reject_ipv6_eval()
|
/Linux-v5.4/include/uapi/linux/ |
D | openvswitch.h | 439 __u8 icmp_code; member
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
D | dr_ste.c | 975 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/ |
D | flow_netlink.c | 1680 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/ |
D | mlx5_ifc.h | 599 u8 icmp_code[0x8]; member
|