Displaying 3 results from an estimated 3 matches for "in_aton".
Did you mean:
inet_aton
1998 Nov 24
1
Missing inet.h and netdb.h for SCO
I tried to compile Samba 2.0 beta with cc under SCO 3.2. I seem to be
missing the inet.h and netdb.h include files. Does anyone know if they are
publicly available?
Steve Grose
Sgrose@cmps.com
Continental Managed Pharmacy Services - www.preferrx.com
Voice - 216-459-2025 Ext. 208
Fax - 216-485-8615
Any opinions expressed are my own and not necessarily those of my employers.
2003 May 22
0
[PATCH 2.5.69 1/3] remove ipconfig support from the kernel
...urn 1;
-
- /* Parse the whole string */
- ip = addrs;
- while (ip && *ip) {
- if ((cp = strchr(ip, ':')))
- *cp++ = '\0';
- if (strlen(ip) > 0) {
- DBG(("IP-Config: Parameter #%d: `%s'\n", num, ip));
- switch (num) {
- case 0:
- if ((ic_myaddr = in_aton(ip)) == INADDR_ANY)
- ic_myaddr = INADDR_NONE;
- break;
- case 1:
- if ((ic_servaddr = in_aton(ip)) == INADDR_ANY)
- ic_servaddr = INADDR_NONE;
- break;
- case 2:
- if ((ic_gateway = in_aton(ip)) == INADDR_ANY)
- ic_gateway = INADDR_NONE;
- break;
- case 3:
- if...
2003 May 22
0
[PATCH 2.5.69 2/3] Remove NFS root support from the kernel
...if (cp == cq || cp - cq > 3)
- break;
- if (*cp == '.' || octets == 3)
- octets++;
- if (octets < 4)
- cp++;
- cq = cp;
- }
- if (octets == 4 && (*cp == ':' || *cp == '\0')) {
- if (*cp == ':')
- *cp++ = '\0';
- root_server_addr = in_aton(name);
- strcpy(name, cp);
- }
-}
-
-
-/*
- * Parse option string.
- */
-static void __init root_nfs_parse(char *name, char *buf)
-{
- char *options, *val, *cp;
-
- if ((options = strchr(name, ','))) {
- *options++ = 0;
- while ((cp = strsep(&options, ",")) != NULL) {
-...