Lines Matching defs:port
65 "\t%s [-b bufsize] [-d] [-f filter] [-p port] [-v] <device> <host>\n"
66 "\t%s [-b bufsize] [-d] [-f filter] [-l] [-p port] [-v] <device>\n",
141 Listen(int fd, int port)
147 sockaddr.sin_port = htons(port);
175 Connect(int fd, const std::string &host, int port)
188 sockaddr.sin_port = htons(port);
190 panic("could not connect to %s on port %d\n", host.c_str(), port);
192 DPRINTF("connected to %s on port %d\n", host.c_str(), port);
319 int port = 3500;
350 port = atoi(optarg);
413 Listen(pfds[0].fd, port);
415 Connect(pfds[0].fd, host, port);