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

/linux-4.1.27/net/netfilter/
H A Dnft_reject_inet.c31 nf_send_unreach(pkt->skb, priv->icmp_code, nft_reject_inet_eval()
39 nft_reject_icmp_code(priv->icmp_code), nft_reject_inet_eval()
47 nf_send_unreach6(net, pkt->skb, priv->icmp_code, nft_reject_inet_eval()
55 nft_reject_icmpv6_code(priv->icmp_code), nft_reject_inet_eval()
70 int icmp_code; nft_reject_inet_init() local
82 icmp_code = nla_get_u8(tb[NFTA_REJECT_ICMP_CODE]); nft_reject_inet_init()
84 icmp_code > NFT_REJECT_ICMPX_MAX) nft_reject_inet_init()
87 priv->icmp_code = icmp_code; nft_reject_inet_init()
108 if (nla_put_u8(skb, NFTA_REJECT_ICMP_CODE, priv->icmp_code)) nft_reject_inet_dump()
H A Dnft_reject.c43 priv->icmp_code = nla_get_u8(tb[NFTA_REJECT_ICMP_CODE]); nft_reject_init()
63 if (nla_put_u8(skb, NFTA_REJECT_ICMP_CODE, priv->icmp_code)) nft_reject_dump()
/linux-4.1.27/include/net/netfilter/
H A Dnft_reject.h6 u8 icmp_code; member in struct:nft_reject
/linux-4.1.27/net/bridge/netfilter/
H A Dnft_reject_bridge.c277 priv->icmp_code); htons()
286 nft_reject_icmp_code(priv->icmp_code)); htons()
295 priv->icmp_code); htons()
304 nft_reject_icmpv6_code(priv->icmp_code)); htons()
329 int icmp_code, err; nft_reject_bridge_init() local
345 icmp_code = nla_get_u8(tb[NFTA_REJECT_ICMP_CODE]); nft_reject_bridge_init()
347 icmp_code > NFT_REJECT_ICMPX_MAX) nft_reject_bridge_init()
350 priv->icmp_code = icmp_code; nft_reject_bridge_init()
371 if (nla_put_u8(skb, NFTA_REJECT_ICMP_CODE, priv->icmp_code)) nft_reject_bridge_dump()
/linux-4.1.27/net/ipv4/netfilter/
H A Dnft_reject_ipv4.c30 nf_send_unreach(pkt->skb, priv->icmp_code, nft_reject_ipv4_eval()
/linux-4.1.27/net/ipv6/netfilter/
H A Dnft_reject_ipv6.c31 nf_send_unreach6(net, pkt->skb, priv->icmp_code, nft_reject_ipv6_eval()
/linux-4.1.27/include/uapi/linux/
H A Dopenvswitch.h410 __u8 icmp_code; member in struct:ovs_key_icmp
/linux-4.1.27/net/openvswitch/
H A Dflow_netlink.c968 htons(icmp_key->icmp_code), is_mask); ovs_key_from_nlattrs()
1450 icmp_key->icmp_code = ntohs(output->tp.dst); __ovs_nla_put_key()

Completed in 287 milliseconds