summaryrefslogtreecommitdiffstats
path: root/include/linux
Commit message (Collapse)AuthorAgeFilesLines
* include: cache copy of can.h and can/netlink.hDario Binacchi2023-05-284-2/+486
| | | | | | | | Ensure that rtnl-link-can example compiles in any installation. These headers are not installed in the system. Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> Signed-off-by: Florian Westphal <fw@strlen.de>
* include: cache copy of include/linux/socket.hPablo Neira Ayuso2014-06-132-1/+22
| | | | | | | | | | | | | | | | | | | | | | | | | This fixes compilation in Debian Squeeze: CC attr.lo In file included from ../include/libmnl/libmnl.h:9, from socket.c:10: ../include/linux/netlink.h:35: error: expected specifier-qualifier-list before ‘__kernel_sa_family_t’ In file included from ../include/libmnl/libmnl.h:9, from callback.c:11: ../include/linux/netlink.h:35: error: expected specifier-qualifier-list before ‘__kernel_sa_family_t’ socket.c: In function ‘mnl_socket_get_portid’: socket.c:102: error: ‘const struct sockaddr_nl’ has no member named ‘nl_pid’ socket.c: In function ‘mnl_socket_bind’: socket.c:146: error: ‘struct sockaddr_nl’ has no member named ‘nl_family’ socket.c:147: error: ‘struct sockaddr_nl’ has no member named ‘nl_groups’ socket.c:148: error: ‘struct sockaddr_nl’ has no member named ‘nl_pid’ socket.c:163: error: ‘struct sockaddr_nl’ has no member named ‘nl_family’ socket.c: In function ‘mnl_socket_sendto’: socket.c:184: error: unknown field ‘nl_family’ specified in initializer socket.c:185: warning: excess elements in struct initializer socket.c:185: warning: (near initialization for ‘snl’) Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
* include: cache copy of nfnetlink_conntrack.hPablo Neira Ayuso2013-06-113-0/+254
| | | | | | | To ensure that examples compile in any installation. This header is not installed in the system. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
* headers: update netlink.h to 3.9Stephen Hemminger2013-03-261-5/+10
| | | | | | | | Use sanitized kernel header from 3.9 upstream kernel. Reported-by: Nicolas Dichtel <nicolas.dichtel@6wind.com> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
* include: use sanitized header from headers_installJan Engelhardt2011-03-171-127/+1
| | | | | Signed-off-by: Jan Engelhardt <jengelh@medozas.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
* headers: add local copy of linux/netlink.h to libmnlPablo Neira Ayuso2010-12-222-0/+275
Davem suggested to add a copy of linux/netlink.h to avoid compilation problems in all cases scenarios. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>