summaryrefslogtreecommitdiff
path: root/accel-pppd/ctrl/ipoe/dhcpv4.h
diff options
context:
space:
mode:
authorKozlov Dmitry <xeb@mail.ru>2013-01-26 12:08:19 +0400
committerKozlov Dmitry <xeb@mail.ru>2013-01-26 12:08:19 +0400
commitb4d2b981d0644855124a035e673d7eef3900e614 (patch)
tree49c4d619086c4466944e5275190d7943e43c41c7 /accel-pppd/ctrl/ipoe/dhcpv4.h
parentcde7ee4d629b32c810ceac836b70a4289b4f00b3 (diff)
downloadaccel-ppp-b4d2b981d0644855124a035e673d7eef3900e614.tar.gz
accel-ppp-b4d2b981d0644855124a035e673d7eef3900e614.zip
Revert "ipoe: insert opt82 to each relay packet"
This reverts commit cde7ee4d629b32c810ceac836b70a4289b4f00b3.
Diffstat (limited to 'accel-pppd/ctrl/ipoe/dhcpv4.h')
-rw-r--r--accel-pppd/ctrl/ipoe/dhcpv4.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/accel-pppd/ctrl/ipoe/dhcpv4.h b/accel-pppd/ctrl/ipoe/dhcpv4.h
index cea0934..a6a445b 100644
--- a/accel-pppd/ctrl/ipoe/dhcpv4.h
+++ b/accel-pppd/ctrl/ipoe/dhcpv4.h
@@ -105,11 +105,9 @@ void dhcpv4_free(struct dhcpv4_serv *);
struct dhcpv4_relay *dhcpv4_relay_create(const char *addr, const char *giaddr, struct triton_context_t *ctx, triton_event_func recv);
void dhcpv4_relay_free(struct dhcpv4_relay *, struct triton_context_t *);
-int dhcpv4_relay_send(struct dhcpv4_relay *relay, struct dhcpv4_packet *request, uint32_t server_id,
- const char *agent_circuit_id, const char *agent_remote_id);
+int dhcpv4_relay_send(struct dhcpv4_relay *relay, struct dhcpv4_packet *request, uint32_t server_id);
int dhcpv4_relay_send_release(struct dhcpv4_relay *relay, uint8_t *chaddr, uint32_t xid, uint32_t ciaddr,
- struct dhcpv4_option *client_id, struct dhcpv4_option *relay_agent,
- const char *agent_circuit_id, const char *agent_remote_id);
+ struct dhcpv4_option *client_id, struct dhcpv4_option *relay_agent);
int dhcpv4_send_reply(int msg_type, struct dhcpv4_serv *serv, struct dhcpv4_packet *req, uint32_t yiaddr, uint32_t siaddr, uint32_t mask, int lease_time, struct dhcpv4_packet *relay_reply);
int dhcpv4_send_nak(struct dhcpv4_serv *serv, struct dhcpv4_packet *req);