mirror of
https://github.com/lkl/linux.git
synced 2025-12-19 08:03:01 +09:00
net: macsec: Expose MACSEC_SALT_LEN definition to user space
Expose MACSEC_SALT_LEN definition to user space to be used in various user space applications such as iproute. Iproute will use this as part of adding macsec extended packet number support. Reviewed-by: Raed Salem <raeds@nvidia.com> Reviewed-by: Sabrina Dubroca <sd@queasysnail.net> Signed-off-by: Emeel Hakim <ehakim@nvidia.com> Link: https://lore.kernel.org/r/20220818153229.4721-1-ehakim@nvidia.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
committed by
Jakub Kicinski
parent
aa447a8734
commit
5d81757835
@@ -14,7 +14,6 @@
|
||||
#define MACSEC_DEFAULT_PN_LEN 4
|
||||
#define MACSEC_XPN_PN_LEN 8
|
||||
|
||||
#define MACSEC_SALT_LEN 12
|
||||
#define MACSEC_NUM_AN 4 /* 2 bits for the association number */
|
||||
|
||||
typedef u64 __bitwise sci_t;
|
||||
|
||||
Reference in New Issue
Block a user