1 #ifndef _IP_SET_GETPORT_H
2 #define _IP_SET_GETPORT_H
4 extern bool ip_set_get_ip4_port(const struct sk_buff *skb, bool src,
5 __be16 *port, u8 *proto);
7 #if defined(CONFIG_IP6_NF_IPTABLES) || defined(CONFIG_IP6_NF_IPTABLES_MODULE)
8 extern bool ip_set_get_ip6_port(const struct sk_buff *skb, bool src,
9 __be16 *port, u8 *proto);
11 static inline bool ip_set_get_ip6_port(const struct sk_buff *skb, bool src,
12 __be16 *port, u8 *proto)
18 extern bool ip_set_get_ip_port(const struct sk_buff *skb, u8 pf, bool src,
21 static inline bool ip_set_proto_with_ports(u8 proto)
33 #endif /*_IP_SET_GETPORT_H*/