Searched refs:net (Results 1 - 15 of 15) sorted by relevance

/bionic/libc/upstream-openbsd/lib/libc/net/
H A Dinet_makeaddr.c39 inet_makeaddr(in_addr_t net, in_addr_t host) argument
43 if (net < 128)
44 addr = (net << IN_CLASSA_NSHIFT) | (host & IN_CLASSA_HOST);
45 else if (net < 65536)
46 addr = (net << IN_CLASSB_NSHIFT) | (host & IN_CLASSB_HOST);
47 else if (net < 16777216L)
48 addr = (net << IN_CLASSC_NSHIFT) | (host & IN_CLASSC_HOST);
50 addr = net | host;
/bionic/tests/headers/posix/
H A Dnet_if_h.c29 #include <net/if.h>
/bionic/libc/bionic/
H A Dether_ntoa.c31 #include <net/ethernet.h>
H A Dether_aton.c29 #include <net/ethernet.h>
H A Dnet_if.cpp29 #include <net/if.h>
H A Difaddrs.cpp33 #include <net/if.h>
/bionic/libc/include/netinet/
H A Dif_ether.h48 #include <net/if_arp.h>
50 #include <net/ethernet.h>
/bionic/tools/versioner/current/netinet/
H A Dif_ether.h48 #include <net/if_arp.h>
50 #include <net/ethernet.h>
/bionic/tests/
H A Dnet_if_test.cpp17 #include <net/if.h>
H A Difaddrs_test.cpp24 #include <net/ethernet.h>
25 #include <net/if.h>
76 // Check that getifaddrs sees the same list of interfaces as /sys/class/net.
98 std::unique_ptr<DIR, decltype(&closedir)> d(opendir("/sys/class/net"), closedir);
/bionic/libc/dns/resolv/
H A Dres_init.c185 char *net; local
396 net = cp;
402 if (inet_aton(net, &a)) {
406 net = cp;
413 if (inet_aton(net, &a)) {
H A Dres_cache.c41 #include <net/if.h>
/bionic/libc/dns/net/
H A Dgetnameinfo.c56 #include <net/if.h>
H A Dgetaddrinfo.c87 #include <net/if.h>
/bionic/libc/dns/include/
H A Dresolv_private.h63 #include <net/if.h>
132 #define MAXRESOLVSORT 10 /* number of net to sort on */

Completed in 9807 milliseconds