[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GNU Mach interface to packet filters
From: |
Thomas Schwinge |
Subject: |
Re: GNU Mach interface to packet filters |
Date: |
Wed, 26 Apr 2006 21:03:20 -0400 |
User-agent: |
Mutt/1.5.6+20040907i |
I committed the following:
#v+
[gnumach]/
2006-04-27 Richard Braun <syn@hurdfr.org>
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.
#v-
#v+
[hurd]/pfinet/
2006-04-27 Thomas Schwinge <tschwinge@gnu.org>
* ethernet.c (ether_filter) [NETF_IN]: Prefix `NETF_IN' to the actual
rules.
#v-
Please dont't forget to send a (short) patch to update the documentation
in [gnumach]/doc/mach.texi.
Thanks for your contribution!
Regards,
Thomas