/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/RawIp4Tx/ |
H A D | RawIp4Tx.h | 33 #define SIN_ADDR(port) port.sin_addr.S_un.S_addr
34 #define SIN_FAMILY(port) port.sin_family
35 #define SIN_LEN(port) port.sin_family
36 #define SIN_PORT(port) port.sin_port
58 #define SIN_ADDR(port) port [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/OobRx/ |
H A D | OobRx.h | 30 #define SIN_ADDR(port) port.sin_addr.S_un.S_addr
31 #define SIN_FAMILY(port) port.sin_family
32 #define SIN_LEN(port) port.sin_family
33 #define SIN_PORT(port) port.sin_port
58 #define SIN_ADDR(port) port [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/OobTx/ |
H A D | OobTx.h | 33 #define SIN_ADDR(port) port.sin_addr.S_un.S_addr
34 #define SIN_FAMILY(port) port.sin_family
35 #define SIN_LEN(port) port.sin_family
36 #define SIN_PORT(port) port.sin_port
58 #define SIN_ADDR(port) port [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/RawIp4Rx/ |
H A D | RawIp4Rx.h | 30 #define SIN_ADDR(port) port.sin_addr.S_un.S_addr
31 #define SIN_FAMILY(port) port.sin_family
32 #define SIN_LEN(port) port.sin_family
33 #define SIN_PORT(port) port.sin_port
57 #define SIN_ADDR(port) port [all...] |
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/ |
H A D | TcpStream.h | 24 virtual int listen(unsigned short port); 26 virtual int connect(unsigned short port); 27 int connect(const char* hostname, unsigned short port);
|
H A D | TcpStream.cpp | 31 static int _socket_loopback_server(int port, int type) argument 37 addr.sin_port = htons(port); 82 int TcpStream::listen(unsigned short port) argument 84 m_sock = _socket_loopback_server(port, SOCK_STREAM); 113 int TcpStream::connect(unsigned short port) argument 115 return connect("127.0.0.1",port); 118 int TcpStream::connect(const char* hostname, unsigned short port) argument 120 m_sock = socket_network_client(hostname, port, SOCK_STREAM);
|
H A D | SocketStream.h | 29 virtual int listen(unsigned short port) = 0; 31 virtual int connect(unsigned short port) = 0;
|
/device/linaro/bootloader/edk2/OvmfPkg/Include/IndustryStandard/Xen/ |
H A D | event_channel.h | 72 * EVTCHNOP_alloc_unbound: Allocate a port in domain <dom> and mark as
73 * accepting interdomain bindings from domain <remote_dom>. A fresh port
74 * is allocated in <dom> and returned as <port>.
83 evtchn_port_t port;
member in struct:evtchn_alloc_unbound 88 * EVTCHNOP_close: Close a local event channel <port>. If the channel is
94 evtchn_port_t port;
member in struct:evtchn_close 100 * endpoint is <port>.
104 evtchn_port_t port;
member in struct:evtchn_send
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/sockets/ |
H A D | echosvr.py | 10 # The standard echo port isn't very useful, it requires root permissions!
17 port = int(eval(sys.argv[1]))
19 port = ECHO_PORT
21 s.bind(('', port))
|
H A D | gopher.py | 5 # Usage: gopher [ [selector] host [port] ]
12 # Default selector, host and port
40 # Open a TCP connection to a given host and port
41 def open_socket(host, port):
42 if not port:
43 port = DEF_PORT
44 elif type(port) == type(''):
45 port = string.atoi(port)
47 s.connect((host, port))
[all...] |
H A D | rpython.py | 18 port = PORT
21 port = string.atoi(port[i+1:])
25 s.connect((host, port))
|
H A D | udpecho.py | 5 # Usage: udpecho -s [port] (to start a server)
6 # or: udpecho -c host [port] <file (client)
26 print 'Usage: udpecho -s [port] (server)'
27 print 'or: udpecho -c host [port] <file (client)'
32 port = eval(sys.argv[2])
34 port = ECHO_PORT
36 s.bind(('', port))
48 port = eval(sys.argv[3])
50 port = ECHO_PORT
51 addr = host, port
[all...] |
H A D | rpythond.py | 18 port = int(eval(sys.argv[1]))
20 port = PORT
22 s.bind(('', port))
|
H A D | ftp.py | 12 # port right away and sends the appropriate PORT command to the server.
13 # When a response code 150 is received, this port is used to receive
15 # data is exhausted, a new port is opened and a corresponding PORT
27 # Default port numbers used by the FTP protocol.
32 # Change the data port to something not needing root permissions.
71 # Create a new data port and send a PORT command to the server for it.
73 # a port within a short time.)
79 port = nextport + FTP_DATA_PORT
82 r.bind((gethostbyname(gethostname()), port))
84 sendportcmd(s, f, port)
[all...] |
H A D | throughput.py | 6 # 1) on host_A: throughput -s [port] # start a server
7 # 2) on host_B: throughput -c count host_A [port] # start a client
36 print 'Usage: (on host_A) throughput -s [port]'
37 print 'and then: (on host_B) throughput -c count host_A [port]'
43 port = eval(sys.argv[2])
45 port = MY_PORT
47 s.bind(('', port))
59 print 'Done with', host, 'port', remoteport
68 port = eval(sys.argv[4])
70 port [all...] |
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/ |
H A D | getservbyport.c | 44 getservbyport(int port, const char *proto)
argument 52 ___getservbyport_yp = port;
58 if (p->s_port != port)
|
H A D | ns_ntoa.c | 51 u_short port = htons(addr.x_port);
local 63 if (port) {
75 if (port) {
76 sprintf(cp, ".%x", port);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/ |
H A D | serve.py | 4 optional port number (defaults to 8000), then tries to serve files.
29 port = int(sys.argv[2]) if len(sys.argv) > 2 else 8000
variable 30 httpd = simple_server.make_server('', port, app)
31 print "Serving %s on port %s, control-C to stop" % (path, port)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/ssl/ |
H A D | get-remote-certificate.py | 11 def fetch_server_certificate (host, port):
55 (host, port, tfile))
61 (host, port))
67 (host, port))
77 host, port = arg.split(":")
78 sys.stdout.write(fetch_server_certificate(host, int(port)))
|
/device/linaro/bootloader/edk2/MdePkg/Library/BaseIoLibIntrinsic/ |
H A D | IoLibMsc.c | 30 int _inp (unsigned short port);
31 unsigned short _inpw (unsigned short port);
32 unsigned long _inpd (unsigned short port);
33 int _outp (unsigned short port, int databyte );
34 unsigned short _outpw (unsigned short port, unsigned short dataword );
35 unsigned long _outpd (unsigned short port, unsigned long dataword );
55 Reads an 8-bit I/O port.
57 Reads the 8-bit I/O port specified by Port. The 8-bit read value is returned.
61 If 8-bit I/O port operations are not supported, then ASSERT().
63 @param Port The I/O port t [all...] |
/device/generic/goldfish/libqemu/ |
H A D | test_util.h | 29 int pipe_openSocket( Pipe* pipe, int port );
|
H A D | test_host_2.c | 31 /* Default port number */ 54 /* Create a server socket bound to a loopback port */ 56 socket_loopback_server( int port, int type ) argument 67 addr.sin_port = htons(port); 92 int port = DEFAULT_PORT; local 94 printf("Starting pipe test server on local port %d\n", port); 95 sock = socket_loopback_server( port, SOCK_STREAM );
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/pdist/ |
H A D | rcsclient.py | 33 port = PORT
44 port = string.atoi(p)
46 port = string.atoi(a)
59 address = (host, port)
|
/device/google/contexthub/firmware/os/platform/stm32/ |
H A D | usart.c | 85 void usartOpen(struct usart* __restrict usart, UsartPort port, argument 95 struct StmUsart *block = (struct StmUsart*)mUsartPorts[usart->unit = --port]; 101 gpioConfigAlt(usart->rx, GPIO_SPEED_LOW, GPIO_PULL_UP, GPIO_OUT_PUSH_PULL, mUsartAlt[port]); 103 gpioConfigAlt(usart->tx, GPIO_SPEED_LOW, GPIO_PULL_UP, GPIO_OUT_PUSH_PULL, mUsartAlt[port]); 106 pwrUnitClock(mUsartBusses[port], mUsartPeriphs[port], true); 109 if (!mUsartHasFlowControl[port]) 118 baseClk = pwrGetBusSpeed(mUsartBusses[port]);
|
/device/google/dragon/audio/hal/ |
H A D | cras_dsp_ini.h | 30 struct port { struct 34 /* This is only used if there is a flow connects to this port, 35 -1 otherwise (i.e. the port has a constant input/output) */ 42 DECLARE_ARRAY_TYPE(struct port, port_array)
|