[NETFILTER]: add IPv6-capable TCPMSS target
Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
a8d0f9526f
commit
cdd289a2f8
9 changed files with 337 additions and 238 deletions
|
@ -33,6 +33,7 @@ header-y += xt_tcpmss.h
|
|||
header-y += xt_tcpudp.h
|
||||
header-y += xt_SECMARK.h
|
||||
header-y += xt_CONNSECMARK.h
|
||||
header-y += xt_TCPMSS.h
|
||||
|
||||
unifdef-y += nf_conntrack_common.h
|
||||
unifdef-y += nf_conntrack_ftp.h
|
||||
|
|
10
include/linux/netfilter/xt_TCPMSS.h
Normal file
10
include/linux/netfilter/xt_TCPMSS.h
Normal file
|
@ -0,0 +1,10 @@
|
|||
#ifndef _XT_TCPMSS_H
|
||||
#define _XT_TCPMSS_H
|
||||
|
||||
struct xt_tcpmss_info {
|
||||
u_int16_t mss;
|
||||
};
|
||||
|
||||
#define XT_TCPMSS_CLAMP_PMTU 0xffff
|
||||
|
||||
#endif /* _XT_TCPMSS_H */
|
|
@ -1,10 +1,9 @@
|
|||
#ifndef _IPT_TCPMSS_H
|
||||
#define _IPT_TCPMSS_H
|
||||
|
||||
struct ipt_tcpmss_info {
|
||||
u_int16_t mss;
|
||||
};
|
||||
#include <linux/netfilter/xt_TCPMSS.h>
|
||||
|
||||
#define IPT_TCPMSS_CLAMP_PMTU 0xffff
|
||||
#define ipt_tcpmss_info xt_tcpmss_info
|
||||
#define IPT_TCPMSS_CLAMP_PMTU XT_TCPMSS_CLAMP_PMTU
|
||||
|
||||
#endif /*_IPT_TCPMSS_H*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue