pppoe: use explicit types in api