/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/ |
D | getnetbynis.c | 67 case AF_INET: in _getnetbynis() 98 h.n_addrtype = AF_INET; in _getnetbynis() 125 return _getnetbynis(name, "networks.byname", AF_INET); in _getnetbynisname() 137 if (af != AF_INET) { in _getnetbynisaddr()
|
D | gethostbynis.c | 68 case AF_INET: in _gethostbynis() 98 h.h_addrtype = AF_INET; in _gethostbynis()
|
D | gethostbydns.c | 512 host.h_addrtype = AF_INET; in __dns_getanswer() 534 case AF_INET: in _gethostbydnsname() 661 af = AF_INET; in _gethostbydnsaddr() 665 case AF_INET: in _gethostbydnsaddr() 682 case AF_INET: in _gethostbydnsaddr() 709 if (af == AF_INET) { in _gethostbydnsaddr() 749 if (af == AF_INET && (_res.options & RES_USE_INET6)) { in _gethostbydnsaddr()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/RawIp4Tx/ |
D | RawIp4Tx.c | 46 s = socket ( AF_INET, SOCK_RAW, RAW_PROTOCOL ); in RawIp4Tx() 84 SIN_FAMILY ( LocalPort ) = AF_INET; in RawIp4Tx() 101 SIN_FAMILY ( RemotePort ) = AF_INET; in RawIp4Tx()
|
/device/google/cuttlefish_common/tools/play_audio/ |
D | client_socket.cpp | 47 : socket_fd_{socket(AF_INET, SOCK_STREAM, 0)} { in ClientSocket() 54 server_addr.sin_family = AF_INET; 57 if (inet_pton(AF_INET, "127.0.0.1", &server_addr.sin_addr) <= 0) {
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/sockets/ |
D | udpecho.py | 35 s = socket(AF_INET, SOCK_DGRAM) 52 s = socket(AF_INET, SOCK_DGRAM)
|
D | mcast.py | 38 if addrinfo[0] == socket.AF_INET: # IPv4 65 if addrinfo[0] == socket.AF_INET: # IPv4
|
D | throughput.py | 46 s = socket(AF_INET, SOCK_STREAM) 73 s = socket(AF_INET, SOCK_STREAM)
|
D | ftp.py | 50 s = socket(AF_INET, SOCK_STREAM) 81 r = socket(AF_INET, SOCK_STREAM)
|
D | unicast.py | 8 s = socket(AF_INET, SOCK_DGRAM)
|
D | radio.py | 8 s = socket(AF_INET, SOCK_DGRAM)
|
D | broadcast.py | 8 s = socket(AF_INET, SOCK_DGRAM)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/OobTx/ |
D | OobTx.c | 52 s = socket ( AF_INET, SOCK_STREAM, IPPROTO_TCP ); in OobTx() 90 SIN_FAMILY ( LocalPort ) = AF_INET; in OobTx() 108 SIN_FAMILY ( RemotePort ) = AF_INET; in OobTx()
|
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/ |
D | TcpStream.cpp | 36 addr.sin_family = AF_INET; in _socket_loopback_server() 41 int s = socket(AF_INET, type, 0); in _socket_loopback_server()
|
/device/generic/goldfish/libqemu/ |
D | test_host_2.c | 60 int sock = socket(AF_INET, type, 0); in socket_loopback_server() 66 addr.sin_family = AF_INET; in socket_loopback_server()
|
D | test_util.c | 52 fd = socket( AF_INET, SOCK_STREAM, 0 ); in pipe_openSocket() 59 addr.sin_family = AF_INET; in pipe_openSocket()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_asyncore.py | 323 self.assertEqual(family, socket.AF_INET) 356 sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) 371 d.create_socket(socket.AF_INET, socket.SOCK_STREAM) 475 self.create_socket(socket.AF_INET, socket.SOCK_STREAM) 497 self.create_socket(socket.AF_INET, socket.SOCK_STREAM) 538 self.create_socket(socket.AF_INET, socket.SOCK_STREAM) 671 s.create_socket(socket.AF_INET, socket.SOCK_STREAM) 672 self.assertEqual(s.socket.family, socket.AF_INET) 677 s1.create_socket(socket.AF_INET, socket.SOCK_STREAM) 683 s2.create_socket(socket.AF_INET, socket.SOCK_STREAM) [all …]
|
D | test_ssl.py | 40 ssl.sslwrap_simple(socket.socket(socket.AF_INET)) 47 ssl.sslwrap_simple(socket.socket(socket.AF_INET)._sock) 67 s = socket.socket(socket.AF_INET) 158 s = ssl.wrap_socket(socket.socket(socket.AF_INET), 161 s = ssl.wrap_socket(socket.socket(socket.AF_INET), 166 s = ssl.wrap_socket(socket.socket(socket.AF_INET), 175 s = socket.socket(socket.AF_INET) 185 s = socket.socket(socket.AF_INET) 199 s = ssl.wrap_socket(socket.socket(socket.AF_INET), 208 s = ssl.wrap_socket(socket.socket(socket.AF_INET), [all …]
|
D | test_socket.py | 20 def try_address(host, port=0, family=socket.AF_INET): 49 self.serv = socket.socket(socket.AF_INET, socket.SOCK_STREAM) 60 self.serv = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) 173 self.cli = socket.socket(socket.AF_INET, socket.SOCK_STREAM) 187 self.cli = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) 250 s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) 279 s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) 318 socket.AF_INET 473 from socket import inet_aton as f, inet_pton, AF_INET 474 g = lambda a: inet_pton(AF_INET, a) [all …]
|
/device/generic/goldfish/dhcp/client/ |
D | interface.cpp | 43 mSocketFd = ::socket(AF_INET, SOCK_DGRAM | SOCK_CLOEXEC, IPPROTO_IP); in init() 100 requestAddr->sin_family = AF_INET; in setAddress() 117 addr->sin_family = AF_INET; in setSubnetMask()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/RawIp4Rx/ |
D | RawIp4Rx.c | 46 s = socket ( AF_INET, SOCK_RAW, RAW_PROTOCOL ); in RawIp4Rx() 61 SIN_FAMILY ( LocalPort ) = AF_INET; in RawIp4Rx()
|
/device/generic/goldfish/network/netmgr/ |
D | address_assigner.cpp | 88 int sock = ::socket(AF_INET, SOCK_DGRAM, IPPROTO_IP); in setIpAddress() 134 addr->sin_family = AF_INET; in setAddress()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/DataSink/ |
D | DataSink.c | 336 if ( AF_INET == pPortIpAddress4->sin_family ) { in SocketPoll() 375 if ( AF_INET == pPortIpAddress4->sin_family ) { in SocketPoll() 409 if ( AF_INET == pPortIpAddress4->sin_family ) { in SocketPoll() 481 if ( AF_INET == pRemoteAddress4->sin_family ) { in SocketPoll() 517 if ( AF_INET == pRemoteAddress4->sin_family ) { in SocketPoll() 567 if ( AF_INET == pRemoteAddress4->sin_family ) { in SocketPoll() 619 if ( AF_INET == pPortIpAddress4->sin_family ) { in SocketPoll() 673 if ( AF_INET == pPortIpAddress4->sin_family ) { in SocketPoll() 708 if ( AF_INET == pPortIpAddress4->sin_family ) { in SocketPoll() 742 if ( AF_INET == pPortIpAddress4->sin_family ) { in SocketPoll() [all …]
|
/device/generic/goldfish/dhcp/common/ |
D | utils.cpp | 21 if (::inet_ntop(AF_INET, &address, buffer, sizeof(buffer)) == nullptr) { in addrToStr()
|
/device/linaro/bootloader/edk2/StdLib/LibC/NetUtil/ |
D | inet_ntoa.c | 67 (void) inet_ntop(AF_INET, &in, ret, sizeof ret); in __weak_alias()
|