Getting ethernet dest hw_addr

2005-03-17 Thread Weber Matthias
Hi, i want to write a packet handler for redirecting ethernet packets from an input device to an output device. actually my problem is to get the dest hw addr from the computer physically connected to mine. the only way seems to restrict on ip packets since it seems that routing and arp needs t

Resending ethernet packets to direct neighbours

2005-03-14 Thread Weber Matthias
Hi, i have a pc with five ethernet devices onto and want to resend ethernet packets coming in from one device to four direct neighbours (distance 1). Therefore i have installed a packet handler receiving skbs. Now i have the following questions: 1) is it enough to change the skb->dev to the outp

RE: Writing data > PAGESIZE into kernel with proc fs

2005-03-09 Thread Weber Matthias
On Tue, Mar 08, 2005 at 20:05:42 +0100, Weber Matthias wrote: >> is there any chance to signal an EOF when writing data to kernel via proc >> fs? >> Actually if the length of data is N*PAGE_SIZE it seems not to be >> detectable. >> I followed up the "struct fi

Writing data > PAGESIZE into kernel with proc fs

2005-03-08 Thread Weber Matthias
Hi, is there any chance to signal an EOF when writing data to kernel via proc fs? Actually if the length of data is N*PAGE_SIZE it seems not to be detectable. I followed up the "struct file" but haven't found anything that helped... Any help would be appreciated! Bye Matthias - To unsubscribe