mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
netfilter: nat: remove csum_recalc hook
We can now use direct calls. Signed-off-by: Florian Westphal <[email protected]> Signed-off-by: Pablo Neira Ayuso <[email protected]>
This commit is contained in:
parent
03fe5efc4c
commit
dac3fe7259
3 changed files with 27 additions and 14 deletions
|
|
@ -4,15 +4,14 @@
|
|||
|
||||
struct nf_nat_l3proto {
|
||||
u8 l3proto;
|
||||
|
||||
void (*csum_recalc)(struct sk_buff *skb, u8 proto,
|
||||
void *data, __sum16 *check,
|
||||
int datalen, int oldlen);
|
||||
};
|
||||
|
||||
unsigned int nf_nat_manip_pkt(struct sk_buff *skb, struct nf_conn *ct,
|
||||
enum nf_nat_manip_type mtype,
|
||||
enum ip_conntrack_dir dir);
|
||||
void nf_nat_csum_recalc(struct sk_buff *skb,
|
||||
u8 nfproto, u8 proto, void *data, __sum16 *check,
|
||||
int datalen, int oldlen);
|
||||
|
||||
int nf_nat_l3proto_register(const struct nf_nat_l3proto *);
|
||||
void nf_nat_l3proto_unregister(const struct nf_nat_l3proto *);
|
||||
|
|
|
|||
Loading…
Reference in a new issue