From owner-cvs-src@FreeBSD.ORG Mon Feb 26 22:32:27 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7029216A406; Mon, 26 Feb 2007 22:32:27 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162]) by mx1.freebsd.org (Postfix) with ESMTP id E24A813C471; Mon, 26 Feb 2007 22:32:26 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from niksun.com (anuket [10.70.0.5]) by anuket.mj.niksun.com (8.13.6/8.13.6) with ESMTP id l1QMWP7d005248; Mon, 26 Feb 2007 17:32:25 -0500 (EST) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: src-committers@FreeBSD.org Date: Mon, 26 Feb 2007 17:32:15 -0500 User-Agent: KMail/1.6.2 References: <200702262224.l1QMOEFI013033@repoman.freebsd.org> In-Reply-To: <200702262224.l1QMOEFI013033@repoman.freebsd.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200702261732.18056.jkim@FreeBSD.org> X-Virus-Scanned: ClamAV 0.88.6/2656/Mon Feb 26 15:24:59 2007 on anuket.mj.niksun.com X-Virus-Status: Clean Cc: cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/contrib/libpcap pcap-bpf.c src/share/man/man4 bpf.4 src/sys/net bpf.c bpf.h bpfdesc.h src/usr.bin/netstat bpf.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 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 Feb 2007 22:32:27 -0000 On Monday 26 February 2007 05:24 pm, Jung-uk Kim wrote: > jkim 2007-02-26 22:24:14 UTC > > FreeBSD src repository > > Modified files: > contrib/libpcap pcap-bpf.c > share/man/man4 bpf.4 > sys/net bpf.c bpf.h bpfdesc.h > usr.bin/netstat bpf.c > Log: > Add three new ioctl(2) commands for bpf(4). > > - BIOCGDIRECTION and BIOCSDIRECTION get or set the setting > determining whether incoming, outgoing, or all packets on the > interface should be returned by BPF. Set to BPF_D_IN to see only > incoming packets on the interface. Set to BPF_D_INOUT to see > packets originating locally and remotely on the interface. Set to > BPF_D_OUT to see only outgoing packets on the interface. This > setting is initialized to BPF_D_INOUT by default. BIOCGSEESENT and > BIOCSSEESENT are obsoleted by these but kept for backward > compatibility. > > - BIOCFEEDBACK sets packet feedback mode. This allows injected > packets to be fed back as input to the interface when output via > the interface is successful. When BPF_D_INOUT direction is set, > injected outgoing packet is not returned by BPF to avoid > duplication. This flag is initialized to zero by default. > > Note that libpcap has been modified to support BPF_D_OUT > direction for pcap_setdirection(3) and PCAP_D_OUT direction is > functional now. > > Reviewed by: rwatson > > Revision Changes Path > 1.3 +16 -3 src/contrib/libpcap/pcap-bpf.c This file was conveniently off the vendor branch. ;-) But I'd like to upstream the patch to make sure to get the change in the next import. Does anyone have access to libpcap cvs? Thanks, Jung-uk Kim