1 /****************************************************************************
2 ****************************************************************************
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.
10 ****************************************************************************
11 ****************************************************************************/
17 typedef struct ipq_packet_msg {
18 unsigned long packet_id;
23 char indev_name[IFNAMSIZ];
24 char outdev_name[IFNAMSIZ];
25 unsigned short hw_protocol;
26 unsigned short hw_type;
27 unsigned char hw_addrlen;
28 unsigned char hw_addr[8];
30 unsigned char payload[0];
33 typedef struct ipq_mode_msg {
38 typedef struct ipq_verdict_msg {
42 unsigned char payload[0];
45 typedef struct ipq_peer_msg {
47 ipq_verdict_msg_t verdict;
57 #define IPQ_COPY_MAX IPQ_COPY_PACKET
59 #define IPQM_BASE 0x10
60 #define IPQM_MODE (IPQM_BASE + 1)
61 #define IPQM_VERDICT (IPQM_BASE + 2)
62 #define IPQM_PACKET (IPQM_BASE + 3)
63 #define IPQM_MAX (IPQM_BASE + 4)