diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2012-09-15 07:25:56 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2012-09-15 07:25:56 +0200 |
commit | 541ee8295e0fe1b7c51fa4aee74aaa12f696860b (patch) | |
tree | e0df9c0989500ed2089b64004ac337ebc4dcc97e /src/fastd.h | |
parent | 37385fcd836bcc086b56b8dc7089d5038c203f13 (diff) | |
download | fastd-541ee8295e0fe1b7c51fa4aee74aaa12f696860b.tar fastd-541ee8295e0fe1b7c51fa4aee74aaa12f696860b.zip |
Add support for using kernel implementations of GHASH
This doesn't really improve performance on my Intel CPU (I guess due to the
context switches), but more tests have to be made, in combination with
offloading the AES to the kernel as well, and on different hardware.
Diffstat (limited to 'src/fastd.h')
-rw-r--r-- | src/fastd.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fastd.h b/src/fastd.h index e1c531b..80ec0d2 100644 --- a/src/fastd.h +++ b/src/fastd.h @@ -215,6 +215,8 @@ struct _fastd_context { int sockfd; int sock6fd; + int algfd_ghash; + size_t eth_addr_size; size_t n_eth_addr; fastd_peer_eth_addr *eth_addr; |