From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joshua Stewart Subject: Pushing a stray sk_buff to the NIC Date: Thu, 09 Jan 2003 20:10:53 -0500 Sender: linux-kernel-owner@vger.kernel.org Message-ID: <1042161058.6107.18.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7BIT Return-path: To: Linux Kernel Mailing List , Linux network development List-Id: netdev.vger.kernel.org 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