Home | History | Annotate | Download | only in extensions

Lines Matching full:port

21 " --source-port [!] port[:port]\n"
23 " match source port(s)\n"
24 " --destination-port [!] port[:port]\n"
26 " match destination port(s)\n"
32 { "source-port", 1, 0, '1' },
34 { "destination-port", 1, 0, '2' },
161 "Only one `--source-port' allowed");
172 "Only one `--destination-port' allowed");
232 port_to_service(int port)
236 if ((service = getservbyport(htons(port), "tcp")))
243 print_port(u_int16_t port, int numeric)
247 if (numeric || (service = port_to_service(port)) == NULL)
248 printf("%u", port);