/third_party/curl/lib/ |
H A D | altsvc.c | 138 as->src.port = curlx_ultous(srcport); in altsvc_createid() 139 as->dst.port = curlx_ultous(dstport); in altsvc_createid() 284 as->src.port, in altsvc_out() 288 as->dst.port, in altsvc_out() 457 (srcport == as->src.port) && in altsvc_flush() 492 * Invalid host name, port number will result in the specific alternative 527 /* [protocol]="[host][:port]" */ in Curl_altsvc_parse() 574 unsigned long port = 0; in Curl_altsvc_parse() local 577 /* a port number */ in Curl_altsvc_parse() 578 port in Curl_altsvc_parse() [all...] |
/third_party/libcoap/src/ |
H A D | coap_uri.c | 76 uri->port = COAP_DEFAULT_PORT; in coap_split_uri_sub() 81 /* no scheme, host or port */ in coap_split_uri_sub() 109 uri->port = coap_uri_scheme[i].port; in coap_split_uri_sub() 187 uri->port = 0; in coap_split_uri_sub() 217 if (p < q) { /* explicit port number given */ in coap_split_uri_sub() 223 /* check if port number is in allowed range */ in coap_split_uri_sub() 229 uri->port = (uint16_t)uri_port; in coap_split_uri_sub() 323 if (uri->port != 80) in coap_uri_into_options() 328 if (uri->port ! in coap_uri_into_options() [all...] |
H A D | coap_io_lwip.c | 148 const ip_addr_t *addr, u16_t port) { in coap_recvc() 154 (void)port; in coap_recvc() 215 const ip_addr_t *addr, u16_t port) { in coap_recvs() 237 packet->addr_info.remote.port = port; in coap_recvs() 239 packet->addr_info.local.port = upcb->local_port; in coap_recvs() 308 session->addr_info.remote.port); in coap_socket_send_pdu() 336 session->addr_info.remote.port); in coap_socket_send() 364 err = udp_bind(sock->pcb, &l_listen.addr, l_listen.port); in coap_socket_bind_udp() 401 ("coap_socket_connect_udp: port bin in coap_socket_connect_udp() 147 coap_recvc(void *arg, struct udp_pcb *upcb, struct pbuf *p, const ip_addr_t *addr, u16_t port) coap_recvc() argument 214 coap_recvs(void *arg, struct udp_pcb *upcb, struct pbuf *p, const ip_addr_t *addr, u16_t port) coap_recvs() argument [all...] |
/third_party/toybox/toys/pending/ |
H A D | tftp.c | 69 int port = 69, sd = xsocket(TT.af, SOCK_DGRAM, IPPROTO_UDP); in init_tftp() local 74 if(toys.optc == 2) port = atolx_range(toys.optargs[1], 1, 65535); in init_tftp() 80 ((struct sockaddr_in6 *)server)->sin6_port = htons(port); in init_tftp() 86 ((struct sockaddr_in *)server)->sin_port = htons(port); in init_tftp() 214 uint16_t *port, uint16_t *blockno) in read_ack() 230 if (!*port) { in read_ack() 231 *port = ((struct sockaddr_in *)&from)->sin_port; in read_ack() 240 if (*port != ((struct sockaddr_in *)server)->sin_port) { in read_ack() 241 error_msg("Invalid port in DATA."); in read_ack() 311 error_msg("Invalid port i in file_get() 213 read_ack(int sd, uint8_t *packet, struct sockaddr_storage *server, uint16_t *port, uint16_t *blockno) read_ack() argument 387 uint16_t blockno = 1, rblockno, port = 0; file_put() local [all...] |
/third_party/alsa-utils/seq/aplaymidi/ |
H A D | aplaymidi.c | 2 * aplaymidi.c - play Standard MIDI Files to sequencer port(s) 52 unsigned char port; /* port index */ member 139 /* parses one or more port addresses from the string */ 162 fatal("Invalid port %s - %s", port_name, snd_strerror(err)); in parse_ports() 175 /* the first created port is 0 anyway, but let's make sure ... */ in create_source_port() 187 check_snd("create port", err); in create_source_port() 205 * we're playing - otherwise, ALSA would reset the port after every in connect_ports() 209 err = snd_seq_connect_to(seq, 0, ports[i].client, ports[i].port); in connect_ports() 211 fatal("Cannot connect to port in connect_ports() 309 unsigned char port = 0; read_track() local [all...] |
/third_party/python/Lib/ |
H A D | nntplib.py | 129 # Standard port used by NNTP servers 315 def __init__(self, host, port=NNTP_PORT, user=None, password=None, 320 - port: port to connect to (default the standard NNTP port) 336 self.port = port 401 sys.audit("nntplib.connect", self, self.host, self.port) 402 return socket.create_connection((self.host, self.port), timeout) 1020 def __init__(self, host, port 1062 port = args.port global() variable in NNTP [all...] |
/third_party/backends/backend/ |
H A D | umax_pp_mid.h | 63 probes the port for an umax1220p scanner 67 if name is null, direct I/O is attempted to address given in port 75 extern int sanei_umax_pp_attach (int port, const char *name); 85 extern int sanei_umax_pp_model (int port, int *model); 101 probes the port for an umax1220p scanner 108 port: addr when doing direc I/O 113 extern int sanei_umax_pp_open (int port, char *name); 119 since there may be only one scanner, no port parameter
|
/third_party/node/test/parallel/ |
H A D | test-http-client-timeout-event.js | 29 port: undefined, 37 options.port = this.address().port;
|
H A D | test-http-client-timeout.js | 29 port: undefined, 39 options.port = this.address().port;
|
H A D | test-http-conn-reset.js | 30 port: undefined 43 options.port = this.address().port;
|
H A D | test-net-connect-call-socket-connect.js | 32 const port = server.address().port; 33 const client = net.connect({ port }, common.mustCall(function() {
|
H A D | test-net-connect-reset-until-connected.js | 15 const port = server.address().port; 16 const conn = net.createConnection(port);
|
H A D | test-net-options-lookup.js | 8 // Using port 0 as lookup is emitted before connecting. 12 port: 0, 29 port: 0, 49 port: 0,
|
/third_party/ltp/testcases/network/stress/multicast/packet-flood/ |
H A D | mcast-pktfld01.sh | 23 local port=$(tst_get_unused_port ipv${TST_IPVER} dgram) 24 [ $? -ne 0 ] && tst_brk TBROK "no free udp port available" 27 ROD $MCAST_LCMD -f $TST_IPVER -I $(tst_iface lhost) -m $addr -p $port -b 30 tst_rhost_run -s -c "$MCAST_RCMD -D $addr -f $TST_IPVER -p $port -s 32767 -m -I $(tst_iface rhost) -t $NS_DURATION"
|
/third_party/python/Tools/demo/ |
H A D | rpython.py | 19 port = PORT 22 port = int(host[i+1:]) 26 s.connect((host, port))
|
/third_party/skia/third_party/externals/microhttpd/src/testspdy/ |
H A D | common.c | 53 uint16_t port = min + (tv.tv_usec+10) % ((1 << 16) - min); in get_port() local 55 //port = 12345; in get_port() 56 printf("Port used: %i\n", port); in get_port() 58 return port; in get_port()
|
/test/testfwk/developer_test/local_coverage/resident_service/ |
H A D | pull_service_gcda.py | 151 ip, port, sn = get_config_ip(os.path.join(developer_test_path, "config/user_config.xml")) 152 if not port: 153 port = "8710" variable 158 device_sn_list = get_sn_list("hdc -s %s:%s list targets" % (ip, port)) 163 developer_test_path, service_path, root_path, port) 164 restore_config(ip, port, sn_str, config_path)
|
/third_party/ffmpeg/libavformat/ |
H A D | sapdec.c | 68 int port; in sap_read_header() local 74 av_url_split(NULL, 0, NULL, 0, host, sizeof(host), &port, in sap_read_header() 76 if (port < 0) in sap_read_header() 77 port = 9875; in sap_read_header() 84 ff_url_join(url, sizeof(url), "udp", NULL, host, port, "?localport=%d", in sap_read_header() 85 port); in sap_read_header()
|
/third_party/libwebsockets/lib/core-net/client/ |
H A D | connect2.c | 146 int n, port = 0; local 307 port = (int)wsi->a.vhost->http.http_proxy_port; 319 port = (int)wsi->a.vhost->socks_proxy_port; 326 port = wsi->c_port; 335 lwsl_wsi_info(wsi, "lookup %s:%u", adsin, port); 336 wsi->conn_port = (uint16_t)port;
|
/third_party/jerryscript/jerry-ext/debugger/ |
H A D | debugger-tcp.c | 243 * * Bind the socket to the given port 251 uint16_t port) /** < port number to be used for the socket */ in jerryx_debugger_tcp_configure_socket() 256 addr.sin_port = htons (port); in jerryx_debugger_tcp_configure_socket() 290 jerryx_debugger_tcp_create (uint16_t port) /**< listening port */ in jerryx_debugger_tcp_create() argument 309 if (!jerryx_debugger_tcp_configure_socket (server_socket, port)) in jerryx_debugger_tcp_create() 392 jerryx_debugger_tcp_create (uint16_t port) in jerryx_debugger_tcp_create() argument 394 JERRYX_UNUSED (port); in jerryx_debugger_tcp_create() 250 jerryx_debugger_tcp_configure_socket(jerryx_socket server_socket, uint16_t port) jerryx_debugger_tcp_configure_socket() argument
|
/third_party/libwebsockets/minimal-examples/ws-client/minimal-ws-client-echo/ |
H A D | protocol_lws_minimal_client_echo.c | 53 int *port; member 64 lws_snprintf(host, sizeof(host), "%s:%u", *vhd->ads, *vhd->port); in sul_connect_attempt() 69 i.port = *vhd->port; in sul_connect_attempt() 82 lwsl_user("connecting to %s:%d/%s\n", i.address, i.port, i.path); in sul_connect_attempt() 128 vhd->port = (int *)lws_pvo_search( in callback_minimal_client_echo() 130 "port")->value; in callback_minimal_client_echo()
|
/third_party/node/deps/npm/node_modules/https-proxy-agent/dist/ |
H A D | index.js | 59 const port = this.proxy.port 60 ? parseInt(this.proxy.port, 10) 69 port, 99 let payload = `CONNECT ${host}:${opts.port} HTTP/1.1\r\n`; 105 headers.Host = `${host}:${opts.port}`; 127 ...omit(opts, 'host', 'path', 'port'),
|
/third_party/libwebsockets/minimal-examples/ws-client/minimal-ws-client-spam/ |
H A D | minimal-ws-client-spam.c | 38 static int interrupted, port = 443, ssl_connection = LCCSCF_USE_SSL; variable 60 i.port = port; in connect_client() 73 lwsl_notice("%s: connection %s:%d\n", __func__, i.address, i.port); in connect_client() 218 info.port = CONTEXT_PORT_NO_LISTEN; /* we do not run any server */ in main() 234 if ((p = lws_cmdline_option(argc, argv, "--port"))) in main() 235 port = atoi(p); in main()
|
/third_party/libcoap/examples/lwip/ |
H A D | client-coap.c | 83 uint16_t port = service ? atoi(service) : 0; in resolve_address() local 89 addr_info = coap_resolve_address_info(&str_host, port, port, port, port, in resolve_address() 164 snprintf(portbuf, sizeof(portbuf), "%d", uri.port); in client_coap_init()
|
/third_party/libcoap/examples/riot/examples_libcoap_client/ |
H A D | client-coap.c | 98 uint16_t port = service ? atoi(service) : 0; in resolve_address() local 105 addr_info = coap_resolve_address_info(&str_host, port, port, port, port, in resolve_address() 147 snprintf(portbuf, sizeof(portbuf), "%d", uri.port); in client_coap_init()
|