trafgen: proto: Add functon to fill field with device ipv4 address
commitd053535a66ff864d309dec2303927e410b27e5b6
authorVadim Kochan <vadim4j@gmail.com>
Tue, 26 Jan 2016 20:25:05 +0000 (26 22:25 +0200)
committerTobias Klauser <tklauser@distanz.ch>
Thu, 28 Jan 2016 15:15:23 +0000 (28 16:15 +0100)
tree548dd875b5ad9a14ac61d18ffb005186af8249c6
parentf3c3677c5dd67d7edda5bee5b316e014be231337
trafgen: proto: Add functon to fill field with device ipv4 address

Add helper which fills a device's ipv4 addr to the specified protocol field.

It will be used by protocols like ARP, IPv4, etc.

Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
trafgen_proto.c
trafgen_proto.h