From 506e22f6feb39d793434b473b60c8a20ccd12995 Mon Sep 17 00:00:00 2001 From: Vadim Kochan Date: Mon, 6 Feb 2017 18:23:11 +0200 Subject: 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 Signed-off-by: Tobias Klauser --- trafgen_proto.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'trafgen_proto.h') diff --git a/trafgen_proto.h b/trafgen_proto.h index 29d68db..d863287 100644 --- a/trafgen_proto.h +++ b/trafgen_proto.h @@ -159,4 +159,6 @@ extern void proto_field_set_be32(struct proto_field *field, uint32_t val); extern void proto_field_func_add(struct proto_field *field, struct proto_field_func *func); +extern const char *proto_dev_get(void); + #endif /* TRAFGEN_PROTO_H */ -- cgit v1.2.3-54-g00ecf