blob: 78ff0df0bea5a0cde1f293cefa996b4852bb7ef7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
#ifndef _IPT_ULOG_H
#define _IPT_ULOG_H
#ifdef __KERNEL__
#include <linux/netdevice.h>
#endif
#define ULOG_MAC_LEN 80
/* just until this is in netfilter.h */
#ifndef NETLINK_NFLOG
#define NETLINK_NFLOG 25
#endif
struct ipt_ulog_info {
unsigned char logflags;
unsigned int nl_group;
char prefix[30];
};
typedef struct ulog_packet_msg {
unsigned long mark;
long timestamp_sec;
long timestamp_usec;
unsigned int hook;
char indev_name[IFNAMSIZ];
char outdev_name[IFNAMSIZ];
size_t data_len;
char prefix[30];
unsigned char mac_len;
unsigned char mac[ULOG_MAC_LEN];
unsigned char payload[0];
} ulog_packet_msg_t;
#endif /*_IPT_ULOG_H*/
|