netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
ip_set_getport.c File Reference
#include <linux/version.h>
#include <linux/ip.h>
#include <linux/skbuff.h>
#include <linux/icmp.h>
#include <linux/icmpv6.h>
#include <linux/sctp.h>
#include <linux/netfilter_ipv6/ip6_tables.h>
#include <net/ip.h>
#include <net/ipv6.h>
#include <linux/netfilter/ipset/ip_set_getport.h>
#include <linux/netfilter/ipset/ip_set_compat.h>
Include dependency graph for ip_set_getport.c:

Functions

bool ip_set_get_ip4_port (const struct sk_buff *skb, bool src, __be16 *port, u8 *proto)
 
 EXPORT_SYMBOL_GPL (ip_set_get_ip4_port)
 
bool ip_set_get_ip_port (const struct sk_buff *skb, u8 pf, bool src, __be16 *port)
 
 EXPORT_SYMBOL_GPL (ip_set_get_ip_port)
 

Function Documentation

EXPORT_SYMBOL_GPL ( ip_set_get_ip4_port  )
EXPORT_SYMBOL_GPL ( ip_set_get_ip_port  )
bool ip_set_get_ip4_port ( const struct sk_buff *  skb,
bool  src,
__be16 port,
u8 proto 
)

References IP_OFFSET, IPPROTO_SCTP, and IPPROTO_UDPLITE.

Referenced by ip_set_get_ip_port().

Here is the caller graph for this function:

bool ip_set_get_ip_port ( const struct sk_buff *  skb,
u8  pf,
bool  src,
__be16 port 
)

References ip_set_get_ip4_port(), NFPROTO_IPV4, NFPROTO_IPV6, and u8.

Here is the call graph for this function: