#ifndef _EBT_ULOG_H #define _EBT_ULOG_H #include <linux/types.h> #define EBT_ULOG_DEFAULT_NLGROUP 0 #define EBT_ULOG_DEFAULT_QTHRESHOLD 1 #define EBT_ULOG_MAXNLGROUPS 32 /* hardcoded netlink max */ #define EBT_ULOG_PREFIX_LEN 32 #define EBT_ULOG_MAX_QLEN 50 #define EBT_ULOG_WATCHER "ulog" #define EBT_ULOG_VERSION 1 struct ebt_ulog_info { __u32 nlgroup; unsigned int cprange; unsigned int qthreshold; char prefix[EBT_ULOG_PREFIX_LEN]; }; typedef struct ebt_ulog_packet_msg { int version; char indev[IFNAMSIZ]; char outdev[IFNAMSIZ]; char physindev[IFNAMSIZ]; char physoutdev[IFNAMSIZ]; char prefix[EBT_ULOG_PREFIX_LEN]; struct timeval stamp; unsigned long mark; unsigned int hook; size_t data_len; /* The complete packet, including Ethernet header and perhaps * the VLAN header is appended */ unsigned char data[0] __attribute__ ((aligned (__alignof__(struct ebt_ulog_info)))); } ebt_ulog_packet_msg_t; #endif /* _EBT_ULOG_H */
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
ebt_802_3.h | File | 1.14 KB | 0644 |
|
ebt_among.h | File | 1.93 KB | 0644 |
|
ebt_arp.h | File | 809 B | 0644 |
|
ebt_arpreply.h | File | 197 B | 0644 |
|
ebt_ip.h | File | 857 B | 0644 |
|
ebt_ip6.h | File | 970 B | 0644 |
|
ebt_limit.h | File | 553 B | 0644 |
|
ebt_log.h | File | 475 B | 0644 |
|
ebt_mark_m.h | File | 325 B | 0644 |
|
ebt_mark_t.h | File | 768 B | 0644 |
|
ebt_nat.h | File | 295 B | 0644 |
|
ebt_nflog.h | File | 447 B | 0644 |
|
ebt_pkttype.h | File | 204 B | 0644 |
|
ebt_redirect.h | File | 223 B | 0644 |
|
ebt_stp.h | File | 1.02 KB | 0644 |
|
ebt_ulog.h | File | 975 B | 0644 |
|
ebt_vlan.h | File | 656 B | 0644 |
|
ebtables.h | File | 8.78 KB | 0644 |
|