summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart De Schuymer <bdschuym@pandora.be>2003-05-12 17:23:30 +0000
committerBart De Schuymer <bdschuym@pandora.be>2003-05-12 17:23:30 +0000
commit999f8dfd409e28ac51a87ef4355fb311b4f6fd8c (patch)
tree48382b5444fa83664536803f68e2be8edebed897
parent8edbefd238780b093545a808d431d05ed70ac612 (diff)
802.3
-rw-r--r--kernel/linux2.5/net/bridge/netfilter/Kconfig78
-rw-r--r--kernel/linux2.5/net/bridge/netfilter/Makefile12
2 files changed, 51 insertions, 39 deletions
diff --git a/kernel/linux2.5/net/bridge/netfilter/Kconfig b/kernel/linux2.5/net/bridge/netfilter/Kconfig
index 4b6a1ed..36de8e1 100644
--- a/kernel/linux2.5/net/bridge/netfilter/Kconfig
+++ b/kernel/linux2.5/net/bridge/netfilter/Kconfig
@@ -5,6 +5,18 @@ config BRIDGE_NF_EBTABLES
tristate "Bridge: ebtables"
depends on NETFILTER && BRIDGE
+config BRIDGE_EBT_BROUTE
+ tristate "ebt: broute table support"
+ depends on BRIDGE_NF_EBTABLES
+ help
+ The ebtables broute table is used to define rules that decide between
+ bridging and routing frames, giving Linux the functionality of a
+ brouter. See the man page for ebtables(8) and examples on the ebtables
+ website.
+
+ If you want to compile it as a module, say M here and read
+ <file:Documentation/modules.txt>. If unsure, say `N'.
+
config BRIDGE_EBT_T_FILTER
tristate "ebt: filter table support"
depends on BRIDGE_NF_EBTABLES
@@ -27,24 +39,21 @@ config BRIDGE_EBT_T_NAT
If you want to compile it as a module, say M here and read
<file:Documentation/modules.txt>. If unsure, say `N'.
-config BRIDGE_EBT_BROUTE
- tristate "ebt: broute table support"
+config BRIDGE_EBT_802_3
+ tristate "ebt: 802.3 filter support"
depends on BRIDGE_NF_EBTABLES
help
- The ebtables broute table is used to define rules that decide between
- bridging and routing frames, giving Linux the functionality of a
- brouter. See the man page for ebtables(8) and examples on the ebtables
- website.
+ This option adds matching support for 802.3 Ethernet frames.
If you want to compile it as a module, say M here and read
<file:Documentation/modules.txt>. If unsure, say `N'.
-config BRIDGE_EBT_LOG
- tristate "ebt: log support"
+config BRIDGE_EBT_ARP
+ tristate "ebt: ARP filter support"
depends on BRIDGE_NF_EBTABLES
help
- This option adds the log target, that you can use in any rule in
- any ebtables table. It records the frame header to the syslog.
+ This option adds the ARP match, which allows ARP and RARP header field
+ filtering.
If you want to compile it as a module, say M here and read
<file:Documentation/modules.txt>. If unsure, say `N'.
@@ -59,22 +68,12 @@ config BRIDGE_EBT_IP
If you want to compile it as a module, say M here and read
<file:Documentation/modules.txt>. If unsure, say `N'.
-config BRIDGE_EBT_ARP
- tristate "ebt: ARP filter support"
- depends on BRIDGE_NF_EBTABLES
- help
- This option adds the ARP match, which allows ARP and RARP header field
- filtering.
-
- If you want to compile it as a module, say M here and read
- <file:Documentation/modules.txt>. If unsure, say `N'.
-
-config BRIDGE_EBT_VLAN
- tristate "ebt: 802.1Q VLAN filter support"
+config BRIDGE_EBT_LOG
+ tristate "ebt: log support"
depends on BRIDGE_NF_EBTABLES
help
- This option adds the 802.1Q vlan match, which allows the filtering of
- 802.1Q vlan fields.
+ This option adds the log target, that you can use in any rule in
+ any ebtables table. It records the frame header to the syslog.
If you want to compile it as a module, say M here and read
<file:Documentation/modules.txt>. If unsure, say `N'.
@@ -103,12 +102,12 @@ config BRIDGE_EBT_PKTTYPE
If you want to compile it as a module, say M here and read
<file:Documentation/modules.txt>. If unsure, say `N'.
-config BRIDGE_EBT_SNAT
- tristate "ebt: snat target support"
+config BRIDGE_EBT_VLAN
+ tristate "ebt: 802.1Q VLAN filter support"
depends on BRIDGE_NF_EBTABLES
help
- This option adds the MAC SNAT target, which allows altering the MAC
- source address of frames.
+ This option adds the 802.1Q vlan match, which allows the filtering of
+ 802.1Q vlan fields.
If you want to compile it as a module, say M here and read
<file:Documentation/modules.txt>. If unsure, say `N'.
@@ -123,6 +122,18 @@ config BRIDGE_EBT_DNAT
If you want to compile it as a module, say M here and read
<file:Documentation/modules.txt>. If unsure, say `N'.
+config BRIDGE_EBT_MARK_T
+ tristate "ebt: mark target support"
+ depends on BRIDGE_NF_EBTABLES
+ help
+ This option adds the mark target, which allows marking frames by
+ setting the 'nfmark' value in the frame.
+ This value is the same as the one used in the iptables mark match and
+ target.
+
+ If you want to compile it as a module, say M here and read
+ <file:Documentation/modules.txt>. If unsure, say `N'.
+
config BRIDGE_EBT_REDIRECT
tristate "ebt: redirect target support"
depends on BRIDGE_NF_EBTABLES
@@ -133,15 +144,12 @@ config BRIDGE_EBT_REDIRECT
If you want to compile it as a module, say M here and read
<file:Documentation/modules.txt>. If unsure, say `N'.
-config BRIDGE_EBT_MARK_T
- tristate "ebt: mark target support"
+config BRIDGE_EBT_SNAT
+ tristate "ebt: snat target support"
depends on BRIDGE_NF_EBTABLES
help
- This option adds the mark target, which allows marking frames by
- setting the 'nfmark' value in the frame.
- This value is the same as the one used in the iptables mark match and
- target.
+ This option adds the MAC SNAT target, which allows altering the MAC
+ source address of frames.
If you want to compile it as a module, say M here and read
<file:Documentation/modules.txt>. If unsure, say `N'.
-
diff --git a/kernel/linux2.5/net/bridge/netfilter/Makefile b/kernel/linux2.5/net/bridge/netfilter/Makefile
index 871252b..3fac8e3 100644
--- a/kernel/linux2.5/net/bridge/netfilter/Makefile
+++ b/kernel/linux2.5/net/bridge/netfilter/Makefile
@@ -6,13 +6,17 @@ obj-$(CONFIG_BRIDGE_NF_EBTABLES) += ebtables.o
obj-$(CONFIG_BRIDGE_EBT_T_FILTER) += ebtable_filter.o
obj-$(CONFIG_BRIDGE_EBT_T_NAT) += ebtable_nat.o
obj-$(CONFIG_BRIDGE_EBT_BROUTE) += ebtable_broute.o
-obj-$(CONFIG_BRIDGE_EBT_IP) += ebt_ip.o
+
+obj-$(CONFIG_BRIDGE_EBT_802_3) += ebt_802_3.o
obj-$(CONFIG_BRIDGE_EBT_ARP) += ebt_arp.o
-obj-$(CONFIG_BRIDGE_EBT_VLAN) += ebt_vlan.o
+obj-$(CONFIG_BRIDGE_EBT_IP) += ebt_ip.o
obj-$(CONFIG_BRIDGE_EBT_MARK) += ebt_mark_m.o
obj-$(CONFIG_BRIDGE_EBT_PKTTYPE) += ebt_pkttype.o
+obj-$(CONFIG_BRIDGE_EBT_VLAN) += ebt_vlan.o
+
obj-$(CONFIG_BRIDGE_EBT_LOG) += ebt_log.o
-obj-$(CONFIG_BRIDGE_EBT_SNAT) += ebt_snat.o
+
obj-$(CONFIG_BRIDGE_EBT_DNAT) += ebt_dnat.o
-obj-$(CONFIG_BRIDGE_EBT_REDIRECT) += ebt_redirect.o
obj-$(CONFIG_BRIDGE_EBT_MARK_T) += ebt_mark.o
+obj-$(CONFIG_BRIDGE_EBT_REDIRECT) += ebt_redirect.o
+obj-$(CONFIG_BRIDGE_EBT_SNAT) += ebt_snat.o