ISDN/PPP: dynamically allocate struct ipppd, further cleanups
o Now that all the infrastructure is in place, struct ipppd can easily be allocated when /dev/ipppX is opened and freed in the destructor. o Separate the mix of state and flags in struct ipppd::state. We only have three states, open, assigned and connected, and additionally two flags to jump out of poll(), returning POLLHUP / POLLIN.
Showing
This diff is collapsed.
Please register or sign in to comment