diff options
author | Vladislav Grishenko <themiron@mail.ru> | 2020-04-30 06:33:41 +0500 |
---|---|---|
committer | Vladislav Grishenko <themiron@mail.ru> | 2020-04-30 06:33:41 +0500 |
commit | 90778881d9aba076344412b7769e103f36541273 (patch) | |
tree | 5c594c52665dc338c73eb8d9543de7cfc3b0e97d /accel-pppd/ctrl/ipoe/dhcpv4.h | |
parent | e5c2be0ad9d725beaa2f34d1d3ffb66b4abafeac (diff) | |
download | accel-ppp-xebd-90778881d9aba076344412b7769e103f36541273.tar.gz accel-ppp-xebd-90778881d9aba076344412b7769e103f36541273.zip |
ipoe: dhcp: add rebind-time support
Diffstat (limited to 'accel-pppd/ctrl/ipoe/dhcpv4.h')
-rw-r--r-- | accel-pppd/ctrl/ipoe/dhcpv4.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/accel-pppd/ctrl/ipoe/dhcpv4.h b/accel-pppd/ctrl/ipoe/dhcpv4.h index 3e90cc3..24b9d61 100644 --- a/accel-pppd/ctrl/ipoe/dhcpv4.h +++ b/accel-pppd/ctrl/ipoe/dhcpv4.h @@ -117,7 +117,9 @@ int dhcpv4_relay_send_release(struct dhcpv4_relay *relay, uint8_t *chaddr, uint3 struct dhcpv4_option *client_id, struct dhcpv4_option *relay_agent, const char *agent_circuit_id, const char *agent_remote_id); -int dhcpv4_send_reply(int msg_type, struct dhcpv4_serv *serv, struct dhcpv4_packet *req, uint32_t yiaddr, uint32_t siaddr, uint32_t router, uint32_t mask, int lease_time, int renew_time, struct dhcpv4_packet *relay_reply); +int dhcpv4_send_reply(int msg_type, struct dhcpv4_serv *serv, struct dhcpv4_packet *req, + uint32_t yiaddr, uint32_t siaddr, uint32_t router, uint32_t mask, + int lease_time, int renew_time, int rebind_time, struct dhcpv4_packet *relay_reply); int dhcpv4_send_nak(struct dhcpv4_serv *serv, struct dhcpv4_packet *req); void dhcpv4_send_notify(struct dhcpv4_serv *serv, struct dhcpv4_packet *req, unsigned int weight); |