captcp is Ethernet centric. Some values like link layer overhead is always calculated with a Ethernet assumption. Since bb00a872c08 and PPP support this is not true.
There is no easy workaround because the API as based on a Ethernet assumption. Solution: shift packet data argument to packet and not packet.data and provide real link layer access. This needs modification to all modules!
captcp is Ethernet centric. Some values like link layer overhead is always calculated with a Ethernet assumption. Since bb00a872c08 and PPP support this is not true.
There is no easy workaround because the API as based on a Ethernet assumption. Solution: shift packet data argument to packet and not packet.data and provide real link layer access. This needs modification to all modules!