Re: pfil_add_ihook() with PFIL_IFNET

Mouse <[email protected]>
Newsgroups gmane.os.netbsd.devel.kernel
Message-ID <[email protected]>
> when I create hook with parameter PFIL_IFNET what actions should
> invoke hook with PFIL_IFNET_ATTACH or PFIL_IFNET_DETACH ?

I don't actually know, though my guess would be an interface attaching
or detaching (eg, USB Ethernet plugged in or removed).

But, surely, it seems to me the simple thing to do is to just grep for
PFIL_IFNET_ATTACH and PFIL_IFNET_DETACH and look at the surrounding
code to see what circumstances they're used in.

/~\ The ASCII				  Mouse
\ / Ribbon Campaign
 X  Against HTML		[email protected]
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.