diff options
author | Vadim Kochan <vadim4j@gmail.com> | 2017-07-29 12:46:08 +0300 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2017-08-10 09:03:37 +0200 |
commit | 19348cec323373d84674c1d2cf34315cbf47c80d (patch) | |
tree | 3dd13803e6f9b2e84ff85b90b17a9cbc97bc93ea /trafgen_conf.h | |
parent | d55874b960a8663cc86284fad4d0472ff37b7a7e (diff) |
trafgen: dev_io: Change read/write to specify struct packet *
Refactor dev_io_ops read & write to specify struct packet *,
it may simplify a bit a caller logic. And it allow to keep
required members within one struct packet object.
Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'trafgen_conf.h')
-rw-r--r-- | trafgen_conf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/trafgen_conf.h b/trafgen_conf.h index 2af830d..7e922fe 100644 --- a/trafgen_conf.h +++ b/trafgen_conf.h @@ -80,6 +80,6 @@ extern void set_fill(uint8_t val, size_t len); extern struct packet *current_packet(void); extern uint32_t current_packet_id(void); extern struct packet *packet_get(uint32_t id); -extern void realloc_packet(void); +extern struct packet *realloc_packet(void); #endif /* TRAFGEN_CONF */ |