All of lore.kernel.org
 help / color / mirror / Atom feed
* Pushing a stray sk_buff to the NIC
@ 2003-01-10  1:10 Joshua Stewart
  2003-01-10 14:34 ` Rui Sousa
  0 siblings, 1 reply; 2+ messages in thread
From: Joshua Stewart @ 2003-01-10  1:10 UTC (permalink / raw)
  To: Linux Kernel Mailing List, Linux network development

I'm trying to take "hand-built" sk_buffs with little more than some data
and a dev member and push them to the NIC for transmission.  I would
like to simply give them to dev_queue_xmit.  Does anybody know what
state I should have them in before handing them to dev_queue_xmit? 
Should skb->data point to the start of a MAC header or an IP header?

Also, given an IP address in skb->nh.iph->daddr, what's the easiest way
to get the appropriate MAC address?

J




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-01-10 14:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-10  1:10 Pushing a stray sk_buff to the NIC Joshua Stewart
2003-01-10 14:34 ` Rui Sousa

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.