summaryrefslogtreecommitdiff
path: root/trafgen_l4.h
AgeCommit message (Collapse)AuthorFilesLines
2016-01-29trafgen: l4: Add UDP header generation logicVadim Kochan1-0/+13
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 <vadim4j@gmail.com> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>