/external/mdnsresponder/mDNSShared/ |
dnsextd.c | 707 sd = socket( AF_INET, SOCK_DGRAM, 0 ); 774 VLog("Successful update from %s", inet_ntop(AF_INET, &request->src.sin_addr, buf, 32)); 778 VLog("Request %s: %s", inet_ntop(AF_INET, &request->src.sin_addr, buf, 32), vlogmsg); 853 Log("Update from %s, Expires in %d:%d:%d\n\t%s", inet_ntop(AF_INET, &ptr->cli.sin_addr, addrbuf, 16), hr, min, sec, 929 pkt.src.sin_family = AF_INET; 1078 d->addr.sin_family = AF_INET; 1086 d->ns_addr.sin_family = AF_INET; 1087 inet_pton( AF_INET, LOOPBACK, &d->ns_addr.sin_addr ); [all...] |
PlatformCommon.c | 44 int sock = socket(AF_INET, SOCK_DGRAM, 0); 53 addr.a4.sin_family = AF_INET;
|
/bionic/libc/include/sys/ |
socket.h | 143 #define AF_INET 2 184 #define PF_INET AF_INET
|
/external/android-clat/ |
config.c | 109 status = inet_pton(AF_INET, tmp, ret_val_ptr); 303 logmsg(ANDROID_LOG_DEBUG,"ipv4_local_subnet = %s",inet_ntop(AF_INET, &Global_Clatd_Config.ipv4_local_subnet, charbuffer, sizeof(charbuffer)));
|
dump.c | 66 inet_ntop(AF_INET, &header->saddr, addrstr, sizeof(addrstr)); 68 inet_ntop(AF_INET, &header->daddr, addrstr, sizeof(addrstr));
|
/external/chromium/net/base/ |
listen_socket.cc | 108 SOCKET s = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); 117 addr.sin_family = AF_INET;
|
listen_socket_unittest.cc | 46 test_socket_ = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); 49 client.sin_family = AF_INET;
|
/external/chromium/third_party/libevent/test/ |
regress_dns.c | 315 sock = socket(AF_INET, SOCK_DGRAM, 0); 329 my_addr.sin_family = AF_INET;
|
/external/chromium_org/net/tools/quic/ |
quic_client.cc | 97 if (address_family == AF_INET) { 112 } else if (address_family == AF_INET) {
|
quic_socket_utils.cc | 72 if (address_family == AF_INET) { 125 if (raw_address.ss_family == AF_INET) {
|
/external/chromium_org/net/udp/ |
udp_socket_win.cc | 335 addr_family == AF_INET ? kIPv4AddressSize : kIPv6AddressSize; 615 addr_family_ == AF_INET ? IPPROTO_IP : IPPROTO_IPV6; 617 addr_family_ == AF_INET ? IP_MULTICAST_LOOP: IPV6_MULTICAST_LOOP; 626 addr_family_ == AF_INET ? IPPROTO_IP : IPPROTO_IPV6; 628 addr_family_ == AF_INET ? IP_MULTICAST_TTL: IPV6_MULTICAST_HOPS; 636 case AF_INET: { 703 if (addr_family_ != AF_INET) 742 if (addr_family_ != AF_INET)
|
/external/chromium_org/third_party/libevent/test/ |
regress_dns.c | 315 sock = socket(AF_INET, SOCK_DGRAM, 0); 329 my_addr.sin_family = AF_INET;
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
firewallsocketserver.cc | 194 return CreateSocket(AF_INET, type); 202 return CreateAsyncSocket(AF_INET, type);
|
virtualsocketserver.cc | 328 VirtualSocket* socket = new VirtualSocket(server_, AF_INET, type_, 449 if (addr.ipaddr().family() == AF_INET) { 582 if (family == AF_INET) { 607 return CreateSocket(AF_INET, type); 615 return CreateAsyncSocket(AF_INET, type); 795 CreateSocketInternal(AF_INET, SOCK_DGRAM)); [all...] |
/external/chromium_org/third_party/libjingle/source/talk/examples/peerconnection/server/ |
data_socket.cc | 73 socket_ = ::socket(AF_INET, SOCK_STREAM, 0); 289 addr.sin_family = AF_INET;
|
/external/clang/test/Analysis/ |
taint-generic.c | 154 #define AF_INET 2 /* internetwork: UDP, TCP, etc. */ 165 sock = socket(AF_INET, SOCK_STREAM, 0);
|
/external/ipsec-tools/src/racoon/ |
prsa_par.y | 248 sap->sin_family = AF_INET; 249 err = inet_pton(AF_INET, $1, (struct in_addr*)(&sap->sin_addr));
|
/external/iputils/ |
ping.c | 143 icmp_sock = socket(AF_INET, SOCK_DGRAM, IPPROTO_ICMP); 146 icmp_sock = socket(AF_INET, SOCK_RAW, IPPROTO_ICMP); 152 source.sin_family = AF_INET; 212 if (inet_pton(AF_INET, optarg, &source.sin_addr) > 0) 264 whereto.sin_family = AF_INET; 319 int probe_fd = socket(AF_INET, SOCK_DGRAM, 0); 402 if (!ifa->ifa_addr || ifa->ifa_addr->sa_family != AF_INET) [all...] |
/external/kernel-headers/original/linux/netfilter_ipv4/ |
ip_tables.h | 273 ({ (tgt)->family = AF_INET; \ 278 ({ (mtch)->family = AF_INET; \ 282 //#define ipt_register_table(tbl, repl) xt_register_table(AF_INET, tbl, repl) 283 //#define ipt_unregister_table(tbl) xt_unregister_table(AF_INET, tbl)
|
/external/kernel-headers/original/linux/ |
socket.h | 161 #define AF_INET 2 /* Internet IP Protocol */ 204 #define PF_INET AF_INET
|
/external/openssh/ |
canohost.c | 64 if (from.ss_family == AF_INET) 204 a4->sin_family = AF_INET;
|
/external/openssh/openbsd-compat/ |
port-tun.c | 229 *af = AF_INET; 268 *af = htonl(AF_INET);
|
/external/valgrind/main/auxprogs/ |
valgrind-listener.c | 266 main_sd = socket(AF_INET, SOCK_STREAM, 0); 282 server_addr.sin_family = AF_INET;
|
/external/wpa_supplicant_8/src/wps/ |
http_server.c | 242 srv->fd = socket(AF_INET, SOCK_STREAM, 0); 253 sin.sin_family = AF_INET;
|
/frameworks/av/media/libstagefright/rtsp/ |
ARTPSession.cpp | 101 int s = socket(AF_INET, SOCK_DGRAM, 0); 106 addr.sin_family = AF_INET;
|