mirror of
https://github.com/nmap/nmap.git
synced 2026-08-27 03:48:14 +00:00
Merge r28016 from nmap-npingchanges: Add method to set IP options from a binary buffer than can be inserted right away into the IP header.
This commit is contained in:
parent
a3f84c2c87
commit
347badd7f3
2 changed files with 15 additions and 4 deletions
|
|
@ -242,6 +242,7 @@ class IPv4Header : public NetworkLayerElement {
|
|||
|
||||
/* IP Options */
|
||||
int setOpts(const char *txt);
|
||||
int setOpts(u8 *opts_buff, u32 opts_len);
|
||||
const u8 *getOpts() const;
|
||||
const u8 *getOpts(int *len) const;
|
||||
int printOptions() const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue