diff options
author | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2011-01-20 10:39:01 +0100 |
---|---|---|
committer | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2011-01-20 10:39:01 +0100 |
commit | 0bd2dd6f87f802af37bf037aa084ec4bd9280fae (patch) | |
tree | 85c2c5a794810b1d392074244f24e3097cd00272 /kernel/include | |
parent | cfb2375a3a0d018b1f3dac518126e0dff9191e78 (diff) |
Move NLA_PUT_NET* macros to include/net/netlink.h
These macros can be useful in general (Patrick McHardy's review)
Diffstat (limited to 'kernel/include')
-rw-r--r-- | kernel/include/linux/netfilter/ipset/ip_set.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/kernel/include/linux/netfilter/ipset/ip_set.h b/kernel/include/linux/netfilter/ipset/ip_set.h index 7003c78..2d47aa6 100644 --- a/kernel/include/linux/netfilter/ipset/ip_set.h +++ b/kernel/include/linux/netfilter/ipset/ip_set.h @@ -438,12 +438,6 @@ ip_set_get_ipaddr6(struct nlattr *attr[], int type, union nf_inet_addr *ipaddr) #define ipset_nest_start(skb, attr) nla_nest_start(skb, attr | NLA_F_NESTED) #define ipset_nest_end(skb, start) nla_nest_end(skb, start) -#define NLA_PUT_NET32(skb, type, value) \ - NLA_PUT_BE32(skb, type | NLA_F_NET_BYTEORDER, value) - -#define NLA_PUT_NET16(skb, type, value) \ - NLA_PUT_BE16(skb, type | NLA_F_NET_BYTEORDER, value) - #define NLA_PUT_IPADDR4(skb, type, ipaddr) \ do { \ struct nlattr *__nested = ipset_nest_start(skb, type); \ |