diff options
author | Packet Please <pktpls@systemli.org> | 2023-09-22 23:42:05 +0200 |
---|---|---|
committer | Packet Please <pktpls@systemli.org> | 2023-09-22 23:42:05 +0200 |
commit | d1504255c69d983c9b5a184865291a726abd8751 (patch) | |
tree | ba64bd1b23cfaa7e7003fac36a91f3ffa936c08d /lib/rtnl.c | |
parent | d3941744f6c103573a3bf9a3739d19dcb1884ba7 (diff) |
rtnl: update the link attr TODOs
Signed-off-by: Packet Please <pktpls@systemli.org>
Diffstat (limited to 'lib/rtnl.c')
-rw-r--r-- | lib/rtnl.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -724,9 +724,7 @@ static const uc_nl_nested_spec_t link_msg = { { IFLA_BROADCAST, "broadcast", DT_LLADDR, 0, NULL }, { IFLA_TXQLEN, "txqlen", DT_U32, 0, NULL }, { IFLA_MTU, "mtu", DT_U32, 0, NULL }, - /* { IFLA_NETNS_PID, "netns", DT_U32, 0, NULL }, */ { IFLA_CARRIER, "carrier", DT_BOOL, 0, NULL }, - /* IFLA_VFINFO_LIST */ { IFLA_MASTER, "master", DT_NETDEV, DF_ALLOW_NONE, NULL }, { IFLA_IFALIAS, "ifalias", DT_STRING, 0, NULL }, { IFLA_LINKMODE, "linkmode", DT_U8, 0, NULL }, @@ -743,6 +741,10 @@ static const uc_nl_nested_spec_t link_msg = { { IFLA_LINKINFO, "linkinfo", DT_LINKINFO, 0, NULL }, /* XXX: DF_NO_GET ? */ { IFLA_EXT_MASK, "ext_mask", DT_U32, 0, NULL }, { IFLA_STATS64, "stats64", DT_NESTED, DF_NO_SET, &link_attrs_stats64_rta }, + /* TODO: IFLA_VFINFO_LIST */ + /* TODO: the following two should be straightforward, just uncomment and test */ + /* { IFLA_NET_NS_PID, "net_ns_pid", DT_S32, 0, NULL }, */ + /* { IFLA_NET_NS_FD, "net_ns_fd", DT_S32, 0, NULL }, */ } }; |