NetworkManager/src/platform
Thomas Haller 82e31b2816 platform/netlink: cleanup nla_memcpy()
- use size_t arguments for the memory sizes. While sizes from netlink
  API currently are int typed and inherrently limited, use the more
  appropriate data type.

- rename the arguments. The "count" is really the size of the
  destination buffer.

- return how many bytes we wanted to write (like g_strlcpy()).
  That makes more sense than how many bytes we actually wrote
  because previously, we could not detect truncation.
  Anyway, none of the callers cared about the return-value either
  way.
2019-02-22 09:58:09 +01:00
..
linux platform: import nl82154.h 2018-06-26 16:21:54 +02:00
tests platform: add peer_flags argument to nm_platform_link_wireguard_change() 2019-02-14 08:00:29 +01:00
wifi platform/trivial: coding style fixes/whitespace 2019-02-22 09:58:09 +01:00
wpan platform/netlink: cleanup nla_parse*() code by using safer macros 2019-02-22 09:58:09 +01:00
nm-fake-platform.c all: drop unnecessary includes of <errno.h> and <string.h> 2019-02-12 08:50:28 +01:00
nm-fake-platform.h core: refactor private data in "src" 2016-10-04 09:50:56 +02:00
nm-linux-platform.c platform/trivial: coding style fixes/whitespace 2019-02-22 09:58:09 +01:00
nm-linux-platform.h platform: use NMDedupMultiIndex for routes in NMPCache 2017-07-05 18:37:38 +02:00
nm-netlink.c platform/netlink: cleanup nla_memcpy() 2019-02-22 09:58:09 +01:00
nm-netlink.h platform/netlink: cleanup nla_memcpy() 2019-02-22 09:58:09 +01:00
nm-platform-private.h platform: expose emit-signal function from platform 2017-07-05 18:37:39 +02:00
nm-platform-utils.c all: replace strerror() calls with nm_strerror_native() 2019-02-12 08:50:28 +01:00
nm-platform-utils.h platform/ethtool: add code to get/set offload features via ethtool 2018-08-10 10:38:19 +02:00
nm-platform.c platform: print persistent-keepalive setting of WireGuard peers 2019-02-14 08:00:29 +01:00
nm-platform.h platform: add peer_flags argument to nm_platform_link_wireguard_change() 2019-02-14 08:00:29 +01:00
nmp-netns.c all: replace g_strerror() calls with nm_strerror_native() 2019-02-12 08:50:28 +01:00
nmp-netns.h core: cleanup implementation of nm_auto* macros to use nm_auto() 2017-10-11 08:43:40 +02:00
nmp-object.c all: don't use "static inline" in source files 2019-02-06 09:31:00 +01:00
nmp-object.h platform: add and use nm_sock_addr_union_to_string() 2019-01-22 16:30:23 +01:00