Subject: Re: pppoectl(8) -d won't work
To: None <>
From: Michael van Elst <>
List: tech-net
Date: 08/20/2007 06:26:47 (Holger Weiss) writes:

>[...]  PPPOEGETSESSION evaluates to 3223349616.  However, I
>added some debug output to sys/net/if_pppoe.c and for some reason,
>pppoe_ioctl() receives 3230689648 via its "cmd" argument.

That's both PPPOEGETSESSION, once with a 32 byte argument, once
with a 144 byte argument. Clearly kernel and userland are out
of sync regarding sizeof(struct pppoeconnectionstate).

                                Michael van Elst
                                "A potential Snark may lurk in every tree."