This source code and algorithms are under MIT license, some of it can be used in Haiku:
The source code is under a permissive license, but I believe it is more for references and implementation ideas:
PPP is important for using 3G, 4G, 5G modems, also some trivialities with line connections.
https://dev.haiku-os.org/query?component=Network+%26+Internet%2FPPP&status=!closed