Add ICMPv4 protocol header creating.
Changed echorequest to echo-request, and echoreply to echo-reply
which looks more readable.
The following ICMPv4 parameters are supported:
type
code
csum
mtu
seq
id
addr
v2:
1) Drop patch for split echorequest with "-" sign
2) Removed keywords with special icmpv4 message type parameters except
MTU & Address.
Vadim Kochan (3):
trafgen: l3: Add creating ICMPv4 header
trafgen: parser: Add function to build ICMPv4 header
trafgen: man: Add description for icmpv4() function
trafgen.8 | 44 ++++++++++++++++++++++++++++++++++++++++++++
trafgen_l3.c | 3 +++
trafgen_l4.c | 42 ++++++++++++++++++++++++++++++++++++++++++
trafgen_l4.h | 10 ++++++++++
trafgen_lexer.l | 6 ++++++
trafgen_parser.y | 41 ++++++++++++++++++++++++++++++++++++++++-
trafgen_proto.h | 1 +
7 files changed, 146 insertions(+), 1 deletion(-)
--
2.6.3
--
You received this message because you are subscribed to the Google Groups
"netsniff-ng" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.