moved the IPV6_IPSEC_POLICY definition to the ipsec plugins, fixes uClibc build

This commit is contained in:
Martin Willi
2008-11-24 08:22:05 +00:00
parent 18e2788fbe
commit addfea95df
3 changed files with 10 additions and 5 deletions
-5
View File
@@ -59,11 +59,6 @@
#define IPV6_2292PKTINFO 2
#endif /*IPV6_2292PKTINFO*/
/* missing on uclibc */
#ifndef IPV6_IPSEC_POLICY
#define IPV6_IPSEC_POLICY 34
#endif /*IPV6_IPSEC_POLICY*/
typedef struct private_socket_t private_socket_t;
/**
@@ -57,6 +57,11 @@
#define IP_IPSEC_POLICY 16
#endif
/* missing on uclibc */
#ifndef IPV6_IPSEC_POLICY
#define IPV6_IPSEC_POLICY 34
#endif /*IPV6_IPSEC_POLICY*/
/** default priority of installed policies */
#define PRIO_LOW 3000
#define PRIO_HIGH 2000
@@ -43,6 +43,11 @@
#define IP_IPSEC_POLICY 16
#endif
/* missing on uclibc */
#ifndef IPV6_IPSEC_POLICY
#define IPV6_IPSEC_POLICY 34
#endif /*IPV6_IPSEC_POLICY*/
/** default priority of installed policies */
#define PRIO_LOW 3000
#define PRIO_HIGH 2000