summaryrefslogtreecommitdiff
path: root/accel-pppd/ctrl/ipoe/dhcpv4.h
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2016-12-10 20:44:29 +0300
committerDmitry Kozlov <xeb@mail.ru>2016-12-10 20:46:11 +0300
commitaf82c18fe8985b706740614d5ed738026ae68878 (patch)
tree09189cd838df82dcc0bedce9c441a1978c32a8d9 /accel-pppd/ctrl/ipoe/dhcpv4.h
parent3f148920318c8eb169d88b800c64272bd1518880 (diff)
downloadaccel-ppp-af82c18fe8985b706740614d5ed738026ae68878.tar.gz
accel-ppp-af82c18fe8985b706740614d5ed738026ae68878.zip
ipoe: implemented support for freeradius dhcp attributes
Diffstat (limited to 'accel-pppd/ctrl/ipoe/dhcpv4.h')
-rw-r--r--accel-pppd/ctrl/ipoe/dhcpv4.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/accel-pppd/ctrl/ipoe/dhcpv4.h b/accel-pppd/ctrl/ipoe/dhcpv4.h
index 5847303..a7fa5a9 100644
--- a/accel-pppd/ctrl/ipoe/dhcpv4.h
+++ b/accel-pppd/ctrl/ipoe/dhcpv4.h
@@ -101,6 +101,7 @@ struct dhcpv4_relay {
};
struct ap_session;
+struct rad_packet_t;
struct dhcpv4_serv *dhcpv4_create(struct triton_context_t *ctx, const char *ifname, const char *opt);
void dhcpv4_free(struct dhcpv4_serv *);
@@ -120,6 +121,7 @@ void dhcpv4_packet_ref(struct dhcpv4_packet *pack);
struct dhcpv4_option *dhcpv4_packet_find_opt(struct dhcpv4_packet *pack, int type);
int dhcpv4_packet_insert_opt82(struct dhcpv4_packet *pack, const char *agent_circuit_id, const char *agent_remote_id);
void dhcpv4_packet_free(struct dhcpv4_packet *pack);
+struct dhcpv4_packet *dhcpv4_clone_radius(struct rad_packet_t *);
int dhcpv4_check_options(struct dhcpv4_packet *);
void dhcpv4_print_options(struct dhcpv4_packet *, void (*)(const char *, ...));