Lines Matching defs:port
1546 char *p, port[16];
1560 sprintf(port, ",%u", fio_net_port);
1562 strcat(p, port);
1564 strncpy(bind_str, port, sizeof(bind_str) - 1);
1617 * Parse a host/ip/port string. Reads from 'str'.
1622 * *ptr is the host, *port is the port, inp is the destination.
1624 * *ptr is the host, *port is the port, inp6 is the dest, and *ipv6 is 1.
1629 int *port, struct in_addr *inp,
1638 *port = fio_net_port;
1649 * Is it ip:<ip or host>:port
1659 /* String is :port */
1663 log_err("fio: bad server port %u\n", lport);
1667 *port = lport;
1672 * If no port seen yet, check if there's a last ',' at the end
1681 log_err("fio: bad server port %u\n", lport);
1688 *port = lport;
1701 if (*port == 0)
1702 *port = fio_net_port;
1721 int port = fio_net_port;
1730 &port, &saddr_in.sin_addr,
1739 fio_net_port = port;
1740 saddr_in.sin_port = htons(port);
1741 saddr_in6.sin6_port = htons(port);