1 #ifndef __CONNMAN_VPND_PLUGIN_IPSEC_H
2 #define __CONNMAN_VPND_PLUGIN_IPSEC_H
4 #define IPSEC_AUTH_PSK "PSK"
5 #define IPSEC_AUTH_RSA "RSA"
6 #define IPSEC_AUTH_XAUTH "XAUTH"
8 #define VICI_SHARED_TYPE_PSK "IKE"
9 #define VICI_SHARED_TYPE_XAUTH "xauth"
11 #define IPSEC_ERROR_CHECK_GOTO(err, target, fmt, arg...) do { \
13 connman_error(fmt, ## arg); \
18 #define IPSEC_ERROR_CHECK_RETURN(err, fmt, arg...) do { \
20 connman_error(fmt, ## arg); \
25 #define IPSEC_ERROR_CHECK_RETURN_VAL(err, ret, fmt, arg...) do { \
27 connman_error(fmt, ## arg); \
32 #endif /* __CONNMAN_VPND_PLUGIN_IPSEC_H */