Re: inet_aton family in kernel space
Re: inet_aton family in kernel space
- Subject: Re: inet_aton family in kernel space
- From: Justin Walker <email@hidden>
- Date: Wed, 15 Dec 2004 20:39:24 -0800
On Dec 15, 2004, at 20:31, Shantonu Sen wrote:
Uh, if it's not in a public header file in /S/L/F/Kernel.framework, I
wouldn't call it "safe to use" by any means...
There's 'safe' and there's "safe"; I was referring to the former :-}.
Cheers,
Justin
On Dec 15, 2004, at 8:28 PM, Justin Walker wrote:
On Dec 15, 2004, at 18:58, Andrew White wrote:
Is there a version of inet_aton which is safe to use inside an IOKit
device
driver? How do I include it?
The kernel appears to export it, so it's safe to use. I believe the
implementation uses this signature:
int inet_aton(char * cp, struct in_addr * pin)
and is found in xnu/bsd/kern/netboot.c. This, of course, may change
across releases.
Regards,
Justin
--
Justin C. Walker, Curmudgeon-At-Large *
Institute for General Semantics | When LuteFisk is outlawed
| Only outlaws will have
| LuteFisk
*--------------------------------------
*-------------------------------*
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to email@hidden
--
Justin C. Walker, Curmudgeon-At-Large *
Institute for General Semantics | If you're not confused,
| You're not paying attention
*--------------------------------------*-------------------------------*
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden