Home
last modified time | relevance | path

Searched refs:net (Results 1 – 3 of 3) sorted by relevance

/bionic/libc/upstream-openbsd/lib/libc/net/
Dinet_makeaddr.c40 inet_makeaddr(in_addr_t net, in_addr_t host) in inet_makeaddr() argument
44 if (net < 128) in inet_makeaddr()
45 addr = (net << IN_CLASSA_NSHIFT) | (host & IN_CLASSA_HOST); in inet_makeaddr()
46 else if (net < 65536) in inet_makeaddr()
47 addr = (net << IN_CLASSB_NSHIFT) | (host & IN_CLASSB_HOST); in inet_makeaddr()
48 else if (net < 16777216L) in inet_makeaddr()
49 addr = (net << IN_CLASSC_NSHIFT) | (host & IN_CLASSC_HOST); in inet_makeaddr()
51 addr = net | host; in inet_makeaddr()
/bionic/libc/
DAndroid.mk368 upstream-openbsd/lib/libc/net/htonl.c \
369 upstream-openbsd/lib/libc/net/htons.c \
370 upstream-openbsd/lib/libc/net/inet_addr.c \
371 upstream-openbsd/lib/libc/net/inet_lnaof.c \
372 upstream-openbsd/lib/libc/net/inet_makeaddr.c \
373 upstream-openbsd/lib/libc/net/inet_netof.c \
374 upstream-openbsd/lib/libc/net/inet_network.c \
375 upstream-openbsd/lib/libc/net/inet_ntoa.c \
376 upstream-openbsd/lib/libc/net/inet_ntop.c \
377 upstream-openbsd/lib/libc/net/inet_pton.c \
[all …]
/bionic/libc/dns/resolv/
Dres_init.c186 char *net; in __res_vinit() local
395 net = cp; in __res_vinit()
401 if (inet_aton(net, &a)) { in __res_vinit()
405 net = cp; in __res_vinit()
412 if (inet_aton(net, &a)) { in __res_vinit()