networkd tc: introduce tbf

See https://linux.die.net/man/8/tc-tbf
This commit is contained in:
Susant Sahani
2019-12-04 20:55:48 +09:00
committed by Yu Watanabe
parent c0dd326953
commit ba5841b520
9 changed files with 236 additions and 1 deletions
@@ -532,7 +532,6 @@ int sd_netlink_message_open_array(sd_netlink_message *m, uint16_t type) {
assert_return(m, -EINVAL);
assert_return(!m->sealed, -EPERM);
assert_return(m->n_containers > 0, -EINVAL);
r = add_rtattr(m, type | NLA_F_NESTED, NULL, 0);
if (r < 0)