discuss-gnuradio
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
[Discuss-gnuradio] tunnel.py and PS3
From
:
Tim Meehan
Subject
:
[Discuss-gnuradio] tunnel.py and PS3
Date
:
Mon, 4 Feb 2008 14:41:16 -0500
Hello all,
tunnel.py (examples/python/digital) hardcodes a value
TUNSETIFF = 0x400454ca
This does not seem to be compatible with the PS3.
running tunnel.py returns
ifs = ioctl(tun, TUNSETIFF, struct.pack("16sH", "gr%d", mode))
IOError: [Errno 22] Invalid argument
Changing the hardcoded value to
TUNSETIFF = 0x800454ca (changed 4004 to 8004)
allows tunnel.py to function properly on PS3.
Question: Anyone have a good way to set these values other than hard coding them?
i.e. how can we get the values directly out of linux/if_tun.h?
Tim
reply via email to
[Prev in Thread]
Current Thread
[
Next in Thread
]
[Discuss-gnuradio] tunnel.py and PS3
,
Tim Meehan
<=
Re: [Discuss-gnuradio] tunnel.py and PS3
,
Eric Blossom
,
2008/02/04
Re: [Discuss-gnuradio] tunnel.py and PS3
,
Tim Meehan
,
2008/02/04
Re: [Discuss-gnuradio] tunnel.py and PS3
,
Eric Blossom
,
2008/02/04
Prev by Date:
[Discuss-gnuradio] problem with wx
Next by Date:
Re: [Discuss-gnuradio] tunnel.py and PS3
Previous by thread:
[Discuss-gnuradio] problem with wx
Next by thread:
Re: [Discuss-gnuradio] tunnel.py and PS3
Index(es):
Date
Thread