Home
last modified time | relevance | path

Searched refs:in_addr_t (Results 1 – 25 of 62) sorted by relevance

123

/external/android-clat/
Dconfig.c218 int connect_is_ipv4_address_free(in_addr_t addr) { in connect_is_ipv4_address_free()
245 in_addr_t config_select_ipv4_address(const struct in_addr *ip, int16_t prefixlen) { in config_select_ipv4_address()
246 in_addr_t chosen = INADDR_NONE; in config_select_ipv4_address()
254 in_addr_t mask = 0xffffffff >> (32 - prefixlen) << (32 - prefixlen); in config_select_ipv4_address()
255 in_addr_t ipv4 = ntohl(ip->s_addr); in config_select_ipv4_address()
256 in_addr_t first_ipv4 = ipv4; in config_select_ipv4_address()
257 in_addr_t prefix = ipv4 & mask; in config_select_ipv4_address()
Dconfig.h45 in_addr_t config_select_ipv4_address(const struct in_addr *ip, int16_t prefixlen);
48 typedef int (*addr_free_func)(in_addr_t addr);
Dclatd_test.cpp690 int never_free(in_addr_t /* addr */) { return 0; } in never_free() argument
691 int always_free(in_addr_t /* addr */) { return 1; } in always_free() argument
692 int only2_free(in_addr_t addr) { return (ntohl(addr) & 0xff) == 2; } in only2_free()
693 int over6_free(in_addr_t addr) { return (ntohl(addr) & 0xff) >= 6; } in over6_free()
694 int only10_free(in_addr_t addr) { return (ntohl(addr) & 0xff) == 10; } in only10_free()
/external/ipsec-tools/src/racoon/
Disakmp_cfg.h86 in_addr_t network4;
87 in_addr_t netmask4;
88 in_addr_t dns4[MAXNS];
90 in_addr_t nbns4[MAXWINS];
Disakmp_cfg.c118 struct isakmp_data *, in_addr_t *);
121 struct isakmp_data *, in_addr_t *, int);
783 in_addr_t addr4;
1025 in_addr_t *addr;
1050 in_addr_t *addr;
1772 in_addr_t *addr;
1779 addr = (in_addr_t *)(attr + 1);
1793 in_addr_t *addr;
1804 addr = (in_addr_t *)(attr + 1);
2138 isakmp_cfg_config.network4 = (in_addr_t)0x00000000;
[all …]
/external/fio/os/windows/posix/include/arpa/
Dinet.h8 typedef int in_addr_t; typedef
13 in_addr_t inet_network(const char *cp);
/external/curl/lib/
Dhostip.h35 #undef in_addr_t
36 #define in_addr_t unsigned long macro
195 #define CURL_INADDR_NONE (in_addr_t) ~0
Dconfig-amigaos.h116 #define in_addr_t int macro
Dconfig-dos.h145 #define in_addr_t u_long macro
Dconfig-win32ce.h320 #define in_addr_t unsigned long macro
Dcurl_addrinfo.c46 # undef in_addr_t
47 # define in_addr_t unsigned long macro
Dconfig-os400.h435 #define in_addr_t unsigned long macro
Dasyn-thread.c50 #undef in_addr_t
51 #define in_addr_t unsigned long macro
Dasyn-ares.c47 #undef in_addr_t
48 #define in_addr_t unsigned long macro
/external/dhcpcd-6.8.2/
Dif-options.h185 in_addr_t *blacklist;
187 in_addr_t *whitelist;
189 in_addr_t *arping;
Dipv4ll.c72 static in_addr_t
75 in_addr_t addr; in ipv4ll_pick_addr()
153 in_addr_t fail; in ipv4ll_conflicted()
Darp.c58 arp_request(const struct interface *ifp, in_addr_t sip, in_addr_t tip, in arp_request()
/external/curl/CMake/
DCurlTests.c182 if ((in_addr_t *) 0) in main()
184 if (sizeof (in_addr_t)) in main()
/external/dnsmasq/src/
Doption.c1255 if ((new->start.s_addr = inet_addr(comma)) == (in_addr_t)-1 || in one_opt()
1267 if ((new->start.s_addr = inet_addr(comma)) == (in_addr_t)-1 || in one_opt()
1268 (new->end.s_addr = inet_addr(arg)) == (in_addr_t)-1) in one_opt()
1271 else if ((new->start.s_addr = new->end.s_addr = inet_addr(comma)) == (in_addr_t)-1) in one_opt()
1337 if (arg && (addr.s_addr = inet_addr(arg)) != (in_addr_t)-1) in one_opt()
1699 if ((k < 2) || ((new->start.s_addr = inet_addr(a[0])) == (in_addr_t)-1)) in one_opt()
1711 else if ((new->end.s_addr = inet_addr(a[1])) == (in_addr_t)-1) in one_opt()
1722 ((new->netmask.s_addr = inet_addr(a[2])) != (in_addr_t)-1)) in one_opt()
1732 ((new->broadcast.s_addr = inet_addr(a[3])) != (in_addr_t)-1)) in one_opt()
1846 else if (strchr(a[j], '.') && (in.s_addr = inet_addr(a[j])) != (in_addr_t)-1) in one_opt()
[all …]
/external/openssh/openbsd-compat/
Dinet_aton.c69 in_addr_t
/external/libvncserver/libvncserver/
Dsockets.c133 in_addr_t iface = rfbScreen->listenInterface; in rfbInitSockets()
836 rfbStringToAddr(char *str, in_addr_t *addr) { in rfbStringToAddr()
855 in_addr_t iface) in rfbListenOnTCPPort()
1037 in_addr_t iface) in rfbListenOnUDPPort()
/external/c-ares/
Dconfig-win32.h209 #define in_addr_t unsigned long macro
Dares_config.h511 #undef in_addr_t
/external/libvncserver/rfb/
Drfbproto.h119 typedef uint32_t in_addr_t; typedef
123 #define INADDR_NONE ((in_addr_t) 0xffffffff)
Drfb.h360 in_addr_t listenInterface;
755 extern int rfbListenOnTCPPort(int port, in_addr_t iface);
757 extern int rfbListenOnUDPPort(int port, in_addr_t iface);
758 extern int rfbStringToAddr(char* string,in_addr_t* addr);

123