Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Mar 2000 21:55:37 -0800 (PST)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/share/man/man4 bpf.4 src/sys/net bpf.c bpf.h bpfdesc.h
Message-ID:  <200003190555.VAA31332@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
rwatson     2000/03/18 21:55:37 PST

  Modified files:        (Branch: RELENG_4)
    share/man/man4       bpf.4 
    sys/net              bpf.c bpf.h bpfdesc.h 
  Log:
  MFC: support for BIOC[GS]SEESENT ioctl and bd_seesent BPF descriptor flag
  
  Commit message from -CURRENT:
    rwatson     2000/03/17 22:30:43 PST
  
    Introduce a new bd_seesent flag to the BPF descriptor, indicating whether or
    not the current BPF device should report locally generated packets or not.
    This allows sniffing applications to see only packets that are not generated
    locally, which can be useful for debugging bridging problems, or other
    situations where MAC addresses are not sufficient to identify locally
    sourced packets.  Default to true for this flag, so as to provide existing
    behavior by default.
  
    Introduce two new ioctls, BIOCGSEESENT and BIOCSSEESENT, which may be used
    to manipulate this flag from userland, given appropriate privilege.
  
    Modify bpf.4 to document these two new ioctl arguments.
  
    Reviewed by:  asmodai
  
    Revision  Changes    Path
    1.22      +9 -1      src/share/man/man4/bpf.4
    1.60      +20 -1     src/sys/net/bpf.c
    1.22      +3 -1      src/sys/net/bpf.h
    1.15      +2 -1      src/sys/net/bpfdesc.h
  
  Revision  Changes    Path
  1.21.2.1  +9 -1      src/share/man/man4/bpf.4
  1.59.2.1  +20 -1     src/sys/net/bpf.c
  1.21.2.1  +3 -1      src/sys/net/bpf.h
  1.14.2.1  +2 -1      src/sys/net/bpfdesc.h



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200003190555.VAA31332>