mirror of
https://review.haiku-os.org/haiku
synced 2025-02-22 21:48:35 +01:00
PPPEncapsulator was removed. PPPProtocol is now a protocol and an encapsulator. PPPDevice, PPPProtocol, and PPPInterface derive from PPPLayer. This base class simplifies the packet passing process and gives PPPDevice more flexibility as it now can add layers between itself and PPPInterface (which was not possible before). This feature will probably be used by the HDLC framing module. Also, PPPProtocol will always send to the next layer which might either be another protocol, an encapsulator protocol, or the PPPInterface. No distinction is necessary anymore. This all reduced the list template usage and made some methods simpler. With this step I could reduce the size of the libkernelppp.a binary from >200K to 143K. Now, I will go hunting bugs! :) git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4928 a95241bf-73f2-0310-859d-f6bbb57e9c96