Skip to contentSkip to conversation

Need for ether level in userspace

DISCUSSION Scott MacKay 1 participant 1 message Jan 19, 2004 netfilter

lore
Share & tools
lore
#0 lore raw

Hello,
I need to get access to a packet's ethernet packet
from a QUEUE userspace application. It looks like only the payload is provided, though there is a hw_addr field from the message (which I think is empty, looking at the ip_queue.c source code.

Is there any way to get the source/dst ether address other than mangling the userspace message?

__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus