/external/linux-kselftest/tools/testing/selftests/net/ |
run_netsocktests | 5 echo "running socket test" 7 ./socket
|
/bionic/libc/kernel/uapi/asm-arm/asm/ |
socket.h | 19 #include <asm-generic/socket.h>
|
/bionic/libc/kernel/uapi/asm-arm64/asm/ |
socket.h | 19 #include <asm-generic/socket.h>
|
/bionic/libc/kernel/uapi/asm-x86/asm/ |
socket.h | 19 #include <asm-generic/socket.h>
|
/external/kernel-headers/original/uapi/asm-arm/asm/ |
socket.h | 1 #include <asm-generic/socket.h>
|
/external/kernel-headers/original/uapi/asm-arm64/asm/ |
socket.h | 1 #include <asm-generic/socket.h>
|
/external/kernel-headers/original/uapi/asm-x86/asm/ |
socket.h | 1 #include <asm-generic/socket.h>
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/i386-linux-gnu/asm/ |
socket.h | 1 #include <asm-generic/socket.h>
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/i386-linux-gnu/sys/ |
socketvar.h | 3 #include <sys/socket.h>
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/x86_64-linux-gnu/asm/ |
socket.h | 1 #include <asm-generic/socket.h>
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/x86_64-linux-gnu/sys/ |
socketvar.h | 3 #include <sys/socket.h>
|
/bionic/libc/bionic/ |
socket.cpp | 19 #include <sys/socket.h> 21 int socket(int domain, int type, int protocol) { function 22 return __netdClientDispatch.socket(domain, type, protocol);
|
recv.cpp | 29 #include <sys/socket.h> 31 ssize_t recv(int socket, void *buf, size_t len, int flags) { 32 return recvfrom(socket, buf, len, flags, NULL, 0);
|
send.cpp | 29 #include <sys/socket.h> 31 ssize_t send(int socket, const void* buf, size_t len, int flags) { 32 return sendto(socket, buf, len, flags, NULL, 0);
|
/external/scapy/scapy/arch/ |
solaris.py | 11 import socket 12 socket.IPPROTO_GRE = 47
|
/external/xmlrpcpp/src/ |
XmlRpcSocket.h | 16 //! A platform-independent socket API. 20 //! Creates a stream (TCP) socket. Returns -1 on failure. 21 static int socket(); 23 //! Closes a socket. 24 static void close(int socket); 27 //! Sets a stream (TCP) socket to perform non-blocking IO. Returns false on failure. 28 static bool setNonBlocking(int socket); 30 //! Read text from the specified socket. Returns false on error. 31 static bool nbRead(int socket, std::string& s, bool *eof); 33 //! Write text to the specified socket. Returns false on error [all...] |
/tools/test/connectivity/acts/framework/acts/controllers/utils_lib/ |
host_utils.py | 15 import socket 27 # On the 2.6 kernel, calling _try_bind() on UDP socket returns the 31 port = _try_bind(0, socket.SOCK_STREAM, socket.IPPROTO_TCP) 33 if port and _try_bind(port, socket.SOCK_DGRAM, socket.IPPROTO_UDP): 46 return (_try_bind(port, socket.SOCK_STREAM, socket.IPPROTO_TCP) and 47 _try_bind(port, socket.SOCK_DGRAM, socket.IPPROTO_UDP) [all...] |
/development/tools/axl/ |
udpEater.py | 24 import time, socket, string 29 svrsocket = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) 30 svrsocket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) 33 hostname = socket.gethostname() 34 ip = socket.gethostbyname(hostname)
|
udpServer.py | 2 import time, socket, string 9 svrsocket = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) 10 svrsocket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) 13 # hostname = socket.gethostname() 15 ip = socket.gethostbyname(hostname)
|
/device/google/cuttlefish_common/guest/libs/remoter/ |
remoter_framework_pkt.cpp | 25 ALOGI("Connected to remoter (socket %d)", socket); 31 int socket = socket_local_client( local 33 if (socket < 0) { 38 ALOGI("Connected to remoter (socket %d)", socket); 41 return socket;
|
/external/parameter-framework/upstream/remote-processor/ |
Socket.h | 32 /** Wraps and hides asio::ip::tcp::socket 34 * asio::ip::tcp::socket cannot be forward-declared because it is an 38 class Socket 41 Socket(asio::ip::tcp::socket &socket) : mSocket(socket) {} 43 asio::ip::tcp::socket &get() { return mSocket; } 46 asio::ip::tcp::socket &mSocket;
|
/external/autotest/client/site_tests/kernel_ProtocolCheck/ |
kernel_ProtocolCheck.py | 5 import logging, socket 13 # Defines that python's socket lacks. 21 # Contains information needed to create a socket using a particular 26 Protocol('RFCOMM', AF_BLUETOOTH, socket.SOCK_STREAM, BTPROTO_RFCOMM), 27 Protocol('RFCOMM', AF_BLUETOOTH, socket.SOCK_SEQPACKET, BTPROTO_SCO), 28 Protocol('L2CAP', AF_BLUETOOTH, socket.SOCK_STREAM, BTPROTO_L2CAP), 29 Protocol('HCI', AF_BLUETOOTH, socket.SOCK_RAW, BTPROTO_HCI), 30 Protocol('PACKET', socket.AF_PACKET, socket.SOCK_DGRAM, 0), 31 Protocol('RAWv6', socket.AF_INET6, socket.SOCK_RAW, 0) [all...] |
/bionic/libc/include/net/ |
if_arp.h | 1 #include <sys/socket.h>
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/sockets/ |
mcast.py | 19 import socket
32 addrinfo = socket.getaddrinfo(group, None)[0]
34 s = socket.socket(addrinfo[0], socket.SOCK_DGRAM)
38 if addrinfo[0] == socket.AF_INET: # IPv4
39 s.setsockopt(socket.IPPROTO_IP, socket.IP_MULTICAST_TTL, ttl_bin)
41 s.setsockopt(socket.IPPROTO_IPV6, socket.IPV6_MULTICAST_HOPS, ttl_bin) [all...] |
/external/python/cpython2/Demo/sockets/ |
mcast.py | 19 import socket 32 addrinfo = socket.getaddrinfo(group, None)[0] 34 s = socket.socket(addrinfo[0], socket.SOCK_DGRAM) 38 if addrinfo[0] == socket.AF_INET: # IPv4 39 s.setsockopt(socket.IPPROTO_IP, socket.IP_MULTICAST_TTL, ttl_bin) 41 s.setsockopt(socket.IPPROTO_IPV6, socket.IPV6_MULTICAST_HOPS, ttl_bin [all...] |