]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
sd-netlink: Add netlink property IFLA_MIN_MTU and IFLA_MAX_MTU,
authorSusant Sahani <ssahani@gmail.com>
Tue, 21 May 2019 12:13:56 +0000 (17:43 +0530)
committerSusant Sahani <ssahani@gmail.com>
Tue, 21 May 2019 12:13:56 +0000 (17:43 +0530)
src/libsystemd/sd-netlink/netlink-types.c

index 0a6bd330025eaade54bb97760c68336e6fbab295..7fd3efbd35723a44b7b7d745d7d5191043937774 100644 (file)
@@ -560,6 +560,8 @@ static const NLType rtnl_link_types[] = {
 /*
         [IFLA_PHYS_PORT_ID]     = { .type = NETLINK_TYPE_BINARY, .len = MAX_PHYS_PORT_ID_LEN },
 */
+        [IFLA_MIN_MTU]              = { .type = NETLINK_TYPE_U32 },
+        [IFLA_MAX_MTU]              = { .type = NETLINK_TYPE_U32 },
 };
 
 static const NLTypeSystem rtnl_link_type_system = {