summaryrefslogtreecommitdiff
path: root/include/net/macsec.h
diff options
context:
space:
mode:
authorEmeel Hakim <ehakim@nvidia.com>2022-08-18 18:32:30 +0300
committerJakub Kicinski <kuba@kernel.org>2022-08-19 06:37:35 +0300
commit5d81757835859760a38a54a87eff856d4e578836 (patch)
tree93cee63089b8acb413f020a0b0ecd0a149f4b4d8 /include/net/macsec.h
parentaa447a8734f12f78a1ee6cd611e277cd4c33d773 (diff)
downloadlinux-5d81757835859760a38a54a87eff856d4e578836.tar.xz
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>
Diffstat (limited to 'include/net/macsec.h')
-rw-r--r--include/net/macsec.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/macsec.h b/include/net/macsec.h
index d6fa6b97f6ef..73780aa73644 100644
--- a/include/net/macsec.h
+++ b/include/net/macsec.h
@@ -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;