summaryrefslogtreecommitdiff
path: root/accel-pppd/ppp/ppp.h
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2011-01-17 18:08:11 +0300
committerDmitry Kozlov <xeb@mail.ru>2011-01-17 18:08:11 +0300
commitc783f297faa2453daca7189182a17f913e003ccc (patch)
tree0527171103dbe568658ea21262e1027b7023bf9a /accel-pppd/ppp/ppp.h
parent56762d9574d05bff9709c856f9f466c51156f549 (diff)
downloadaccel-ppp-c783f297faa2453daca7189182a17f913e003ccc.tar.gz
accel-ppp-c783f297faa2453daca7189182a17f913e003ccc.zip
memory usage optimization
Diffstat (limited to 'accel-pppd/ppp/ppp.h')
-rw-r--r--accel-pppd/ppp/ppp.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/accel-pppd/ppp/ppp.h b/accel-pppd/ppp/ppp.h
index c633135c..5fee8a41 100644
--- a/accel-pppd/ppp/ppp.h
+++ b/accel-pppd/ppp/ppp.h
@@ -103,10 +103,8 @@ struct ppp_t
int terminated:1;
int terminate_cause;
- void *chan_buf;
- int chan_buf_size;
- void *unit_buf;
- int unit_buf_size;
+ void *buf;
+ int buf_size;
struct list_head chan_handlers;
struct list_head unit_handlers;