| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
https://github.com/thom311/libnl/issues/356
Fixes: 780d06ae8bee ('route: add nh type')
|
| |
|
|\ |
|
| | |
|
| |
| |
| |
| | |
$ ./tools/clang-format.sh
|
|/
|
|
|
|
|
| |
Taken from linux kernel v6.4 at [1]. The file is unmodified, except for the
"ForEachMacros".
[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/.clang-format?id=6995e2de6891c724bfeb2db33d7b87775f913ad1
|
|
|
|
|
|
| |
As we now copy all linux headers, and we have include/linux-private
in our include search path, just include the linux headers as we commonly
do.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It doesn't work well, to only include some parts of the linux headers.
For example, <linux/ipv6.h> includes <linux/stddef.h>, which previously
wasn't copied. Worse, <linux/ipv6.h> depends on some recent defines in
<linux/stddef.h>, so we cannot just mix kernel headers from different
versions.
Import all the used <linux/*> kernel headers. Note that architecture
specific headers from "<asm/*" and "<asm-generic/*" are not copied.
Taken from v6.4 (6995e2de6891c724bfeb2db33d7b87775f913ad1).
Reimport via
cd /data/src/linux
make headers_install ARCH=i386 INSTALL_HDR_PATH=/tmp/Linux/
cd /data/src/libnl3
for h in $(cd include/linux-private/; git ls-files .); do \
/bin/cp /tmp/Linux/include/$h include/linux-private/$h ; \
done
|
|
|
|
| |
Taken from v6.4 (6995e2de6891c724bfeb2db33d7b87775f913ad1).
|
| |
|
|
|
|
|
| |
libnl3 itself needs to be build with a C compiler. Drop the unnecessary
"extern "C"" parts from internal code.
|
| |
|
|
|
|
| |
This is currently unused.
|
|
|
|
| |
to be self-contained
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This tool had a GPL-2.0-only license text when it was added.
That is not what we require for libnl3 contributions.
Since being added, the file was only touched by me (Thomas Haller) and
Yegor Yefremov. Those are all trivial contributions.
This leaves Joe Damato, who initially contributed the file. Joe
agrees with this adjustment of the license (Thanks!!).
Note that there is also a line:
Copyright (c) 2013 Sassano Systems LLC <joe@sassanosystems.com>
Apparently, the copyright for the contribution is also with Joe, so
there is no further problem.
Fixes: c97c8c2bfdb0 ('Add idiag-socket-details')
https://github.com/thom311/libnl/pull/354
|
| |
|
|
|
|
|
|
| |
I don't think we want to ignore patch files. Why should we?
This reverts commit f55ef93d1eb9d792af2a3b79c055ee21bf14e9ea.
|
| |
|
|
|
|
| |
Fixes: 780d06ae8bee ('route: add nh type')
|
|
|
|
|
|
|
|
|
| |
So "rtnl_link_info_ops_get" didn't actually work with libnl-3.7.
Fix for 3.8.
https://github.com/thom311/libnl/issues/350
Fixes: 2e0d7f85d2ae ('lib: add rtnl_link_info_ops_get() and take lock for rtnl_link_info_ops's io_refcnt')
|
|\ |
|
| | |
|
| |
| |
| |
| |
| | |
For no strong reason, we include the public netlink headers with
<> instead of "". Be consistent.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
We have copies of the linux headers in include/linux-private.
For those files, include the copies explicitly.
No practice there is no difference, since we build with :-Ilinux-private".
|
| | |
|
| | |
|
| | |
|
|/ |
|
|\ |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In an autotools project, <config.h> should be included as very first thing
in almost all cases. We also want include other stuff, in particular
"include/base", which contains our own extensions on top of plain C (it
is thus applicable to all our C modules).
Add a "nl-default.h", which can be included as first and prepares a base
for each C source.
Additionally, since header files are never compiled directly (only indirectly
by being included), they can rely that "nl-default.h" is always available.
|
| |
| |
| |
| |
| |
| |
| | |
It seems "config.h" is the more common name for the autotools generated
header. In any case, it should not be under "lib", because lib is
specifically about libnl-3 and similar libraries. It's awkward for
modules under src to include from lib.
|
| |
| |
| |
| |
| | |
Move all the declarations from "netlink-private/types.h" to places
closer to where they are used.
|
| |
| |
| |
| |
| | |
Naming is just so important to understand what this is.
This name is better.
|
| |
| |
| |
| |
| | |
Naming is just so important to understand what this is.
This name is better.
|
| |
| |
| |
| |
| | |
Naming is just so important to understand what this is.
This name is better.
|
| |
| |
| |
| |
| |
| | |
The filename is still unique (which is the important part). Otherwise,
the "priv" is redundant, since the header being inside "lib/genl" is clearly
private.
|
|/ |
|
| |
|
|
|
|
|
|
|
|
| |
https://github.com/thom311/libnl/issues/343
Signed-off-by: Davide Caratti <dcaratti@redhat.com>
https://github.com/thom311/libnl/pull/346
|
|\ |
|
| | |
|
| | |
|
| |
| |
| |
| | |
lib/route/link-sriov.h
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
It's a private header only for lib/route (libnl-route-3). We already
have a similar header. Move the content to "lib/route/tc-api.h".
|
| |
| |
| |
| |
| |
| | |
This symbols is (wronly) exposed on the ABI of libnl-route-3.
Move the declaration to "tc-api.h", where there are similar
symbols of this kind.
|