diff options
author | Vadim Kochan <vadim4j@gmail.com> | 2016-01-29 00:06:27 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2016-01-29 09:01:14 +0100 |
commit | 4f51efe253208cb906a31e75da21a1f718132486 (patch) | |
tree | 1a69e5623b175f16bf13969759edf9a9d9836d0e /proto_none.c | |
parent | d275f16591ca44d91ee4e56d65553529a429a62d (diff) |
trafgen: parser: Add syntax to build UDP header
Add function 'udp()' to generate UDP header.
Fields supported:
sp|sport UDP source port (default 0)
dp|dport UDP destination port (default 0)
len|length Length of UDP header + payload (calculated automatically)
csum Checksum field (calculated automatically)
Example (Echo request):
{ udp(dport=7) }
Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'proto_none.c')
0 files changed, 0 insertions, 0 deletions