linux/include/uapi/linux/if_macsec.h

/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
/*
 * include/uapi/linux/if_macsec.h - MACsec device
 *
 * Copyright (c) 2015 Sabrina Dubroca <[email protected]>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 */

#ifndef _UAPI_MACSEC_H
#define _UAPI_MACSEC_H

#include <linux/types.h>

#define MACSEC_GENL_NAME
#define MACSEC_GENL_VERSION

#define MACSEC_MAX_KEY_LEN

#define MACSEC_KEYID_LEN

#define MACSEC_SALT_LEN

/* cipher IDs as per IEEE802.1AE-2018 (Table 14-1) */
#define MACSEC_CIPHER_ID_GCM_AES_128
#define MACSEC_CIPHER_ID_GCM_AES_256
#define MACSEC_CIPHER_ID_GCM_AES_XPN_128
#define MACSEC_CIPHER_ID_GCM_AES_XPN_256

/* deprecated cipher ID for GCM-AES-128 */
#define MACSEC_DEFAULT_CIPHER_ID
#define MACSEC_DEFAULT_CIPHER_ALT

#define MACSEC_MIN_ICV_LEN
#define MACSEC_MAX_ICV_LEN
/* upper limit for ICV length as recommended by IEEE802.1AE-2006 */
#define MACSEC_STD_ICV_LEN

enum macsec_attrs {};

enum macsec_secy_attrs {};

enum macsec_rxsc_attrs {};

enum macsec_sa_attrs {};

enum macsec_offload_attrs {};

enum macsec_nl_commands {};

/* u64 per-RXSC stats */
enum macsec_rxsc_stats_attr {};

/* u32 per-{RX,TX}SA stats */
enum macsec_sa_stats_attr {};

/* u64 per-TXSC stats */
enum macsec_txsc_stats_attr {};

/* u64 per-SecY stats */
enum macsec_secy_stats_attr {};

#endif /* _UAPI_MACSEC_H */