root/include/uapi/linux/netfilter/nf_synproxy.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
   2 #ifndef _NF_SYNPROXY_H
   3 #define _NF_SYNPROXY_H
   4 
   5 #include <linux/types.h>
   6 
   7 #define NF_SYNPROXY_OPT_MSS             0x01
   8 #define NF_SYNPROXY_OPT_WSCALE          0x02
   9 #define NF_SYNPROXY_OPT_SACK_PERM       0x04
  10 #define NF_SYNPROXY_OPT_TIMESTAMP       0x08
  11 #define NF_SYNPROXY_OPT_ECN             0x10
  12 #define NF_SYNPROXY_OPT_MASK            (NF_SYNPROXY_OPT_MSS | \
  13                                          NF_SYNPROXY_OPT_WSCALE | \
  14                                          NF_SYNPROXY_OPT_SACK_PERM | \
  15                                          NF_SYNPROXY_OPT_TIMESTAMP)
  16 
  17 struct nf_synproxy_info {
  18         __u8    options;
  19         __u8    wscale;
  20         __u16   mss;
  21 };
  22 
  23 #endif /* _NF_SYNPROXY_H */

/* [<][>][^][v][top][bottom][index][help] */