mirror of
https://github.com/nmap/nmap.git
synced 2026-01-03 05:09:14 +00:00
Key service table on protocol number, not name
This commit is contained in:
@@ -75,7 +75,7 @@ struct nservent {
|
||||
};
|
||||
|
||||
int addportsfromservmask(const char *mask, u8 *porttbl, int range_type);
|
||||
const struct nservent *nmap_getservbyport(int port, const char *proto);
|
||||
const struct nservent *nmap_getservbyport(u16 port, u16 proto);
|
||||
void gettoppts(double level, const char *portlist, struct scan_lists * ports, const char *exclude_list = NULL);
|
||||
|
||||
void free_services();
|
||||
|
||||
Reference in New Issue
Block a user