summaryrefslogtreecommitdiff
path: root/accel-pppd/ctrl/ipoe/ipoe.h
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2014-10-29 20:57:59 +0300
committerDmitry Kozlov <xeb@mail.ru>2014-10-29 20:57:59 +0300
commit4492abfd6b7a410d24fdc488545efd64a22c05b8 (patch)
treeb65fdc433e4c36253174f4248c14e5c75619fad0 /accel-pppd/ctrl/ipoe/ipoe.h
parent5ea15c8f7be55992cb874d38d8c7c17280448d82 (diff)
downloadaccel-ppp-xebd-4492abfd6b7a410d24fdc488545efd64a22c05b8.tar.gz
accel-ppp-xebd-4492abfd6b7a410d24fdc488545efd64a22c05b8.zip
ipoe: implemneted ability to send L4 redirect table/L4 redirect ipset via radius attributes
Introduced following options: attr-l4-redirect-table (type integer) attr-l4-redirect-ipset (type string) Please note, to enable L4 redirect attr-l4-redirect must be specified and sent
Diffstat (limited to 'accel-pppd/ctrl/ipoe/ipoe.h')
-rw-r--r--accel-pppd/ctrl/ipoe/ipoe.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/accel-pppd/ctrl/ipoe/ipoe.h b/accel-pppd/ctrl/ipoe/ipoe.h
index 555d314..72da499 100644
--- a/accel-pppd/ctrl/ipoe/ipoe.h
+++ b/accel-pppd/ctrl/ipoe/ipoe.h
@@ -74,6 +74,8 @@ struct ipoe_session {
uint32_t siaddr;
uint32_t router;
uint32_t relay_server_id;
+ int l4_redirect_table;
+ char *l4_redirect_ipset;
int mask;
int lease_time;
uint8_t *data;