From d275f16591ca44d91ee4e56d65553529a429a62d Mon Sep 17 00:00:00 2001 From: Vadim Kochan Date: Fri, 29 Jan 2016 00:06:26 +0200 Subject: trafgen: l4: Add UDP header generation logic Add trafgen_l4.c module with generation UDP header fields. UDP protocol generation logic automaticaly sets the protocol field of the lower level protocol to IPPROTO_UDP by default (if it is IPv4). Also checksum & length are calculated and set if it is not given by the user. Signed-off-by: Vadim Kochan Signed-off-by: Tobias Klauser --- trafgen/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'trafgen') diff --git a/trafgen/Makefile b/trafgen/Makefile index 4f342ca..3f78f07 100644 --- a/trafgen/Makefile +++ b/trafgen/Makefile @@ -22,6 +22,7 @@ trafgen-objs = xmalloc.o \ trafgen_proto.o \ trafgen_l2.o \ trafgen_l3.o \ + trafgen_l4.o \ trafgen_lexer.yy.o \ trafgen_parser.tab.o \ trafgen.o -- cgit v1.2.3-54-g00ecf