mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-10-21 02:49:11 +00:00
1da177e4c3
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
36 lines
952 B
C
36 lines
952 B
C
#ifndef _EBT_ULOG_H
|
|
#define _EBT_ULOG_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 {
|
|
uint32_t 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 */
|