summaryrefslogtreecommitdiff
path: root/src/systemd/sd-netlink.h
diff options
context:
space:
mode:
authorSusant Sahani <ssahani@redhat.com>2019-04-03 16:57:36 +0530
committerYu Watanabe <watanabe.yu+github@gmail.com>2019-04-12 10:12:41 +0900
commit81962db798a557839df072018e3b019e2787cc4e (patch)
tree6456c9877311d38c0c82158ec999997789bc6b53 /src/systemd/sd-netlink.h
parent45cae4abfb8f77bc75658d5bd77f3e106ab16f4d (diff)
downloadsystemd-81962db798a557839df072018e3b019e2787cc4e.tar.gz
network: Introduce MACsec
Media Access Control Security (MACsec) is an 802.1AE IEEE industry-standard security technology that provides secure communication for all traffic on Ethernet links. MACsec provides point-to-point security on Ethernet links between directly connected nodes and is capable of identifying and preventing most security threats, including denial of service, intrusion, man-in-the-middle, masquerading, passive wiretapping, and playback attacks. Closes #5754
Diffstat (limited to 'src/systemd/sd-netlink.h')
-rw-r--r--src/systemd/sd-netlink.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/systemd/sd-netlink.h b/src/systemd/sd-netlink.h
index 804fe9f03e..d327b27308 100644
--- a/src/systemd/sd-netlink.h
+++ b/src/systemd/sd-netlink.h
@@ -40,6 +40,7 @@ typedef enum sd_gen_family {
SD_GENL_WIREGUARD,
SD_GENL_FOU,
SD_GENL_L2TP,
+ SD_GENL_MACSEC,
} sd_genl_family;
/* callback */
@@ -81,6 +82,7 @@ int sd_netlink_message_append_flag(sd_netlink_message *m, unsigned short type);
int sd_netlink_message_append_u8(sd_netlink_message *m, unsigned short type, uint8_t data);
int sd_netlink_message_append_u16(sd_netlink_message *m, unsigned short type, uint16_t data);
int sd_netlink_message_append_u32(sd_netlink_message *m, unsigned short type, uint32_t data);
+int sd_netlink_message_append_u64(sd_netlink_message *m, unsigned short type, uint64_t data);
int sd_netlink_message_append_data(sd_netlink_message *m, unsigned short type, const void *data, size_t len);
int sd_netlink_message_append_in_addr(sd_netlink_message *m, unsigned short type, const struct in_addr *data);
int sd_netlink_message_append_in6_addr(sd_netlink_message *m, unsigned short type, const struct in6_addr *data);