Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/vyos/libmnl
libmnl minimalistic netfilter library
https://github.com/vyos/libmnl
Also rename the file to its standard designated name.
Signed-off-by: Jan Engelhardt <jengelh@me...
9475fc45474d9bb57f2f138ad9575fd2593cf2df authored about 14 years ago by Jan Engelhardt <[email protected]>
This is the recommended way to regenerate the GNU build system files
these days.
Signed-off-by:...
d8f8f055bdd69c9eb88d84405521180ddce2d718 authored about 14 years ago by Jan Engelhardt <[email protected]>I like this quote.
Signed-off-by: Pablo Neira Ayuso <[email protected]>
e7fa7219245809491fedfd9efcbe50b6c839f734 authored about 14 years ago by Pablo Neira Ayuso <[email protected]>Signed-off-by: Pablo Neira Ayuso <[email protected]>
78cddab700c3d526e0677b8cfd7c7b9a5fd97e2e authored over 14 years ago by Pablo Neira Ayuso <[email protected]>
put examples files into specific directories according to the
Netlink bus they work with. And mi...
Signed-off-by: Pablo Neira Ayuso <[email protected]>
2a67cbdd18d23612a49435e251fb0c853388b0e8 authored over 14 years ago by Pablo Neira Ayuso <[email protected]>
If the portID/sequence number that we specify is zero, we skip
the sequence tracking. This is us...
Signed-off-by: Pablo Neira Ayuso <[email protected]>
6fa671f31450210275dee07cdfc94cbe63d9aa88 authored over 14 years ago by Pablo Neira Ayuso <[email protected]>Signed-off-by: Pablo Neira Ayuso <[email protected]>
d8202e44e18746f06a00424f9d3cf680b7bd4a2e authored over 14 years ago by Pablo Neira Ayuso <[email protected]>
This patch fixes the example that allows to set up/down the
network interface.
Signed-off-by: P...
c7e8539340bd5dd6a099303bda6dead9063e6333 authored over 14 years ago by Pablo Neira Ayuso <[email protected]>
These functions are too simple wrappers that bloat the library.
We can use mnl_socket_get_fd() t...
Signed-off-by: Pablo Neira Ayuso <[email protected]>
ff088fc0d88ef97fe9559880643def6fe40ae086 authored over 14 years ago by Pablo Neira Ayuso <[email protected]>Signed-off-by: Pablo Neira Ayuso <[email protected]>
e87d216e3dcb09500cb78b5a8d39da7d44abb0d6 authored over 14 years ago by Pablo Neira Ayuso <[email protected]>
commit a5f25889216411ad7492047fafe6de03b8408440 introduced a minor
problem in this example.
Sig...
4c811881d33c702464e7bf02e8ce16b3cc3eb1fc authored over 14 years ago by Pablo Neira Ayuso <[email protected]>
This patch relaxes strict attribute checkings in the example files.
I have also changed the errn...
This patch changes the errno value of mnl_cb_run[2]() in the
following two cases:
* Invalid exp...
cbded627a15baf792465c0cbe960b36cb9408fe2 authored over 14 years ago by Pablo Neira Ayuso <[email protected]>Signed-off-by: Pablo Neira Ayuso <[email protected]>
d2adc46f2748099316df910d0ecc14e4218590a0 authored over 14 years ago by Pablo Neira Ayuso <[email protected]>Signed-off-by: Pablo Neira Ayuso <[email protected]>
633bea57cb70b1e227629d46da03e1fa34f0e259 authored over 14 years ago by Pablo Neira Ayuso <[email protected]>Signed-off-by: Pablo Neira Ayuso <[email protected]>
fe3984e6f5e36f244ac4df378d66d98826da78e8 authored over 14 years ago by Pablo Neira Ayuso <[email protected]>Based on code from Jozsef Kadlecsik and its ipset-5 implementation.
Signed-off-by: Pablo Neira ...
d75ac4598f2f9472dd625d284b912d417b287e1e authored over 14 years ago by Pablo Neira Ayuso <[email protected]>Heavily based on an example from Alejandro Castaño. Untested.
Signed-off-by: Alejandro Castaño ...
c1a946a824a7b870e06b9eff209ad12d11484d1a authored over 14 years ago by Pablo Neira Ayuso <[email protected]>
The term 'Generic' is used in GeNetlink, we don't want any confusion
with it. Better remove it.
...
They have been spotted by -Wall -Wextra
Signed-off-by: Pablo Neira Ayuso <[email protected]>
a4ae4201a45858516cfb3e63ffd12c2d12acbb70 authored over 14 years ago by Pablo Neira Ayuso <[email protected]>AM_CFLAGS=-fPIC -Wall -Wextra -Wno-unused-parameter
Signed-off-by: Pablo Neira Ayuso <pablo@net...
c0d2aec13192ece4211894554348cdf9ddcb5837 authored over 14 years ago by Pablo Neira Ayuso <[email protected]>
callback.c: In function ‘mnl_cb_run2’:
callback.c:106: warning: pointer targets in passing argum...
MNL_NLMSG_HDRLEN already provides the aligned size of the netlink header.
Signed-off-by: Pablo ...
b262957ad4cadb579e4ee463a6235ab6fc1c0cf9 authored over 14 years ago by Pablo Neira Ayuso <[email protected]>Signed-off-by: Pablo Neira Ayuso <[email protected]>
9ad5f22842364ac63d0e915accc1389c51f3606a authored over 14 years ago by Pablo Neira Ayuso <[email protected]>
This patch includes the following changes:
* use uint16_t for attribute types in mnl_attr_put_*...
mnl_attr_parse does not take into account the length of the netlink
message header and the offse...
This function is still quite preliminary, comments welcome!
Signed-off-by: Pablo Neira Ayuso <p...
31118c770f1bc822226b8d3f70bad1904552745c authored over 14 years ago by Pablo Neira Ayuso <[email protected]>
Signed-off-by: Jozsef Kadlecsik <[email protected]>
Signed-off-by: Pablo Neira Ayuso <pab...
Signed-off-by: Pablo Neira Ayuso <[email protected]>
c73e0bdf363163a2515efee05ea09f8f63172deb authored over 14 years ago by Pablo Neira Ayuso <[email protected]>127dea21b7382cc0f0b5199630aa1f1666e3009d authored over 14 years ago by Pablo Neira Ayuso <[email protected]>
Remove mnl_nlmsg_get_len() since it returns a field of a structure
that is public (struct nlmsgh...
Signed-off-by: Pablo Neira Ayuso <[email protected]>
0f53ba01cd326130bdf68c2ed69e13007fe75fa3 authored over 14 years ago by Pablo Neira Ayuso <[email protected]>Signed-off-by: Pablo Neira Ayuso <[email protected]>
19d05d73b1f41e6074aad7ed73359afb232f5a36 authored over 14 years ago by Pablo Neira Ayuso <[email protected]>Signed-off-by: Pablo Neira Ayuso <[email protected]>
2d5dae752b827751868ccaa505712e8f0e564e2e authored over 14 years ago by Pablo Neira Ayuso <[email protected]>Signed-off-by: Pablo Neira Ayuso <[email protected]>
fdf71c17822f3f11cb8f8cc8b5141396d8eac942 authored almost 15 years ago by Pablo Neira Ayuso <[email protected]>This includes renaming get_tail() to get_payload_tail()
Signed-off-by: Pablo Neira Ayuso <pablo...
8e9a6ecf73b4c67c21b707228b7a621dae6804c6 authored almost 15 years ago by Pablo Neira Ayuso <[email protected]>ad3f11f8aaff3d24a932f2f55b368510cdd23c65 authored almost 15 years ago by Pablo Neira Ayuso <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>
adae0f1a8967e5e853c98a336c51553c07c1d269 authored almost 15 years ago by Pablo Neira Ayuso <[email protected]>Signed-off-by: Pablo Neira Ayuso <[email protected]>
db085424d91624a3f01bf7e76ce7e30a02857e88 authored almost 15 years ago by Pablo Neira Ayuso <[email protected]>
better to rename this function since its return value is not similar
to other _ok() functions, f...
msg.c: In function ‘mnl_nlmsg_ok’:
msg.c:136: warning: comparison between signed and unsigned
ms...
Signed-off-by: Pablo Neira Ayuso <[email protected]>
6e64a11b6d146635bd0e02fa8c9160e73f4c48a9 authored almost 15 years ago by Pablo Neira Ayuso <[email protected]>
attr.c: In function ‘mnl_attr_validate’:
attr.c:189: warning: comparison of unsigned expression ...
And include the prototype in libmnl.h, since it was missing
Signed-off-by: Pablo Neira Ayuso <p...
8bc402318be9f09b70cdb61d81799e90d8a64e7b authored almost 15 years ago by Pablo Neira Ayuso <[email protected]>
We remove mnl_align() since it has been replaced by the macro
MNL_ALIGN(). The macro allows its ...
This patch changes the callback handlers to include netlink portID
checking. Thus, we avoid that...
This patch includes the new validation infrastructure which is
decoupled from the attribute pars...
it's deeply broken 8-)
ba57ffc48d3a97421c8358947bc8cf9f2e7ff7c6 authored almost 15 years ago by Pablo Neira Ayuso <[email protected]>
netlink is not connection-oriented, we have to check the origin
of the message.
Signed-off-by: ...
abcaad6b65ed368c13c353ed71619332f76d9c2a authored almost 15 years ago by Pablo Neira Ayuso <[email protected]>Signed-off-by: Pablo Neira Ayuso <[email protected]>
ccf40b8b3789193554ae13182c38ba7e69841cce authored almost 15 years ago by Pablo Neira Ayuso <[email protected]>Signed-off-by: Pablo Neira Ayuso <[email protected]>
f8fb875d3e48d833c1a120e7c3f470d614cbba50 authored almost 15 years ago by Pablo Neira Ayuso <[email protected]>3abe11928494ca315d1b6c53d9d9805d0a0fa5b9 authored almost 15 years ago by Pablo Neira Ayuso <[email protected]>
the use of unsigned int in the number of bytes affects other message
handling helper function, h...
024aef34cd2ba6ab9b91c61c9b08f0769243de20 authored almost 15 years ago by Pablo Neira Ayuso <[email protected]>
This library is distributed under GPLv2+.
Signed-off-by: Pablo Neira Ayuso <[email protected]>
85d53a10cf5838d12ace5037af3cec8925d8aea4 authored almost 15 years ago by Pablo Neira Ayuso <[email protected]>1be15625d4d722557fbb4766290fb71a8f59cfe3 authored almost 15 years ago by Pablo Neira Ayuso <[email protected]>
This patch may contain errors but we can review them and fix them later,
better to have it in th...
3cc6ba530042288363a048299f2d6a38517db308 authored almost 15 years ago by Pablo Neira Ayuso <[email protected]>
12854285ee786cf543bcd660d9f511851d9a0fdf authored almost 15 years ago by Pablo Neira Ayuso <[email protected]>
74e7bb8b033640f7c4692c4ea0d5c231e3137b7b authored almost 15 years ago by Pablo Neira Ayuso <[email protected]>