1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
#ifndef _IKEV2_IPSECKEY_H
#define _IKEV2_IPSECKEY_H
#ifdef USE_DNSSEC
# define LSW_LIBUNBOUND_ENABLED true
#else
# define LSW_LIBUNBOUND_ENABLED false
#endif
#define IS_LIBUNBOUND LSW_LIBUNBOUND_ENABLED
struct ike_sa;
typedef enum {
DNS_OK = STF_OK,
DNS_FATAL = STF_FATAL,
DNS_SUSPEND = STF_SUSPEND,
} dns_status;
dns_status responder_fetch_idi_ipseckey(struct ike_sa *ike, struct msg_digest *md,
stf_status (*callback)(struct ike_sa *ike,
struct msg_digest *md,
bool err));
bool initiator_fetch_idr_ipseckey(struct ike_sa *ike);
#endif
|