Commit Graph

42 Commits

Author SHA1 Message Date
Tobias Brunner 9cee688f78 kernel-netlink: Add support for setting mark/mask an SA should apply to processed traffic 2018-08-31 12:24:30 +02:00
Tobias Brunner 5bfae68670 include: Update xfrm.h to include hardware offloading extensions 2017-05-23 16:51:02 +02:00
Martin Willi dbff6373e1 include: Update xfrm.h to Linux v4.3
We strip the newly introduced <linux/in6.h> include, as this clashes with the
<netinet/in6.h> include.
2016-09-30 14:51:58 +02:00
Andreas Steffen b12c53ce77 Use standard unsigned integer types 2016-03-24 18:52:48 +01:00
Tobias Brunner e7143fe998 include: Add linux/socket.h
__kernel_sa_family_t is defined and used since Linux 3.1, so on systems
with older kernels (like CentOS 6.7, which still ships a 2.6.32 kernel) the
build with the current UAPI headers fails.  And using the native headers on
such system does not really work either because we use structs, defines, and
enum values from the newer headers in the kernel-netlink plugin.

__kernel_sa_family_t is defined in linux/socket.h so we ship that too (in
particular the simplified UAPI version from Linux 3.7+).

Fixes #1099.
2015-09-07 14:07:46 +02:00
Tobias Brunner 7ff7ce3ed6 include: Update (rt)netlink.h to the latest UAPI version 2015-08-18 12:06:08 +02:00
Tobias Brunner 3390092c76 include: Remove linux/types.h header
This conflicts with the headers of the android-21 target.  Hopefully
headers on current Linux distros are recent enough.
2015-07-28 13:27:34 +02:00
Tobias Brunner 8e8e97d10d kernel-netlink: Check existence of linux/fib_rules.h, don't include it in distribution
This reverts commit b0761f1f0a.
2013-10-18 09:52:54 +02:00
Andreas Steffen b0761f1f0a Add linux/fip_rules.h to include files 2013-10-13 20:51:10 +02:00
Tobias Brunner b29ed3715c jhash.h is not part of the distribution anymore. 2011-08-02 16:14:16 +02:00
Martin Willi aaaa7bc544 Remove the Linux jhash.h copy, as the implementation changed for 2.6.37
There are now different version for jhash, use --with-linux-headers
targeting the headers of the kernel used with the HA plugin.
2011-08-02 14:14:43 +02:00
Tobias Brunner 2e370a300d Allow routing table IDs > 255 when filtering them. 2011-07-29 12:16:18 +02:00
Tobias Brunner f3bb1bd039 Fixed common misspellings.
Mostly found by 'codespell'.
2011-07-20 16:14:10 +02:00
Martin Willi f7925cad04 Updated copy of linux/xfrm.h to 2.6.39, featuring ESN support 2011-04-20 12:26:57 +02:00
Andreas Steffen edd1fc71c2 include linux/if_alg.h in the strongSwan distribution 2011-03-17 22:52:04 +01:00
Martin Willi fd67d39e93 Added Linux AF_ALG header 2010-12-20 09:52:02 +01:00
Martin Willi d86bb6ef4d Implemented Traffic Flow Confidentiality padding in kernel_interface 2010-12-20 09:45:39 +01:00
Andreas Steffen f031e41bea upgraded xfrm.h to linux-2.6.34 2010-06-27 11:23:35 +02:00
Martin Willi 1f32f61c87 added a copy of the linux jenkins hash to dist 2010-04-07 13:55:12 +02:00
Tobias Brunner 71baf5a8f0 Adding support for AES GMAC (RFC4543). 2010-02-12 10:57:39 +01:00
Martin Willi 2379fdba1e Updated XFRM linux header, includes specified truncations for auth algos 2009-11-26 10:39:25 +01:00
Martin Willi 7b3814f75d remove spaces before tabs at the beginning of lines (^( )+\t) 2009-09-04 15:02:11 +02:00
Martin Willi 7daf5226b7 removed trailing spaces ([[:space:]]+$) 2009-09-04 13:46:09 +02:00
Andreas Steffen 217d95c82e upgrade to linux-2.6.28 headers with support for kmaddress struct 2008-10-29 05:32:38 +00:00
Tobias Brunner 1adaa02bb2 merging kernel_pfkey plugin back from kernel-interface branch 2008-10-14 08:46:31 +00:00
Martin Willi aa9a300677 userland support to process notifies for new NAT mappings detected in UDP encapsulation 2008-10-07 07:55:28 +00:00
Andreas Steffen eb0cc33886 The XFRM_STATE_AF_UNSPEC flag added to xfrm.h allows IPv4-over-IPv6 and IPv6-over-IPv6 tunnels with the 2.6.26 and later Linux kernels 2008-07-15 15:28:00 +00:00
Martin Willi a47e16a508 including sys/queue.h to support TAILQ_LAST() macro 2008-06-20 08:17:03 +00:00
Martin Willi 9bbb794afc shipping own linux/types.h for introduced __be32 in linux/xfrm.h 2008-06-20 08:15:38 +00:00
Tobias Brunner 5a9f62a754 updated xfrm.h to the version from the 2.6.25.4 kernel sources 2008-05-16 13:24:18 +00:00
Andreas Steffen bb2a529870 updated pfkeyv2.h 2008-04-18 12:27:50 +00:00
Andreas Steffen 5fc278edf3 added udp.h 2007-04-29 19:48:54 +00:00
Andreas Steffen ffef96bbad local include of pfkeyv2.h and netlink.h 2007-04-29 19:23:56 +00:00
Andreas Steffen a26b6acf92 reverted to original header files 2007-04-29 18:19:02 +00:00
Andreas Steffen c6f1e1b16c actually not needed 2007-04-28 21:32:57 +00:00
Andreas Steffen 589ae108f7 actually not needed 2007-04-28 21:28:19 +00:00
Andreas Steffen 7ab40b41d6 actually not needed 2007-04-28 21:28:08 +00:00
Andreas Steffen 5df7f3f7d4 added compiler.h filter.h in.h and udp.h to src/include/linux/ 2007-04-28 21:18:56 +00:00
Andreas Steffen 0fa646ecac added netlink.h and rtnetlink.h to src/include/linux 2007-04-28 20:35:23 +00:00
Andreas Steffen 91da71acb8 added netlink.h and rtnetlink.h to src/include/linux 2007-04-28 20:33:19 +00:00
Andreas Steffen 5c438b66e2 removed dependencies on linux/types.h 2007-04-27 17:24:20 +00:00
Martin Willi 04a7b6d868 added most problematic linux headers to distribution
other/real linux header may be selected using --with-linux-headers=dir
2007-04-19 08:59:36 +00:00