summaryrefslogtreecommitdiff
path: root/geoip.c
diff options
context:
space:
mode:
authorVadim Kochan <vadim4j@gmail.com>2016-01-29 00:06:27 +0200
committerTobias Klauser <tklauser@distanz.ch>2016-01-29 09:01:14 +0100
commit4f51efe253208cb906a31e75da21a1f718132486 (patch)
tree1a69e5623b175f16bf13969759edf9a9d9836d0e /geoip.c
parentd275f16591ca44d91ee4e56d65553529a429a62d (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 'geoip.c')
0 files changed, 0 insertions, 0 deletions