Home
last modified time | relevance | path

Searched refs:portnum (Results 1 – 23 of 23) sorted by relevance

/third_party/curl/tests/unit/
Dunit1653.c64 char *portnum; variable
75 ret = curl_url_get(u, CURLUPART_PORT, &portnum, CURLU_NO_DEFAULT_PORT);
100 ret = curl_url_get(u, CURLUPART_PORT, &portnum, 0);
102 fail_unless(portnum && !strcmp(portnum, "808"), "Check portnumber");
104 curl_free(portnum);
117 ret = curl_url_get(u, CURLUPART_PORT, &portnum, 0);
119 fail_unless(portnum && !strcmp(portnum, "80"), "Check portnumber");
120 curl_free(portnum);
145 ret = curl_url_get(u, CURLUPART_PORT, &portnum, 0);
147 fail_unless(portnum && !strcmp(portnum, "81"), "Check portnumber");
[all …]
/third_party/openssl/crypto/http/
Dhttp_lib.c48 unsigned int portnum; in OSSL_parse_url() local
113 if (!sscanf(port, "%u", &portnum) || portnum > 65535) { in OSSL_parse_url()
157 *pport_num = (int)portnum; in OSSL_parse_url()
189 int ssl = 0, portnum; in OSSL_HTTP_parse_url() local
215 if (!ossl_assert(sscanf(port, "%d", &portnum) == 1)) in OSSL_HTTP_parse_url()
218 *pport_num = portnum; in OSSL_HTTP_parse_url()
/third_party/node/deps/openssl/openssl/crypto/http/
Dhttp_lib.c55 unsigned int portnum; in OSSL_parse_url() local
121 if (sscanf(port, "%u", &portnum) <= 0 || portnum > 65535) { in OSSL_parse_url()
165 *pport_num = (int)portnum; in OSSL_parse_url()
197 int ssl = 0, portnum; in OSSL_HTTP_parse_url() local
223 if (!ossl_assert(sscanf(port, "%d", &portnum) == 1)) in OSSL_HTTP_parse_url()
226 *pport_num = portnum; in OSSL_HTTP_parse_url()
/third_party/ltp/testcases/network/stress/ns-tools/
Dns-mcast_receiver.c167 char *portnum; /* listen port number in character string */ in parse_options() local
171 portnum = NULL; in parse_options()
228 portnum = strdup(optarg); in parse_options()
268 if (portnum == NULL) { in parse_options()
273 info_p->mainfo = get_maddrinfo(family, maddr, portnum); in parse_options()
287 free(portnum); in parse_options()
Dns-tcpclient.c138 char *portnum; /* port number in string representation */ in main() local
157 portnum = NULL; in main()
192 portnum = strdup(optarg); in main()
239 if (portnum == NULL) { in main()
259 err = getaddrinfo(server_name, portnum, &hints, &res); in main()
Dns-udpclient.c146 char *portnum; /* port number in string representation */ in main() local
165 portnum = NULL; in main()
200 portnum = strdup(optarg); in main()
234 if (portnum == NULL) { in main()
263 err = getaddrinfo(server_name, portnum, &hints, &res); in main()
Dns-tcpserver.c72 char *portnum; /* port number */ member
218 err = getaddrinfo(NULL, info_p->portnum, &hints, &res); in create_listen_socket()
544 server.portnum = NULL; in main()
571 server.portnum = strdup(optarg); in main()
618 if (server.portnum == NULL) { in main()
619 server.portnum = (char *)calloc(6, sizeof(char)); in main()
620 sprintf(server.portnum, "%u", PORTNUMMIN); in main()
Dns-udpserver.c195 char *portnum = NULL; /* port number */ in main() local
234 portnum = strdup(optarg); in main()
285 err = getaddrinfo(NULL, portnum, &hints, &res); in main()
Dns-common.c438 const char *portnum) in get_maddrinfo() argument
450 err = getaddrinfo(maddr, portnum, &hints, &res); in get_maddrinfo()
Dns-traffic.h235 struct addrinfo *get_maddrinfo(sa_family_t family, const char *maddr, const char *portnum);
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_network.c151 u_socket_listen_on_port(uint16_t portnum) in u_socket_listen_on_port() argument
159 sa.sin_port = htons(portnum); in u_socket_listen_on_port()
Du_network.h14 int u_socket_listen_on_port(uint16_t portnum);
/third_party/node/deps/openssl/openssl/crypto/bio/
Dbio_addr.c845 long portnum = strtol(service, &endp, 10); in BIO_lookup_ex() local
870 && portnum > 0 && portnum < 65536) { in BIO_lookup_ex()
871 se_fallback.s_port = htons((unsigned short)portnum); in BIO_lookup_ex()
/third_party/openssl/crypto/bio/
Dbio_addr.c845 long portnum = strtol(service, &endp, 10); in BIO_lookup_ex() local
870 && portnum > 0 && portnum < 65536) { in BIO_lookup_ex()
871 se_fallback.s_port = htons((unsigned short)portnum); in BIO_lookup_ex()
/third_party/curl/lib/
Durlapi.c82 long portnum; /* the numerical version */ member
561 u->portnum = port; in Curl_parse_port()
1406 u->portnum = in->portnum; in curl_url_dup()
1477 if(h && (h->defport == u->portnum) && in curl_url_get()
1533 if(h && (h->defport == u->portnum) && in curl_url_get()
1725 u->portnum = 0; in curl_url_set()
1972 u->portnum = port; in curl_url_set()
Dtransfer.c1337 char *portnum; in Curl_follow()
1345 uc = curl_url_get(data->state.uh, CURLUPART_PORT, &portnum, in Curl_follow()
1351 port = atoi(portnum); in Curl_follow()
1352 free(portnum); in Curl_follow()
Dcf-socket.c416 int portnum = data->set.localportrange; in bindlocal() local
634 if(--portnum > 0) { in bindlocal()
/third_party/libwebsockets/READMEs/
DREADME.plugin-sshd-base.md247 `ssh -p portnum user@hostname`
/third_party/node/deps/openssl/openssl/apps/
Dcmp.c1850 int portnum, ssl; in setup_client_ctx() local
1881 &portnum, &path, NULL /* q */, NULL /* frag */)) { in setup_client_ctx()
1894 || !OSSL_CMP_CTX_set_serverPort(ctx, portnum)) in setup_client_ctx()
/third_party/openssl/apps/
Dcmp.c1850 int portnum, ssl; in setup_client_ctx() local
1881 &portnum, &path, NULL /* q */, NULL /* frag */)) { in setup_client_ctx()
1894 || !OSSL_CMP_CTX_set_serverPort(ctx, portnum)) in setup_client_ctx()
/third_party/openssl/doc/man1/
Dopenssl-ocsp.pod.in370 =item B<-port> I<portnum>
/third_party/libabigail/tests/data/test-diff-filter/
Dtest-PR27569-v0.abi44303 …<var-decl name="portnum" type-id="f9b06939" visibility="default" filepath="include/linux/usb.h" li…
65549 …<var-decl name="portnum" type-id="f9b06939" visibility="default" filepath="include/linux/usb.h" li…
Dtest-PR27569-v1.abi44332 …<var-decl name="portnum" type-id="f9b06939" visibility="default" filepath="include/linux/usb.h" li…
65563 …<var-decl name="portnum" type-id="f9b06939" visibility="default" filepath="include/linux/usb.h" li…