HomeSort by relevance Sort by last modified time
    Searched refs:portnum (Results 1 - 25 of 27) sorted by null

1 2

  /external/libcups/cups/
http-addrlist.c 667 int portnum; /* Port number */
675 portnum = 0;
677 portnum = atoi(service);
679 portnum = ntohs(port->s_port);
681 portnum = 80;
683 portnum = 443;
685 portnum = 631;
687 portnum = 515;
689 portnum = 9100;
723 first->addr.ipv4.sin_port = htons(portnum);
794 int portnum; \/* Port number *\/ local
    [all...]
  /external/libevent/test/
regress_testutils.h 42 ev_uint16_t *portnum,
regress_testutils.c 94 ev_uint16_t *portnum,
112 my_addr.sin_port = htons(*portnum);
119 if (!*portnum)
120 *portnum = regress_get_socket_port(sock);
regress_dns.c 538 ev_uint16_t portnum = 0; local
549 tt_assert(regress_dnsserver(base, &portnum, table));
550 evutil_snprintf(buf, sizeof(buf), "127.0.0.1:%d", (int)portnum);
659 ev_uint16_t portnum = 0; local
663 port = regress_get_dnsserver(base, &portnum, NULL,
666 evutil_snprintf(buf, sizeof(buf), "127.0.0.1:%d", (int)portnum);
735 ev_uint16_t portnum = 0; local
740 port = regress_get_dnsserver(base, &portnum, NULL,
743 evutil_snprintf(buf, sizeof(buf), "127.0.0.1:%d", (int)portnum);
909 ev_uint16_t portnum = 0 local
973 ev_uint16_t portnum = 0; local
2038 ev_uint16_t portnum = 0; local
2083 ev_uint16_t portnum = 0; local
    [all...]
regress_http.c 1148 ev_uint16_t portnum = 0; local
1153 tt_assert(regress_dnsserver(data->base, &portnum, search_table));
1160 evutil_snprintf(address, sizeof(address), "127.0.0.1:%d", portnum);
1417 ev_uint16_t portnum = 0; local
3780 ev_uint16_t portnum = 0; local
4323 ev_uint16_t portnum = 0; local
    [all...]
  /external/mesa3d/src/gallium/auxiliary/util/
u_network.h 17 int u_socket_listen_on_port(uint16_t portnum);
u_network.c 143 u_socket_listen_on_port(uint16_t portnum)
151 sa.sin_port = htons(portnum);
  /external/ltp/testcases/network/stress/ns-tools/
ns-udpclient.c 146 char *portnum; /* port number in string representation */ local
165 portnum = NULL;
200 portnum = strdup(optarg);
234 if (portnum == NULL) {
263 err = getaddrinfo(server_name, portnum, &hints, &res);
ns-mcast_receiver.c 167 char *portnum; /* listen port number in character string */ local
171 portnum = NULL;
228 portnum = strdup(optarg);
268 if (portnum == NULL) {
273 info_p->mainfo = get_maddrinfo(family, maddr, portnum);
287 free(portnum);
ns-tcpserver.c 72 char *portnum; /* port number */ member in struct:server_info
218 err = getaddrinfo(NULL, info_p->portnum, &hints, &res);
544 server.portnum = NULL;
571 server.portnum = strdup(optarg);
618 if (server.portnum == NULL) {
619 server.portnum = (char *)calloc(6, sizeof(char));
620 sprintf(server.portnum, "%u", PORTNUMMIN);
ns-tcpclient.c 138 char *portnum; /* port number in string representation */ local
157 portnum = NULL;
192 portnum = strdup(optarg);
239 if (portnum == NULL) {
259 err = getaddrinfo(server_name, portnum, &hints, &res);
ns-udpserver.c 195 char *portnum = NULL; /* port number */ local
234 portnum = strdup(optarg);
285 err = getaddrinfo(NULL, portnum, &hints, &res);
ns-traffic.h 235 struct addrinfo *get_maddrinfo(sa_family_t family, const char *maddr, const char *portnum);
ns-common.c 432 * portnum: port number in character string
438 const char *portnum)
450 err = getaddrinfo(maddr, portnum, &hints, &res);
  /external/chromium-trace/catapult/third_party/pyserial/serial/
sermsdos.py 63 def device(portnum):
64 return 'COM%d' % (portnum+1)
serialcli.py 15 def device(portnum):
17 return System.IO.Ports.SerialPort.GetPortNames()[portnum]
serialwin32.py 17 def device(portnum):
19 return 'COM%d' % (portnum+1) # numbers are transformed to a string
  /prebuilts/go/darwin-x86/src/net/
ipsock.go 243 portnum int
251 if portnum, err = r.LookupPort(ctx, net, port); err != nil {
265 return &TCPAddr{IP: ip.IP, Port: portnum, Zone: ip.Zone}
267 return &UDPAddr{IP: ip.IP, Port: portnum, Zone: ip.Zone}
  /prebuilts/go/linux-x86/src/net/
ipsock.go 243 portnum int
251 if portnum, err = r.LookupPort(ctx, net, port); err != nil {
265 return &TCPAddr{IP: ip.IP, Port: portnum, Zone: ip.Zone}
267 return &UDPAddr{IP: ip.IP, Port: portnum, Zone: ip.Zone}
  /external/libevent/
evutil.c 951 * - Look up the port based on 'servname', and store it in *portnum,
963 struct evutil_addrinfo *hints, struct evutil_addrinfo **res, int *portnum)
1074 *portnum = port;
1357 int portnum=-1, need_np_hack, err; local
    [all...]
util-internal.h 371 struct evutil_addrinfo *hints, struct evutil_addrinfo **res, int *portnum);
http.c 4493 int portnum = 0; local
    [all...]
  /external/libpcap/
pcap-sita.c 413 int portnum; local
415 portnum = ((u->chassis - 1) * 64) + ((u->geoslot - 1) * 8) + IOPportnum + 1;
416 pcap_snprintf(buf, bufsize, "%s_%d", proto, portnum);
    [all...]
  /external/iptables/libxtables/
xtables.c 508 unsigned int portnum; local
510 if (xtables_strtoui(port, NULL, &portnum, 0, UINT16_MAX) ||
511 (portnum = xtables_service_to_port(port, proto)) != (unsigned)-1)
512 return portnum;
    [all...]
  /external/curl/lib/
connect.c 258 int portnum = data->set.localportrange; local
459 if(--portnum > 0) {
    [all...]

Completed in 544 milliseconds

1 2