diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-01-12 21:42:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-12 21:42:23 +0100 |
commit | 7c5869530c41fb24e1c0c1b3e4ce186cf88fcb1c (patch) | |
tree | eb0be4009f464eab920626b125d0306d30a0e435 /src/libsystemd/sd-netlink/netlink-util.h | |
parent | journal: send journald logs to kmsg again (diff) | |
parent | link: Add support to configure Generic Segment Offload (diff) | |
download | systemd-7c5869530c41fb24e1c0c1b3e4ce186cf88fcb1c.tar.xz systemd-7c5869530c41fb24e1c0c1b3e4ce186cf88fcb1c.zip |
Merge pull request #17628 from ssahani/network-gso
udev: Add support to configure Generic Segment Offload
Diffstat (limited to 'src/libsystemd/sd-netlink/netlink-util.h')
-rw-r--r-- | src/libsystemd/sd-netlink/netlink-util.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libsystemd/sd-netlink/netlink-util.h b/src/libsystemd/sd-netlink/netlink-util.h index d28d07a9f5..08b273b5e8 100644 --- a/src/libsystemd/sd-netlink/netlink-util.h +++ b/src/libsystemd/sd-netlink/netlink-util.h @@ -70,7 +70,8 @@ static inline bool rtnl_message_type_is_mdb(uint16_t type) { } int rtnl_set_link_name(sd_netlink **rtnl, int ifindex, const char *name); -int rtnl_set_link_properties(sd_netlink **rtnl, int ifindex, const char *alias, const struct ether_addr *mac, uint32_t mtu); +int rtnl_set_link_properties(sd_netlink **rtnl, int ifindex, const char *alias, const struct ether_addr *mac, uint32_t mtu, + uint32_t gso_max_size, size_t gso_max_segments); int rtnl_get_link_alternative_names(sd_netlink **rtnl, int ifindex, char ***ret); int rtnl_set_link_alternative_names(sd_netlink **rtnl, int ifindex, char * const *alternative_names); int rtnl_set_link_alternative_names_by_ifname(sd_netlink **rtnl, const char *ifname, char * const *alternative_names); |