patch-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Patch-gnuradio] Re: [Discuss-gnuradio] tunnel.py and PS3


From: Tim Meehan
Subject: [Patch-gnuradio] Re: [Discuss-gnuradio] tunnel.py and PS3
Date: Mon, 4 Feb 2008 19:51:48 -0800


Eric,

I am not sure if this is what you meant or not, but here you go.

I added if_tun_utils.h and if_tun_utils.i to gnuradio-core/src/lib/general
I only coded get_TUNSETIFF() as this was the define that was broken on the PS3

I added a check in configure.ac to check if if_tun.h was available.  This patch should not break
the build on systems that do not have if_tun.h

Tim

<snip>


It may be easiest to write a small stand-alone function that just
returns the value of TUNSETIFF and then swig that.  E.g.,

int
get_TUNSETIFF()
{
#ifdef TUNSETIFF
 return TUNSETIFF;
#else
 return -1;
#endif
}

Feel free to drop it into gnuradio-core/src/lib/general and send a patch.

Thanks,
Eric

Attachment: if_tun_hack.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]