Home | History | Annotate | Download | only in engines

Lines Matching defs:port

40 	unsigned int port;
87 .name = "port",
88 .lname = "net engine port",
90 .off1 = offsetof(struct netio_options, port),
93 .help = "Port to use for TCP or UDP net connections",
1049 const char *host, unsigned short port)
1067 nd->addr.sin_port = htons(port);
1069 nd->addr6.sin6_port = htons(port);
1115 return fio_netio_setup_connect_inet(td, td->o.filename,o->port);
1153 static int fio_netio_setup_listen_inet(struct thread_data *td, short port)
1249 nd->addr.sin_port = htons(port);
1256 nd->addr6.sin6_port = htons(port);
1276 ret = fio_netio_setup_listen_inet(td, o->port);
1309 if (o->proto == FIO_TYPE_UNIX && o->port) {
1310 log_err("fio: network IO port not valid with unix socket\n");
1312 } else if (o->proto != FIO_TYPE_UNIX && !o->port) {
1313 log_err("fio: network IO requires port for tcp or udp\n");
1317 o->port += td->subjob_number;