mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49: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:
parent
2b4e4e7a8d
commit
73c8600bc7
1 changed files with 6 additions and 0 deletions
|
|
@ -89,4 +89,10 @@
|
|||
|
||||
/* $Id$ */
|
||||
|
||||
#ifndef PAYLOAD_H
|
||||
#define PAYLOAD_H
|
||||
|
||||
const char *get_udp_payload(u16 dport, size_t *length);
|
||||
const char *udp_port2payload(u16 dport, size_t *length);
|
||||
|
||||
#endif /* PAYLOAD_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue