aboutsummaryrefslogtreecommitdiff
path: root/include/device/bpf.h
Commit message (Collapse)AuthorAgeFilesLines
* Avoid old typeSamuel Thibault2018-03-031-4/+2
| | | | | * include/device/bpf.h: Do not include <sys/types.h> (struct bpf_version): Use unsigned short type instead of u_short.
* 2006-05-14 Roland McGrath <roland@frob.com>Thomas Schwinge2009-06-181-4/+0
| | | | | | | | | | | | [sync from HEAD, 2002-06-17] * device/if_hdr.h: Replace ancient UCB copyright terms with current approved UCB terms. * include/sys/reboot.h: Likewise. * include/device/disk_status.h: Likewise. * include/device/tape_status.h: Likewise. * device/net_io.c: Remove advertising clause from UCB copyright terms. * include/device/audio_status.h: Likewise. * include/device/bpf.h: Likewise.
* 2006-04-27 Richard Braun <syn@hurdfr.org>Thomas Schwinge2009-06-181-5/+6
| | | | | | | | | | | | | | | | | | | Manuel Menal <mmenal@hurdfr.org> * device/if_hdr.h (struct ifnet): Added new members `if_snd_port_list' and `if_snd_port_list_lock'. * device/net_io.c: Reworked to improve BPF support. Filters can be applied to ingress packets, egress packets, or both. * device/subrs.c: Initialize the `if_snd_port_list' and `if_snd_port_list_lock'. * include/device/bpf.h [0]: Enable unconditionally. Include <sys/types.h>. (BPF_IN, BPF_OUT): New macros. * include/device/net_status.h (NETF_TYPE_MASK, NETF_IN, NETF_OUT): New macros. (struct net_rcv_msg): New member `sent'. * linux/dev/glue/net.c: Mark ingress packets as received and inject egress packets into the packet filters.
* Initial sourceThomas Bushnell1997-02-251-0/+249