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:
luis 2013-03-29 16:48:53 +00:00
parent a3f84c2c87
commit 347badd7f3
2 changed files with 15 additions and 4 deletions

View file

@ -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;