Re: KEV_DL_IF_DETACHED/KEV_DL_IF_ATTACHED: how to?
Re: KEV_DL_IF_DETACHED/KEV_DL_IF_ATTACHED: how to?
- Subject: Re: KEV_DL_IF_DETACHED/KEV_DL_IF_ATTACHED: how to?
- From: Stephane Sudre <email@hidden>
- Date: Mon, 28 Feb 2005 14:20:21 +0100
On 28 févr. 05, at 13:01, Stephane Sudre wrote:
On 26 févr. 05, at 02:52, Justin Walker wrote:
On Feb 25, 2005, at 8:36, Stephane Sudre wrote:
What kind of operation/action can trigger a KEV_DL_IF_ATTACHED or
KEV_DL_IF_DETACHED kernel event?
If you haven't tried it yet, consider getting a copy of the xnu
kernel source and using 'cscope'. This will let you track down the
answer to such questions (as long as the answers lie in the BSD/Mach
part of the kernel; cscope does not grok C++ [and it's not alone]).
Will have a look but I'm not sure it's going to tell me how I can
physically reproduce it.
According to the dlil.c code I'm looking at, it looks like that when
all proto have been detached (KEV_DL_PROTO_DETACHED) from the
interface, the interface is detached (KEV_DL_IF_DETACHED).
On the OS version for which I'm trying to see a KEV_DL_IF_DETACHED
event , when I disable an interface from the Network Preferences Pane,
I see 2 KEV_DL_PROTO_DETACHED events but no KEV_DL_IF_DETACHED event as
far as I can tell.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden