Re: Understanding how nf_bridge_maybe_copy_header works

Bart De Schuymer <[email protected]>
Newsgroups gmane.linux.network.bridge.ebtables.devel
Message-ID <[email protected]>
On Sunday 27 June 2004 00:21, Joubert Berger wrote:
> In the br_dev_queue_push_xmit() routine a call is made to
> nf_bridge_maybe_copy_header(), which seems to copy information from
> skb->nf_bridge->data to the skb->data.  This will happen when in being
> used by the bridge.  But, I can't seem to figure out how this data is
> copied into the skb->nf_bridge->data in the first place.  If you follow
> the code in the br_netfilter.c file for VLAN frames, I never see how
> skb->nf_bridge->data is set, yet it seems to copy the data from there.
> So, I am missing something.  But, I can't seem to figure out what it
> is?  Can anyone help me?  Thanks in advance.

See nf_bridge_save_header().

cheers,
Bart



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.