Home
last modified time | relevance | path

Searched refs:AF_INET (Results 1 – 25 of 84) sorted by relevance

1234

/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/
Dgetnetbynis.c67 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()
Dgethostbynis.c68 case AF_INET: in _gethostbynis()
98 h.h_addrtype = AF_INET; in _gethostbynis()
Dgethostbydns.c512 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()
Dgethostbyht.c137 } else if (inet_pton(AF_INET, p, host_addr) > 0) { in gethostent()
143 af = AF_INET; in gethostent()
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/RawIp4Tx/
DRawIp4Tx.c46 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/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/sockets/
Dudpecho.py35 s = socket(AF_INET, SOCK_DGRAM)
52 s = socket(AF_INET, SOCK_DGRAM)
Dmcast.py38 if addrinfo[0] == socket.AF_INET: # IPv4
65 if addrinfo[0] == socket.AF_INET: # IPv4
Dthroughput.py46 s = socket(AF_INET, SOCK_STREAM)
73 s = socket(AF_INET, SOCK_STREAM)
Dftp.py50 s = socket(AF_INET, SOCK_STREAM)
81 r = socket(AF_INET, SOCK_STREAM)
Dunicast.py8 s = socket(AF_INET, SOCK_DGRAM)
Dradio.py8 s = socket(AF_INET, SOCK_DGRAM)
Dbroadcast.py8 s = socket(AF_INET, SOCK_DGRAM)
Dechosvr.py20 s = socket(AF_INET, SOCK_STREAM)
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/OobTx/
DOobTx.c52 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/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_asyncore.py323 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 …]
Dtest_ssl.py40 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 …]
Dtest_socket.py20 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 …]
Dtest_timeout.py17 self.sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
102 self.sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
167 self.sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/
DTcpStream.cpp36 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/
Dtest_host_2.c60 int sock = socket(AF_INET, type, 0); in socket_loopback_server()
66 addr.sin_family = AF_INET; in socket_loopback_server()
Dtest_util.c52 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/Sockets/RawIp4Rx/
DRawIp4Rx.c46 s = socket ( AF_INET, SOCK_RAW, RAW_PROTOCOL ); in RawIp4Rx()
61 SIN_FAMILY ( LocalPort ) = AF_INET; in RawIp4Rx()
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/DataSink/
DDataSink.c336 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/linaro/bootloader/edk2/StdLib/LibC/NetUtil/
Dinet_ntoa.c67 (void) inet_ntop(AF_INET, &in, ret, sizeof ret); in __weak_alias()
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/OobRx/
DOobRx.c53 s = socket ( AF_INET, SOCK_STREAM, IPPROTO_TCP ); in OobRx()
69 SIN_FAMILY ( LocalPort ) = AF_INET; in OobRx()

1234