Linux kernel & device driver programming

Cross-Referenced Linux and Device Driver Code

[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ]
Version: [ 2.6.11.8 ] [ 2.6.25 ] [ 2.6.25.8 ] [ 2.6.31.13 ] Architecture: [ i386 ]
  1 #ifndef _IP_NAT_CORE_H
  2 #define _IP_NAT_CORE_H
  3 #include <linux/list.h>
  4 #include <linux/netfilter_ipv4/ip_conntrack.h>
  5 
  6 /* This header used to share core functionality between the standalone
  7    NAT module, and the compatibility layer's use of NAT for masquerading. */
  8 extern int ip_nat_init(void);
  9 extern void ip_nat_cleanup(void);
 10 
 11 extern unsigned int nat_packet(struct ip_conntrack *ct,
 12                                enum ip_conntrack_info conntrackinfo,
 13                                unsigned int hooknum,
 14                                struct sk_buff **pskb);
 15 
 16 extern int icmp_reply_translation(struct sk_buff **pskb,
 17                                   struct ip_conntrack *ct,
 18                                   enum ip_nat_manip_type manip,
 19                                   enum ip_conntrack_dir dir);
 20 #endif /* _IP_NAT_CORE_H */
 21 
  This page was automatically generated by the LXR engine.