tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: BPF direction filter



On 2018/06/21 16:06, Jason Thorpe wrote:


On Jun 20, 2018, at 11:55 PM, Masanobu SAITOH <msaitoh%execsw.org@localhost> wrote:

Hi.

I'd like to add the BPF direction filter function that other OSes have.
This is mainly used with "tcpdump -Q". Is it OK to add?

The ioctl names are:

	BIOC[GS]DIRFILT		OpenBSD
	BIOC[GS]DIRECTION	FreeBSD

The FreeBSD name is nicer... and FreeBSD has more mindshare than OpenBSD, so I'd go with that one.


Done (with FreeBSD style userland interface).

 Thanks.



Which one is prefer (or yet another one)?

--
-----------------------------------------------
                SAITOH Masanobu (msaitoh%execsw.org@localhost
                                 msaitoh%netbsd.org@localhost)

-- thorpej



--
-----------------------------------------------
                SAITOH Masanobu (msaitoh%execsw.org@localhost
                                 msaitoh%netbsd.org@localhost)


Home | Main Index | Thread Index | Old Index