diff options
| author | Philippe Guibert <philippe.guibert@6wind.com> | 2022-12-29 15:51:26 +0100 |
|---|---|---|
| committer | Louis Scalbert <louis.scalbert@6wind.com> | 2023-06-05 16:08:51 +0200 |
| commit | 61e31c591e10326630ec9297c50b2dd8d04602c1 (patch) | |
| tree | e7e3ee322a2f26ef9a1802c5c7d86fff0661195b /accel-pppd/ctrl/ipoe/ipoe.h | |
| parent | 2b0226f25bd65dbe357b751aeeb481c09df20382 (diff) | |
| download | accel-ppp-61e31c591e10326630ec9297c50b2dd8d04602c1.tar.gz accel-ppp-61e31c591e10326630ec9297c50b2dd8d04602c1.zip | |
ipoe: add dhcp link selection sub-option
Add the support of DHCP option 82 "Agent Information" sub-option 5
"link selection". The IPv4 value can be specified in the [ipoe]
"link-selection" configuration option.
Link: https://www.rfc-editor.org/rfc/rfc3527.html
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
Diffstat (limited to 'accel-pppd/ctrl/ipoe/ipoe.h')
| -rw-r--r-- | accel-pppd/ctrl/ipoe/ipoe.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/accel-pppd/ctrl/ipoe/ipoe.h b/accel-pppd/ctrl/ipoe/ipoe.h index 75948b1c..07dce1e2 100644 --- a/accel-pppd/ctrl/ipoe/ipoe.h +++ b/accel-pppd/ctrl/ipoe/ipoe.h @@ -86,6 +86,7 @@ struct ipoe_session { struct dhcpv4_option *relay_agent; uint8_t *agent_circuit_id; uint8_t *agent_remote_id; + uint8_t *link_selection; uint32_t xid; uint32_t giaddr; uint32_t yiaddr; |
