blob: 33d9fbe7fa4bef052f5f513285b2e98414e19b13 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#ifndef _IP_SET_GETPORT_H
#define _IP_SET_GETPORT_H
#define IPSET_INVALID_PORT 65536
extern bool ip_set_get_ip4_port(const struct sk_buff *skb, bool src,
__be16 *port, u8 *proto);
extern bool ip_set_get_ip6_port(const struct sk_buff *skb, bool src,
__be16 *port, u8 *proto);
extern bool ip_set_get_ip_port(const struct sk_buff *skb, u8 pf, bool src,
__be16 *port);
#endif /*_IP_SET_GETPORT_H*/
|