moved the IPV6_IPSEC_POLICY definition to the ipsec plugins, fixes uClibc build
This commit is contained in:
@@ -59,11 +59,6 @@
|
|||||||
#define IPV6_2292PKTINFO 2
|
#define IPV6_2292PKTINFO 2
|
||||||
#endif /*IPV6_2292PKTINFO*/
|
#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;
|
typedef struct private_socket_t private_socket_t;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -57,6 +57,11 @@
|
|||||||
#define IP_IPSEC_POLICY 16
|
#define IP_IPSEC_POLICY 16
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* missing on uclibc */
|
||||||
|
#ifndef IPV6_IPSEC_POLICY
|
||||||
|
#define IPV6_IPSEC_POLICY 34
|
||||||
|
#endif /*IPV6_IPSEC_POLICY*/
|
||||||
|
|
||||||
/** default priority of installed policies */
|
/** default priority of installed policies */
|
||||||
#define PRIO_LOW 3000
|
#define PRIO_LOW 3000
|
||||||
#define PRIO_HIGH 2000
|
#define PRIO_HIGH 2000
|
||||||
|
|||||||
@@ -43,6 +43,11 @@
|
|||||||
#define IP_IPSEC_POLICY 16
|
#define IP_IPSEC_POLICY 16
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* missing on uclibc */
|
||||||
|
#ifndef IPV6_IPSEC_POLICY
|
||||||
|
#define IPV6_IPSEC_POLICY 34
|
||||||
|
#endif /*IPV6_IPSEC_POLICY*/
|
||||||
|
|
||||||
/** default priority of installed policies */
|
/** default priority of installed policies */
|
||||||
#define PRIO_LOW 3000
|
#define PRIO_LOW 3000
|
||||||
#define PRIO_HIGH 2000
|
#define PRIO_HIGH 2000
|
||||||
|
|||||||
Reference in New Issue
Block a user