summaryrefslogtreecommitdiff
path: root/accel-pppd/ctrl/pppoe/pppoe.h
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2016-04-04 10:55:14 +0300
committerDmitry Kozlov <xeb@mail.ru>2016-04-04 10:55:14 +0300
commitb29c9326c2630a0375a9d92b0c553b6e60c8cdaa (patch)
tree0ee591b5e13a4a73d0ec5cb9c74fd044121a5d92 /accel-pppd/ctrl/pppoe/pppoe.h
parent7def2aa4a0af5eb26fc290257585a8c2901c0c3c (diff)
downloadaccel-ppp-b29c9326c2630a0375a9d92b0c553b6e60c8cdaa.tar.gz
accel-ppp-b29c9326c2630a0375a9d92b0c553b6e60c8cdaa.zip
pppoe: add support for PPP-Max-Payload tag (RFC 4638)
Diffstat (limited to 'accel-pppd/ctrl/pppoe/pppoe.h')
-rw-r--r--accel-pppd/ctrl/pppoe/pppoe.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/accel-pppd/ctrl/pppoe/pppoe.h b/accel-pppd/ctrl/pppoe/pppoe.h
index 44a31258..a8830235 100644
--- a/accel-pppd/ctrl/pppoe/pppoe.h
+++ b/accel-pppd/ctrl/pppoe/pppoe.h
@@ -25,6 +25,7 @@
#define TAG_AC_COOKIE 0x0104
#define TAG_VENDOR_SPECIFIC 0x0105
#define TAG_RELAY_SESSION_ID 0x0110
+#define TAG_PPP_MAX_PAYLOAD 0x0120
#define TAG_SERVICE_NAME_ERROR 0x0201
#define TAG_AC_SYSTEM_ERROR 0x0202
#define TAG_GENERIC_ERROR 0x0203
@@ -75,6 +76,7 @@ struct pppoe_serv_t
uint8_t hwaddr[ETH_ALEN];
char *ifname;
int ifindex;
+ int mtu;
int parent_ifindex;
int vid;