summaryrefslogtreecommitdiff
path: root/accel-pppd/ctrl/ipoe/dhcpv4.h
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2013-10-10 22:39:44 +0400
committerDmitry Kozlov <xeb@mail.ru>2013-10-10 22:39:44 +0400
commit272dbf39f83240451d6a0c122ccdbe28eb892ad7 (patch)
treeb9e8e4fb13cb2dcf00535c0f5b7240928ca47ec4 /accel-pppd/ctrl/ipoe/dhcpv4.h
parent21d36db2bad56b6389873b1c10e45f36938ed5fc (diff)
downloadaccel-ppp-272dbf39f83240451d6a0c122ccdbe28eb892ad7.tar.gz
accel-ppp-272dbf39f83240451d6a0c122ccdbe28eb892ad7.zip
ipoe: optimize use of raw sockets
Signed-off-by: Dmitry Kozlov <xeb@mail.ru>
Diffstat (limited to 'accel-pppd/ctrl/ipoe/dhcpv4.h')
-rw-r--r--accel-pppd/ctrl/ipoe/dhcpv4.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pppd/ctrl/ipoe/dhcpv4.h b/accel-pppd/ctrl/ipoe/dhcpv4.h
index 57fcf93..7494b73 100644
--- a/accel-pppd/ctrl/ipoe/dhcpv4.h
+++ b/accel-pppd/ctrl/ipoe/dhcpv4.h
@@ -84,8 +84,8 @@ struct dhcpv4_iprange {
struct dhcpv4_serv {
struct triton_context_t *ctx;
struct triton_md_handler_t hnd;
- int raw_sock;
uint8_t hwaddr[6];
+ int ifindex;
void (*recv)(struct dhcpv4_serv *serv, struct dhcpv4_packet *pack);
struct dhcpv4_iprange *range;
};