[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Re: tun/tap OS X for tunneling
From: |
Johnathan Corgan |
Subject: |
Re: [Discuss-gnuradio] Re: tun/tap OS X for tunneling |
Date: |
Tue, 6 Jan 2009 08:39:52 -0800 |
On Tue, Jan 6, 2009 at 6:34 AM, Mark Kuhr <address@hidden> 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] Re: tun/tap OS X for tunneling, Michael Dickens, 2009/01/06
- [Discuss-gnuradio] Re: tun/tap OS X for tunneling, Mark Kuhr, 2009/01/06
- Re: [Discuss-gnuradio] Re: tun/tap OS X for tunneling,
Johnathan Corgan <=
- Re: [Discuss-gnuradio] Re: tun/tap OS X for tunneling, Ed Criscuolo, 2009/01/06
- Re: [Discuss-gnuradio] Re: tun/tap OS X for tunneling, Johnathan Corgan, 2009/01/06
- Re: [Discuss-gnuradio] Re: tun/tap OS X for tunneling, Eric Blossom, 2009/01/06
- Re: [Discuss-gnuradio] Re: tun/tap OS X for tunneling, Mark Kuhr, 2009/01/10
- Re: [Discuss-gnuradio] Re: tun/tap OS X for tunneling, Johnathan Corgan, 2009/01/12
- Re: [Discuss-gnuradio] Re: tun/tap OS X for tunneling, Michael Dickens, 2009/01/12
- Re: [Discuss-gnuradio] Re: tun/tap OS X for tunneling, Johnathan Corgan, 2009/01/12