From owner-freebsd-net Sat Mar 9 13: 0: 9 2002 Delivered-To: freebsd-net@freebsd.org Received: from InterJet.dellroad.org (adsl-63-194-81-26.dsl.snfc21.pacbell.net [63.194.81.26]) by hub.freebsd.org (Postfix) with ESMTP id 8B18437B400 for ; Sat, 9 Mar 2002 13:00:04 -0800 (PST) Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.1.1.20]) by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id MAA15072; Sat, 9 Mar 2002 12:46:43 -0800 (PST) Received: (from archie@localhost) by arch20m.dellroad.org (8.11.6/8.11.6) id g29Kk9A54700; Sat, 9 Mar 2002 12:46:09 -0800 (PST) (envelope-from archie) From: Archie Cobbs Message-Id: <200203092046.g29Kk9A54700@arch20m.dellroad.org> Subject: Re: netgraph for slip or 802.11 In-Reply-To: "from Roop Mukherjee at Mar 6, 2002 06:27:51 pm" To: Roop Mukherjee Date: Sat, 9 Mar 2002 12:46:09 -0800 (PST) Cc: freebsd-net@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL88 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Roop Mukherjee writes: > But I can't seem to find any call to ether_output() or even packets being > queued at if_snd. How does the ng_ether node actually cause transmission > on the wire? All packets passing through the code in if_ethersubr.c get detoured through ng_ether.c via function pointers which are set when the ng_ether.ko module is loaded. To transmit a packet on the wire, ng_ether.c calls ether_output_frame(). -Archie __________________________________________________________________________ Archie Cobbs * Packet Design * http://www.packetdesign.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message