[netsniff-ng] [PATCH] trafgen: l3: Make possible to send frames via tun device

2017-02-01 Thread Vadim Kochan
tun interface does not have Ethernet header so lets push Ethernet header only if device supports this. Signed-off-by: Vadim Kochan --- dev.c | 18 ++ dev.h | 4 trafgen_l3.c| 15 --- trafgen_proto.c | 5 + trafgen_proto.h | 2 ++ 5

[netsniff-ng] Re: [PATCH] trafgen: l3: Make possible to send frames via tun device

2017-02-01 Thread Vadim Kochan
On Thu, Feb 2, 2017 at 6:37 AM, Vadim Kochan wrote: > tun interface does not have Ethernet header so lets push Ethernet > header only if device supports this. > > Signed-off-by: Vadim Kochan > --- > dev.c | 18 ++ > dev.h | 4 > trafgen_l3.c| 15