Re: Linux Packet dropper -more particularly problem with SKBUFF.H
- From: "SaranJothy" <saranjothy@xxxxxxxxx>
- Date: 21 Dec 2005 23:28:12 -0800
I myself got the solution for this problem.
i have missed flags for compiling which created the headache.
Its best to use Make for this program.
It goes like this.
TARGET := pktdrop
WARN := -W -Wall -Wstrict-prototypes -Wmissing-prototypes
INCLUDE := -isystem /lib/modules/`uname -r`/build/include
CFLAGS := -O2 -DMODULE -D__KERNEL__ ${WARN} ${INCLUDE}
CC := gcc
${TARGET}.o: ${TARGET}.c
..PHONY: clean
clean:
rm -rf ${TARGET}.o
But as i have used simple compilation iike gcc - in the command line
itself with limited flags.
it created problems.....
HAPPY CODING.
SaranJothy
.
- References:
- Linux Packet dropper -
- From: SaranJothy
- Re: Linux Packet dropper -
- From: Allen McIntosh
- Re: Linux Packet dropper -
- From: SaranJothy
- Re: Linux Packet dropper -more particularly problem with SKBUFF.H
- From: SaranJothy
- Linux Packet dropper -
- Prev by Date: Re: Linux Packet dropper -more particularly problem with SKBUFF.H
- Next by Date: TCP/IP packet monitoring on linux
- Previous by thread: Re: Linux Packet dropper -more particularly problem with SKBUFF.H
- Next by thread: Re: Wireless drivers for TNETW1130 chipset / US Robotics 805410 Card
- Index(es):
Relevant Pages
|