Lines Matching defs:port
17 "[!] --source-port port[:port]\n"
19 " match source port(s)\n"
20 "[!] --destination-port port[:port]\n"
22 " match destination port(s)\n");
27 {.name = "source-port", .id = O_SOURCE_PORT, .type = XTTYPE_PORTRC,
31 {.name = "destination-port", .id = O_DEST_PORT, .type = XTTYPE_PORTRC,
64 port_to_service(int port)
68 if ((service = getservbyport(htons(port), "udp")))
75 print_port(uint16_t port, int numeric)
79 if (numeric || (service = port_to_service(port)) == NULL)
80 printf("%u", port);