diff options
Diffstat (limited to 'src/fastd.h')
-rw-r--r-- | src/fastd.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/fastd.h b/src/fastd.h index abf8c07..8d7ce59 100644 --- a/src/fastd.h +++ b/src/fastd.h @@ -92,8 +92,8 @@ struct _fastd_method { bool (*session_want_refresh)(fastd_context *ctx, fastd_method_session_state *session); void (*session_free)(fastd_context *ctx, fastd_method_session_state *session); - bool (*encrypt)(fastd_context *ctx, fastd_method_session_state *session, fastd_buffer *out, fastd_buffer in); - bool (*decrypt)(fastd_context *ctx, fastd_method_session_state *session, fastd_buffer *out, fastd_buffer in); + bool (*encrypt)(fastd_context *ctx, fastd_peer *peer, fastd_method_session_state *session, fastd_buffer *out, fastd_buffer in); + bool (*decrypt)(fastd_context *ctx, fastd_peer *peer, fastd_method_session_state *session, fastd_buffer *out, fastd_buffer in); }; union _fastd_peer_address { @@ -133,6 +133,9 @@ struct _fastd_config { unsigned peer_stale_time; unsigned eth_addr_stale_time; + unsigned reorder_count; + unsigned reorder_time; + char *ifname; struct sockaddr_in bind_addr_in; |