diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2014-02-21 20:52:39 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2014-02-21 20:52:39 +0000 |
commit | 2b50af7c9de53fbb89f291fcfccebead5bf4c675 (patch) | |
tree | 289df4b5265a356dee7671bc438c69b1e62b409a /sbin/iked/iked.h | |
parent | 91b2958e49611dab4d66c35180640ecce1176320 (diff) |
support rekeying for IPCOMP; ok mikeb@
Diffstat (limited to 'sbin/iked/iked.h')
-rw-r--r-- | sbin/iked/iked.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sbin/iked/iked.h b/sbin/iked/iked.h index b12d7d75f19..08b6f589316 100644 --- a/sbin/iked/iked.h +++ b/sbin/iked/iked.h @@ -1,4 +1,4 @@ -/* $OpenBSD: iked.h,v 1.69 2014/02/17 15:53:46 markus Exp $ */ +/* $OpenBSD: iked.h,v 1.70 2014/02/21 20:52:38 markus Exp $ */ /* * Copyright (c) 2010-2013 Reyk Floeter <reyk@openbsd.org> @@ -184,6 +184,9 @@ struct iked_childsa { struct iked_childsa *csa_peersa; /* peer */ + struct iked_childsa *csa_parent; /* IPCOMP parent */ + u_int csa_children; /* IPCOMP children */ + RB_ENTRY(iked_childsa) csa_node; TAILQ_ENTRY(iked_childsa) csa_entry; }; @@ -844,6 +847,7 @@ void socket_set_blockmode(int, enum blockmodes); int socket_af(struct sockaddr *, in_port_t); in_port_t socket_getport(struct sockaddr *); +int socket_setport(struct sockaddr *, in_port_t); int socket_getaddr(int, struct sockaddr_storage *); int socket_bypass(int, struct sockaddr *); int udp_bind(struct sockaddr *, in_port_t); |