diff options
author | julian <julian@FreeBSD.org> | 2001-02-23 16:34:22 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 2001-02-23 16:34:22 +0000 |
commit | 575ee59b1c3162f7917e5e0b3fdacb39c4b96039 (patch) | |
tree | d20bb9bdc213856eb1223ca1ac24826ae7676b4b /sys/netgraph/ng_pppoe.h | |
parent | caa8a14382c376f9c55e5e5b70bd6bb997d4bd38 (diff) | |
download | FreeBSD-src-575ee59b1c3162f7917e5e0b3fdacb39c4b96039.zip FreeBSD-src-575ee59b1c3162f7917e5e0b3fdacb39c4b96039.tar.gz |
Shuffle sysctls a bit (thankyou whoever made them dynamic for modules)
and add a sysctl to pppoe to activate non standard ethertypes
so that idiot ISPs (apparently in France) who use
equipment from idiot suppliers (rumour says 3com)
who use nonstandard ethertypes can still connect.
"yep, sure we do pppoe, we use a different identifier to that dictated in
the standard, but sure it's pppoe!"
sysctl -w net.graph.stupid_isp=1 enables the changeover.
Diffstat (limited to 'sys/netgraph/ng_pppoe.h')
-rw-r--r-- | sys/netgraph/ng_pppoe.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/netgraph/ng_pppoe.h b/sys/netgraph/ng_pppoe.h index 6c5d72a..b841d85 100644 --- a/sys/netgraph/ng_pppoe.h +++ b/sys/netgraph/ng_pppoe.h @@ -177,6 +177,8 @@ struct ngpppoe_sts { #define ETHERTYPE_PPPOE_DISC 0x8863 /* pppoe discovery packets */ #define ETHERTYPE_PPPOE_SESS 0x8864 /* pppoe session packets */ +#define ETHERTYPE_PPPOE_STUPID_DISC 0x3c12 /* pppoe discovery packets 3com? */ +#define ETHERTYPE_PPPOE_STUPID_SESS 0x3c13 /* pppoe session packets 3com? */ #else #define PTT_EOL (0x0000) #define PTT_SRV_NAME (0x0101) @@ -191,6 +193,8 @@ struct ngpppoe_sts { #define ETHERTYPE_PPPOE_DISC 0x6388 /* pppoe discovery packets */ #define ETHERTYPE_PPPOE_SESS 0x6488 /* pppoe session packets */ +#define ETHERTYPE_PPPOE_STUPID_DISC 0x123c /* pppoe discovery packets 3com? */ +#define ETHERTYPE_PPPOE_STUPID_SESS 0x133c /* pppoe session packets 3com? */ #endif struct pppoe_tag { |