From owner-cvs-src@FreeBSD.ORG Mon Jan 26 06:53:17 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B8C6716A4CE; Mon, 26 Jan 2004 06:53:17 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id F355F43D45; Mon, 26 Jan 2004 06:53:16 -0800 (PST) (envelope-from harti@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i0QErG0B042845; Mon, 26 Jan 2004 06:53:16 -0800 (PST) (envelope-from harti@repoman.freebsd.org) Received: (from harti@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i0QErG5d042844; Mon, 26 Jan 2004 06:53:16 -0800 (PST) (envelope-from harti) Message-Id: <200401261453.i0QErG5d042844@repoman.freebsd.org> From: Hartmut Brandt Date: Mon, 26 Jan 2004 06:53:16 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/netgraph ng_source.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jan 2004 14:53:17 -0000 harti 2004/01/26 06:53:16 PST FreeBSD src repository Modified files: sys/netgraph ng_source.c Log: Make ng_source to work with non-ethernet interfaces. We do this by introducing a START_NOW command. This command does not send and GET_IFINDEX message downstream (to wait for the response from the ETHERNET node), but directly starts the sending process. This allows one to generate traffic as input for any hook on any node. Revision Changes Path 1.13 +37 -2 src/sys/netgraph/ng_source.c