• Kai Germaschewski's avatar
    ISDN/PPP: dynamically allocate struct ipppd, further cleanups · a0097af3
    Kai Germaschewski authored
    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.
    a0097af3
isdn_ppp.c 49.3 KB