mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-10-20 18:39:12 +00:00
4cf411de49
Update hardware checksums incrementally to avoid breaking GSO. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
18 lines
630 B
C
18 lines
630 B
C
#ifndef _IP_NAT_CORE_H
|
|
#define _IP_NAT_CORE_H
|
|
#include <linux/list.h>
|
|
#include <linux/netfilter_ipv4/ip_conntrack.h>
|
|
|
|
/* This header used to share core functionality between the standalone
|
|
NAT module, and the compatibility layer's use of NAT for masquerading. */
|
|
|
|
extern unsigned int ip_nat_packet(struct ip_conntrack *ct,
|
|
enum ip_conntrack_info conntrackinfo,
|
|
unsigned int hooknum,
|
|
struct sk_buff **pskb);
|
|
|
|
extern int ip_nat_icmp_reply_translation(struct ip_conntrack *ct,
|
|
enum ip_conntrack_info ctinfo,
|
|
unsigned int hooknum,
|
|
struct sk_buff **pskb);
|
|
#endif /* _IP_NAT_CORE_H */
|