tech-kern archive

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

Re: pfil_add_ihook() with PFIL_IFNET



> 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		mouse%rodents-montreal.org@localhost
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B


Home | Main Index | Thread Index | Old Index