File: ikev2_ipseckey.h

package info (click to toggle)
libreswan 5.2-2.3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 81,644 kB
  • sloc: ansic: 129,988; sh: 32,018; xml: 20,646; python: 10,303; makefile: 3,022; javascript: 1,506; sed: 574; yacc: 511; perl: 264; awk: 52
file content (26 lines) | stat: -rw-r--r-- 579 bytes parent folder | download | duplicates (2)
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