/external/openssh/openbsd-compat/ |
rresvport.c | 53 return rresvport_af(alport, AF_INET); 70 case AF_INET:
|
fake-rfc2553.c | 35 * that ai_family is AF_INET. Don't use it for another purpose. 54 if (sa->sa_family != AF_UNSPEC && sa->sa_family != AF_INET) 71 sizeof(struct in_addr), AF_INET); 137 ai->ai_addr->sa_family = ai->ai_family = AF_INET; 167 hints->ai_family != AF_INET)
|
/system/extras/tests/bionic/libc/common/ |
test_gethostbyname.c | 58 case AF_INET: printf( "AF_INET\n"); break; 64 case AF_INET:
|
/external/chromium_org/net/base/ |
address_tracker_linux_unittest.cc | 148 MakeAddrMessage(RTM_NEWADDR, IFA_F_TEMPORARY, AF_INET, kAddr0, kEmpty, 157 MakeAddrMessage(RTM_NEWADDR, IFA_F_HOMEADDRESS, AF_INET, kAddr1, kAddr2, 179 MakeAddrMessage(RTM_NEWADDR, IFA_F_TEMPORARY, AF_INET, kAddr0, kEmpty, 188 MakeAddrMessage(RTM_NEWADDR, IFA_F_HOMEADDRESS, AF_INET, kAddr0, kEmpty, 198 MakeAddrMessage(RTM_NEWADDR, IFA_F_TEMPORARY, AF_INET, kAddr0, kEmpty, 200 MakeAddrMessage(RTM_NEWADDR, IFA_F_HOMEADDRESS, AF_INET, kAddr0, kEmpty, 212 MakeAddrMessage(RTM_NEWADDR, IFA_F_TEMPORARY, AF_INET, kAddr0, kAddr0, 233 MakeAddrMessage(RTM_NEWADDR, 0, AF_INET, kAddr0, kEmpty, &buffer); 234 MakeAddrMessage(RTM_NEWADDR, 0, AF_INET, kAddr1, kAddr2, &buffer); 240 MakeAddrMessage(RTM_DELADDR, 0, AF_INET, kEmpty, kAddr0, &buffer) [all...] |
address_list_unittest.cc | 25 address.sin_family = AF_INET; 28 ai.ai_family = AF_INET; 55 addr->sin_family = AF_INET; 100 AF_INET, 114 AF_INET,
|
/external/openssh/ |
addrmatch.c | 55 case AF_INET: 68 case AF_INET: 90 case AF_INET: 93 xa->af = AF_INET; 127 case AF_INET: 128 n->af = AF_INET; 160 case AF_INET: 186 case AF_INET: 243 case AF_INET: 278 case AF_INET [all...] |
/cts/suite/audio_quality/lib/src/ |
ClientSocket.cpp | 43 mSocket = socket(AF_INET, SOCK_STREAM, 0); 57 serverAddr.sin_family = AF_INET; 59 if (inet_pton(AF_INET, hostIp, &serverAddr.sin_addr) != 1) {
|
/external/chromium/net/base/ |
ip_endpoint.cc | 33 return AF_INET; 56 addr->sin_family = AF_INET; 85 case AF_INET: {
|
/frameworks/native/cmds/ip-up-vpn/ |
ip-up-vpn.c | 42 sa->sa_family = AF_INET; 44 return inet_pton(AF_INET, address, &((struct sockaddr_in *)sa)->sin_addr); 87 int s = socket(AF_INET, SOCK_DGRAM, 0);
|
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/ |
socket_test.cc | 247 EXPECT_LT(ki_socket(AF_INET, SOCK_RAW, 0), 0); 253 EXPECT_LT(ki_socketpair(AF_INET, SOCK_STREAM, 0, NULL), 0); 257 EXPECT_LT(ki_socketpair(AF_INET, SOCK_STREAM, 0, sv), 0); 333 EXPECT_TRUE(NULL != inet_ntop(AF_INET, &real_addr, 338 EXPECT_TRUE(NULL != inet_ntop(AF_INET, &real_addr, 343 EXPECT_TRUE(NULL != inet_ntop(AF_INET, &real_addr, 389 EXPECT_TRUE(NULL == inet_ntop(AF_INET, &ipv4_addr, 404 { AF_INET, "127.127.12.0", NULL }, 405 { AF_INET, "0.0.0.0", NULL }, 438 EXPECT_EQ(0, inet_pton(AF_INET, "127.127.12.24312", &addr)) [all...] |
/cts/tests/tests/net/jni/ |
NativeDnsJni.c | 45 if (current->ai_addr->sa_family == AF_INET) { 78 if (current->ai_addr->sa_family == AF_INET) { 102 sa4.sin_family = AF_INET; 104 inet_pton(AF_INET, GoogleDNSIpV4Address, &(sa4.sin_addr));
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/ |
inet_ntop.cc | 21 if (AF_INET == af) {
|
/external/clang/utils/CIndex/ |
completion_logger_server.py | 18 UDPSock = socket(AF_INET,SOCK_DGRAM)
|
/external/compiler-rt/lib/msan/lit_tests/ |
ioctl_custom.cc | 17 int fd = socket(AF_INET, SOCK_STREAM, 0);
|
/external/dhcpcd/ |
if-linux-wireless.c | 71 if ((s = socket(AF_INET, SOCK_DGRAM, 0)) == -1)
|
/external/iproute2/ip/ |
ipmroute.c | 119 format_host(AF_INET, 4, &msrc.data[0], sbuf, sizeof(sbuf)), 120 format_host(AF_INET, 4, &maddr.data[0], mbuf, sizeof(mbuf))); 175 get_prefix(&filter.msrc, *argv, AF_INET); 182 get_prefix(&filter.mdst, *argv, AF_INET);
|
rtmon.c | 85 family = AF_INET; 97 family = AF_INET; 138 if (!family || family == AF_INET) 144 if (!family || family == AF_INET)
|
/external/iproute2/tc/ |
m_nat.c | 60 if (get_prefix_1(&addr, *argv, AF_INET)) 68 if (get_prefix_1(&addr, *argv, AF_INET)) 193 format_host(AF_INET, 4, &sel->old_addr, buf1, sizeof(buf1)), 195 format_host(AF_INET, 4, &sel->new_addr, buf2, sizeof(buf2)),
|
/external/ppp/pppd/plugins/radius/ |
ip_util.c | 109 AF_INET)) == NULL) {
|
/device/generic/goldfish/libqemu/ |
test_host_2.c | 60 int sock = socket(AF_INET, type, 0); 66 addr.sin_family = AF_INET;
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
socketaddress.cc | 279 if (ip_.family() != AF_INET) { 283 saddr->sin_family = AF_INET; 293 if (saddr.sin_family != AF_INET) 311 } else if (addr->ss_family == AF_INET) { 338 if (talk_base::inet_pton(AF_INET, hostname.c_str(), &addr) == 0) 346 if (talk_base::inet_pton(AF_INET, hostname.c_str(), &addr4) > 0) { 374 if (addr.ss_family == AF_INET) { 390 if (family == AF_INET) {
|
ifaddrs-android.cc | 64 int fd = socket(AF_INET, SOCK_DGRAM, 0); 82 if (msg->ifa_family == AF_INET) { 84 sa->sin_family = AF_INET; 101 if (family == AF_INET) { 103 mask->sin_family = AF_INET; 192 if (family == AF_INET || family == AF_INET6) {
|
/external/iproute2/lib/ |
ll_addr.c | 39 return inet_ntop(AF_INET, addr, buf, blen); 64 if (get_addr_1(&pfx, arg, AF_INET)) {
|
/external/mdnsresponder/mDNSPosix/ |
mDNSUNP.h | 59 #define GET_SA_LEN(X) (((struct sockaddr*)&(X))->sa_family == AF_INET ? sizeof(struct sockaddr_in) : \ 62 #define GET_SA_LEN(X) (((struct sockaddr*)&(X))->sa_family == AF_INET ? sizeof(struct sockaddr_in) : sizeof(struct sockaddr))
|
/external/valgrind/main/none/tests/ |
fdleak_ipv4.c | 25 addr.sin_family = AF_INET; 45 addr.sin_family = AF_INET;
|