Home
last modified time | relevance | path

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

/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.c102 priv->icmp_code); in nft_reject_netdev_eval()
113 nft_reject_icmp_code(priv->icmp_code)); in nft_reject_netdev_eval()
123 priv->icmp_code); in nft_reject_netdev_eval()
134 nft_reject_icmpv6_code(priv->icmp_code)); in nft_reject_netdev_eval()
/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()
/net/ipv4/netfilter/
Dnft_reject_ipv4.c27 nf_send_unreach(pkt->skb, priv->icmp_code, nft_hook(pkt)); in nft_reject_ipv4_eval()
/net/ipv6/netfilter/
Dnft_reject_ipv6.c27 nf_send_unreach6(nft_net(pkt), pkt->skb, priv->icmp_code, in nft_reject_ipv6_eval()
/net/openvswitch/
Dflow_netlink.c1698 htons(icmp_key->icmp_code), is_mask); in ovs_key_from_nlattrs()
2192 icmp_key->icmp_code = ntohs(output->tp.dst); in __ovs_nla_put_key()