Home | History | Annotate | Download | only in netfilter
      1 /****************************************************************************
      2  ****************************************************************************
      3  ***
      4  ***   This header was automatically generated from a Linux kernel header
      5  ***   of the same name, to make information necessary for userspace to
      6  ***   call into the kernel available to libc.  It contains only constants,
      7  ***   structures, and macros generated from the original header, and thus,
      8  ***   contains no copyrightable information.
      9  ***
     10  ****************************************************************************
     11  ****************************************************************************/
     12 #ifndef _XT_CONNBYTES_H
     13 #define _XT_CONNBYTES_H
     14 
     15 enum xt_connbytes_what {
     16  XT_CONNBYTES_PKTS,
     17  XT_CONNBYTES_BYTES,
     18  XT_CONNBYTES_AVGPKT,
     19 };
     20 
     21 enum xt_connbytes_direction {
     22  XT_CONNBYTES_DIR_ORIGINAL,
     23  XT_CONNBYTES_DIR_REPLY,
     24  XT_CONNBYTES_DIR_BOTH,
     25 };
     26 
     27 struct xt_connbytes_info
     28 {
     29  struct {
     30  aligned_u64 from;
     31  aligned_u64 to;
     32  } count;
     33  u_int8_t what;
     34  u_int8_t direction;
     35 };
     36 #endif
     37