From: Yu Watanabe Date: Tue, 2 Nov 2021 18:39:46 +0000 (+0900) Subject: sd-netlink: add more attributes for CAKE X-Git-Tag: v250-rc1~330^2~14 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fb076d5f6c0cd35eb455b48b9a059704919a2a87;p=thirdparty%2Fsystemd.git sd-netlink: add more attributes for CAKE --- diff --git a/src/libsystemd/sd-netlink/netlink-types-rtnl.c b/src/libsystemd/sd-netlink/netlink-types-rtnl.c index 2c01751a524..85a6c793966 100644 --- a/src/libsystemd/sd-netlink/netlink-types-rtnl.c +++ b/src/libsystemd/sd-netlink/netlink-types-rtnl.c @@ -1028,9 +1028,23 @@ static const NLType rtnl_nexthop_types[] = { DEFINE_TYPE_SYSTEM(rtnl_nexthop); static const NLType rtnl_tca_option_data_cake_types[] = { - [TCA_CAKE_BASE_RATE64] = { .type = NETLINK_TYPE_U64 }, - [TCA_CAKE_OVERHEAD] = { .type = NETLINK_TYPE_S32 }, - [TCA_CAKE_MPU] = { .type = NETLINK_TYPE_U32 }, + [TCA_CAKE_BASE_RATE64] = { .type = NETLINK_TYPE_U64 }, + [TCA_CAKE_DIFFSERV_MODE] = { .type = NETLINK_TYPE_U32 }, + [TCA_CAKE_ATM] = { .type = NETLINK_TYPE_U32 }, + [TCA_CAKE_FLOW_MODE] = { .type = NETLINK_TYPE_U32 }, + [TCA_CAKE_OVERHEAD] = { .type = NETLINK_TYPE_S32 }, + [TCA_CAKE_RTT] = { .type = NETLINK_TYPE_U32 }, + [TCA_CAKE_TARGET] = { .type = NETLINK_TYPE_U32 }, + [TCA_CAKE_AUTORATE] = { .type = NETLINK_TYPE_U32 }, + [TCA_CAKE_MEMORY] = { .type = NETLINK_TYPE_U32 }, + [TCA_CAKE_NAT] = { .type = NETLINK_TYPE_U32 }, + [TCA_CAKE_RAW] = { .type = NETLINK_TYPE_U32 }, + [TCA_CAKE_WASH] = { .type = NETLINK_TYPE_U32 }, + [TCA_CAKE_MPU] = { .type = NETLINK_TYPE_U32 }, + [TCA_CAKE_INGRESS] = { .type = NETLINK_TYPE_U32 }, + [TCA_CAKE_ACK_FILTER] = { .type = NETLINK_TYPE_U32 }, + [TCA_CAKE_SPLIT_GSO] = { .type = NETLINK_TYPE_U32 }, + [TCA_CAKE_FWMARK] = { .type = NETLINK_TYPE_U32 }, }; static const NLType rtnl_tca_option_data_codel_types[] = {