diff options
author | Jeremy Sowden <jeremy@azazel.net> | 2019-10-03 21:56:07 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-10-07 23:59:02 +0200 |
commit | f8615bf8a3dabd84bf844c6f888929495039d389 (patch) | |
tree | 26c2d92e5374edbcd36295bec9a0c2f678f7f145 /include | |
parent | netfilter: ipset: move function to ip_set_bitmap_ip.c. (diff) | |
download | linux-f8615bf8a3dabd84bf844c6f888929495039d389.tar.xz linux-f8615bf8a3dabd84bf844c6f888929495039d389.zip |
netfilter: ipset: move ip_set_get_ip_port() to ip_set_bitmap_port.c.
ip_set_get_ip_port() is only used in ip_set_bitmap_port.c. Move it
there and make it static.
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Acked-by: Jozsef Kadlecsik <kadlec@netfilter.org>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/netfilter/ipset/ip_set_getport.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/netfilter/ipset/ip_set_getport.h b/include/linux/netfilter/ipset/ip_set_getport.h index d74cd112b88a..1ecaabd9a048 100644 --- a/include/linux/netfilter/ipset/ip_set_getport.h +++ b/include/linux/netfilter/ipset/ip_set_getport.h @@ -20,9 +20,6 @@ static inline bool ip_set_get_ip6_port(const struct sk_buff *skb, bool src, } #endif -extern bool ip_set_get_ip_port(const struct sk_buff *skb, u8 pf, bool src, - __be16 *port); - static inline bool ip_set_proto_with_ports(u8 proto) { switch (proto) { |