Re: inet_aton family in kernel space
Re: inet_aton family in kernel space
- Subject: Re: inet_aton family in kernel space
- From: Shantonu Sen <email@hidden>
- Date: Wed, 15 Dec 2004 20:31:58 -0800
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...
Shantonu
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:
This email sent to email@hidden
_______________________________________________
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