On Tue, Jan 6, 2009 at 6:34 AM, Mark Kuhr <[email protected]> wrote:

> ifs = ioctl(tun, TUNSETIFF, struct.pack("16sH", "gr%d", mode))
>
> I'm guessing there is a difference in the ioctl implementation between linux
> and OS X.  I'm working through it and will post any progress.  But if
> someone can point out what's wrong that would be helpful.

In tunnel.py, line 77, TUNSETIFF is hardcoded to a value appropriate
for Linux, which really is defined in linux/tun_if.h (see comment on
line 66).

It's almost a certainty this value is invalid for OS X.

-Johnathan


_______________________________________________
Discuss-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to