diff options
author | Michael Milner <milner@blissisland.ca> | 2007-04-12 22:14:23 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-04-25 22:28:57 -0700 |
commit | 516299d2f5b6f9703b9b388faf91898dc636a678 (patch) | |
tree | 909b7003188f0f100e0782c9620515e39cba1603 /include/linux/if_pppox.h | |
parent | 91d73c15cb165195bc8c3d6a35e30df454b1485b (diff) | |
download | kernel_samsung_espresso10-516299d2f5b6f9703b9b388faf91898dc636a678.zip kernel_samsung_espresso10-516299d2f5b6f9703b9b388faf91898dc636a678.tar.gz kernel_samsung_espresso10-516299d2f5b6f9703b9b388faf91898dc636a678.tar.bz2 |
[NETFILTER]: bridge-nf: filter bridged IPv4/IPv6 encapsulated in pppoe traffic
The attached patch by Michael Milner adds support for using iptables and
ip6tables on bridged traffic encapsulated in ppoe frames, similar to
what's already supported for vlan.
Signed-off-by: Michael Milner <milner@blissisland.ca>
Signed-off-by: Bart De Schuymer <bdschuym@pandora.be>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/if_pppox.h')
-rw-r--r-- | include/linux/if_pppox.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/if_pppox.h b/include/linux/if_pppox.h index 29d6579..6f987be 100644 --- a/include/linux/if_pppox.h +++ b/include/linux/if_pppox.h @@ -111,6 +111,9 @@ struct pppoe_hdr { struct pppoe_tag tag[0]; } __attribute__ ((packed)); +/* Length of entire PPPoE + PPP header */ +#define PPPOE_SES_HLEN 8 + #ifdef __KERNEL__ #include <linux/skbuff.h> |