diff options
author | Harald Welte <laforge@netfilter.org> | 2005-08-09 23:22:10 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2005-08-29 18:51:15 -0400 |
commit | fbcd923c3e0c8ec9e4ed64f5a4e5766807b32729 (patch) | |
tree | 68aa12364efe574d3c8fa667ad088c8746843a5d /include | |
parent | f6ebe77f955d77a988ce726f0818ec0103b11323 (diff) |
[NETFILTER]: add correct bridging support to nfnetlink_{queue,log}
This patch adds support for passing the real 'physical' device ifindex
down to userspace via nfnetlink_log and nfnetlink_queue.
This feature basically obsoletes net/bridge/netfilter/ebt_ulog.c, and
it is likely ebt_ulog.c will die with one of the next couple of
patches.
Signed-off-by: Harald Welte <laforge@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/netfilter/nfnetlink_log.h | 2 | ||||
-rw-r--r-- | include/linux/netfilter/nfnetlink_queue.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/netfilter/nfnetlink_log.h b/include/linux/netfilter/nfnetlink_log.h index 420ff4625cbf..a61836a083e7 100644 --- a/include/linux/netfilter/nfnetlink_log.h +++ b/include/linux/netfilter/nfnetlink_log.h | |||
@@ -40,6 +40,8 @@ enum nfulnl_attr_type { | |||
40 | NFULA_TIMESTAMP, /* nfulnl_msg_packet_timestamp */ | 40 | NFULA_TIMESTAMP, /* nfulnl_msg_packet_timestamp */ |
41 | NFULA_IFINDEX_INDEV, /* u_int32_t ifindex */ | 41 | NFULA_IFINDEX_INDEV, /* u_int32_t ifindex */ |
42 | NFULA_IFINDEX_OUTDEV, /* u_int32_t ifindex */ | 42 | NFULA_IFINDEX_OUTDEV, /* u_int32_t ifindex */ |
43 | NFULA_IFINDEX_PHYSINDEV, /* u_int32_t ifindex */ | ||
44 | NFULA_IFINDEX_PHYSOUTDEV, /* u_int32_t ifindex */ | ||
43 | NFULA_HWADDR, /* nfulnl_msg_packet_hw */ | 45 | NFULA_HWADDR, /* nfulnl_msg_packet_hw */ |
44 | NFULA_PAYLOAD, /* opaque data payload */ | 46 | NFULA_PAYLOAD, /* opaque data payload */ |
45 | NFULA_PREFIX, /* string prefix */ | 47 | NFULA_PREFIX, /* string prefix */ |
diff --git a/include/linux/netfilter/nfnetlink_queue.h b/include/linux/netfilter/nfnetlink_queue.h index e142b0ff7c08..2d8d2b2cfcaa 100644 --- a/include/linux/netfilter/nfnetlink_queue.h +++ b/include/linux/netfilter/nfnetlink_queue.h | |||
@@ -36,6 +36,8 @@ enum nfqnl_attr_type { | |||
36 | NFQA_TIMESTAMP, /* nfqnl_msg_packet_timestamp */ | 36 | NFQA_TIMESTAMP, /* nfqnl_msg_packet_timestamp */ |
37 | NFQA_IFINDEX_INDEV, /* u_int32_t ifindex */ | 37 | NFQA_IFINDEX_INDEV, /* u_int32_t ifindex */ |
38 | NFQA_IFINDEX_OUTDEV, /* u_int32_t ifindex */ | 38 | NFQA_IFINDEX_OUTDEV, /* u_int32_t ifindex */ |
39 | NFQA_IFINDEX_PHYSINDEV, /* u_int32_t ifindex */ | ||
40 | NFQA_IFINDEX_PHYSOUTDEV, /* u_int32_t ifindex */ | ||
39 | NFQA_HWADDR, /* nfqnl_msg_packet_hw */ | 41 | NFQA_HWADDR, /* nfqnl_msg_packet_hw */ |
40 | NFQA_PAYLOAD, /* opaque data payload */ | 42 | NFQA_PAYLOAD, /* opaque data payload */ |
41 | 43 | ||