mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Netfilter 2.4.21 Kernel
@ 2003-12-24 14:46 Raj Mansa
  0 siblings, 0 replies; only message in thread
From: Raj Mansa @ 2003-12-24 14:46 UTC (permalink / raw)
  To: linux-kernel

Hi,
I found this block of code in br_dev_queue_xmit() @
br_forward.c, after applying 'netfilter' patch for
2.4.21 kernel

Can someone explain what this block of code is doin?

#ifdef CONFIG_NETFILTER
        if (skb->nf_bridge)
                memcpy(skb->data - 16,
skb->nf_bridge->hh, 16);
#endif

1. What is 16 bytes here...? Ethernet hdr is just 14
bytes
2. Why the ethernet hdr is being overwritten with
nf_bridge->hh? what is there in nf_bridge->hh? and
when is nf_bridge being assigned this content.
3. If I remember correctly 'if' <condition> Fails for
ARP protocol and arp is untouched.

-Raj

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-12-24 14:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-24 14:46 Netfilter 2.4.21 Kernel Raj Mansa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®