diff options
author | Clemens Gruber <clemens.gruber@pqgruber.com> | 2019-03-11 15:25:20 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2019-03-11 17:15:47 +0100 |
commit | c423be28a0627c4769ce022f32c3c81a2a0000f9 (patch) | |
tree | c41af481e0e046a72e9fb3efac1e1fd952fe9d3b /src/libsystemd/sd-netlink | |
parent | 7f45d738a62e308cdd2c7f45b0adfa1ee59b8554 (diff) | |
download | systemd-c423be28a0627c4769ce022f32c3c81a2a0000f9.tar.gz |
network: introduce TripleSampling= option in CAN section
When enabled, three samples are used to determine the value of a
received bit by majority rule.
This patch adds support for the TripleSampling= option in the [CAN]
section of .network files.
Diffstat (limited to 'src/libsystemd/sd-netlink')
-rw-r--r-- | src/libsystemd/sd-netlink/netlink-types.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsystemd/sd-netlink/netlink-types.c b/src/libsystemd/sd-netlink/netlink-types.c index 5ef2ba3780..803de54712 100644 --- a/src/libsystemd/sd-netlink/netlink-types.c +++ b/src/libsystemd/sd-netlink/netlink-types.c @@ -308,6 +308,7 @@ static const NLType rtnl_link_info_data_geneve_types[] = { static const NLType rtnl_link_info_data_can_types[] = { [IFLA_CAN_BITTIMING] = { .size = sizeof(struct can_bittiming) }, [IFLA_CAN_RESTART_MS] = { .type = NETLINK_TYPE_U32 }, + [IFLA_CAN_CTRLMODE] = { .size = sizeof(struct can_ctrlmode) }, }; /* these strings must match the .kind entries in the kernel */ |