Virtual network interface(urgent)

Submitted by vasanthbp
on June 23, 2006 - 1:55am

Hi,
I am working on a small application involving IPtables . But now
I have to make use of this(see the link) virtual interface driver (insane)
for my application
(
www.linux.it/~rubini/docs/vinter/vinter.html
http://www.linux.it/~rubini/docs/vinter/insane.tar.gz).

This software had been successfully tested under kernel-2.3

I tried compiling it on kernel-2.6.11-6. but I got the following errors.
I am new to kernel programming and require your help to solve this
compile time errors.

I just want to create one virtual network interface and then bind it to one
physical interface. Also I want this virtual networl interface to be
active at all times independent of the physical network interface
status(UP or down).

Please give me your valuable suggestion. Also if know you some softwares which
can do the similar stuff. Please let me know.

Thanx
**************ERROR*********************************8
cc -MM *.c > .depend
In file included from /usr/include/linux/sched.h:14,
from /usr/include/linux/module.h:9,
from insane.c:29:
/usr/include/linux/cpumask.h:238:5: error: missing binary operator before
token "("
/usr/include/linux/cpumask.h:297:5: error: missing binary operator before
token "("
/usr/include/linux/cpumask.h:366:5: error: missing binary operator before
token "("
In file included from /usr/include/linux/module.h:22,
from insane.c:29:
/usr/include/asm/module.h:60:2: error: #error unknown processor family
insane.c:32:45: error: linux/malloc.h: No such file or directory
insane.c:37:50: error: net/arp.h: No such file or directory
make: *** [depend] Error 1

regarding INSANE......

Anonymous (not verified)
on
August 22, 2007 - 2:45am

hi vasanth

i am also getting the same problem ..... did u get any solution to it....

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.