trafgen: l3: Make possible to send frames via tun device
commit506e22f6feb39d793434b473b60c8a20ccd12995
authorVadim Kochan <vadim4j@gmail.com>
Mon, 6 Feb 2017 16:23:11 +0000 (6 18:23 +0200)
committerTobias Klauser <tklauser@distanz.ch>
Mon, 6 Feb 2017 16:43:36 +0000 (6 17:43 +0100)
treeed0576c16270aad71a506b9ae5a6b469430a7807
parent8fd19eefa46b313673d6ba2a0194a68674ef5ea9
trafgen: l3: Make possible to send frames via tun device

tun interface does not have Ethernet header so lets push Ethernet
header only if device supports this.

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