diff options
author | Vadim Kochan <vadim4j@gmail.com> | 2016-01-26 22:25:06 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2016-01-28 16:15:29 +0100 |
commit | fac5a67eb5d4928f7efbf1f0d731a7e93f0f8193 (patch) | |
tree | 5c98747f50297c27f81f605715b0d9762d2ac167 /netsniff-ng/Makefile | |
parent | d053535a66ff864d309dec2303927e410b27e5b6 (diff) |
trafgen: l2: Add ARP header generation logic
Add ARP protocol header fields generation. By default htype ethernet (1)
and ptype IPv4 (0x0800) and the corresponding hlen/plen values will be
initialized and the opcode is set to ARP Request (1).
Source MAC and IP address are set to the device's addresses if not
specified.
Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
[tk: rephrase and extend commit message]
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'netsniff-ng/Makefile')
0 files changed, 0 insertions, 0 deletions