1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 12:41:29 +00:00

Modified UDP-payload-related code to make it independent of the NmapOps class so it can be reused by other apps like Nping. More info at http://seclists.org/nmap-dev/2009/q3/0051.html

This commit is contained in:
luis
2009-07-07 18:21:30 +00:00
parent 2b4e4e7a8d
commit 73c8600bc7

View File

@@ -89,4 +89,10 @@
/* $Id$ */ /* $Id$ */
#ifndef PAYLOAD_H
#define PAYLOAD_H
const char *get_udp_payload(u16 dport, size_t *length); const char *get_udp_payload(u16 dport, size_t *length);
const char *udp_port2payload(u16 dport, size_t *length);
#endif /* PAYLOAD_H */