macsec_linux: Add a driver for macsec on Linux kernels

This uses libnl3 to communicate with the macsec module available on
Linux. A recent enough version of libnl is needed for the macsec.h file
(which is not yet available in a formal libnl release at the time of
this commit).

Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
This commit is contained in:
Sabrina Dubroca 2016-11-27 20:08:55 +01:00 committed by Jouni Malinen
parent 8618313b6e
commit f014d9dbf0
7 changed files with 1299 additions and 0 deletions

View file

@ -231,6 +231,8 @@ struct ieee802_1x_kay {
};
u64 mka_sci_u64(struct ieee802_1x_mka_sci *sci);
struct ieee802_1x_kay *
ieee802_1x_kay_init(struct ieee802_1x_kay_ctx *ctx, enum macsec_policy policy,
u16 port, const char *ifname, const u8 *addr);