History

net: macsec: introduce the macsec_context structure

This patch introduces the macsec_context structure. It will be used in the kernel to exchange information between the common MACsec implementation (macsec.c) and the MACsec hardware offloading implementations. This structure contains pointers to MACsec specific structures which contain the actual MACsec configuration, and to the underlying device (phydev for now).

Antoine Tenart committed 6 years ago

Commit 76564261 parent c0e4ead4 files · +37 −0Browse files

Showing the changes to include/uapi/linux (1 of 4 files). Show all

Unified · Split

include/uapi/linux/if_link.h+7−0
@@ -486,6 +486,13 @@ enum macsec_validation_type { · 485 unmodified lines
486486 MACSEC_VALIDATE_MAX = __MACSEC_VALIDATE_END - 1,
487487 };
488488
489+enum macsec_offload {
490+ MACSEC_OFFLOAD_OFF = 0,
491+ MACSEC_OFFLOAD_PHY = 1,
492+ __MACSEC_OFFLOAD_END,
493+ MACSEC_OFFLOAD_MAX = __MACSEC_OFFLOAD_END - 1,
494+};
495+
489496 /* IPVLAN section */
490497 enum {
491498 IFLA_IPVLAN_UNSPEC,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t