netdev
[Top] [All Lists]

skbuff variables set already in ethernet drivers

To: netdev@xxxxxxxxxxx
Subject: skbuff variables set already in ethernet drivers
From: Guilhem Tardy <guilhem_tardy@xxxxxxxxx>
Date: Mon, 17 Sep 2001 15:32:59 -0700 (PDT)
Sender: owner-netdev@xxxxxxxxxxx
Hello,

I tried to modify the 3c59x.c driver some time ago, unsuccessfully. I now want
to get around those difficulties, could you help?

My goal is to add an unsigned long value in all UDP packets received on a
particular port. This value represents the current time from a custom rtc timer
(8192Hz). I also modified ip_input.c and udp.c for the same purpose. Obviously,
I had to turn off the checksum in 3c59x.c and udp.c.

The problem is that I don't know where skbuff.{data, mac.ethernet} point to in
3c59x.c (or any driver, for what it matters)? As a result, the value is
probably copied in the wrong place.

Thanks,
Guilhem.


__________________________________________________
Terrorist Attacks on U.S. - How can you help?
Donate cash, emergency relief information
http://dailynews.yahoo.com/fc/US/Emergency_Information/

<Prev in Thread] Current Thread [Next in Thread>