tech-net archive

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

Re: BPF direction filter




> 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.

> 
> Which one is prefer (or yet another one)?
> 
> -- 
> -----------------------------------------------
>                SAITOH Masanobu (msaitoh%execsw.org@localhost
>                                 msaitoh%netbsd.org@localhost)

-- thorpej



Home | Main Index | Thread Index | Old Index