Home | History | Annotate | Download | only in netfilter_ipv4
      1 #ifndef _IPT_OWNER_H
      2 #define _IPT_OWNER_H
      3 
      4 /* match and invert flags */
      5 #define IPT_OWNER_UID	0x01
      6 #define IPT_OWNER_GID	0x02
      7 #define IPT_OWNER_PID	0x04
      8 #define IPT_OWNER_SID	0x08
      9 #define IPT_OWNER_COMM	0x10
     10 
     11 struct ipt_owner_info {
     12     uid_t uid;
     13     gid_t gid;
     14     pid_t pid;
     15     pid_t sid;
     16     char comm[16];
     17     u_int8_t match, invert;	/* flags */
     18 };
     19 
     20 #endif /*_IPT_OWNER_H*/
     21