diff options
author | Hans-Joerg Hoexer <hshoexer@cvs.openbsd.org> | 2006-06-02 04:51:56 +0000 |
---|---|---|
committer | Hans-Joerg Hoexer <hshoexer@cvs.openbsd.org> | 2006-06-02 04:51:56 +0000 |
commit | c68bef44c53342293741a2e38467a7a713fb4c39 (patch) | |
tree | 02fcc8d98674b937997b5a1e9d7898e799bc8d2f /sbin/ipsecctl/ipsecctl.h | |
parent | a0ad7926eb2e5fcd4f288a5c1b4f5a280c275039 (diff) |
put src and dst host in dedicated structure. Make the API more
compact which will soon simplify my life.
Diffstat (limited to 'sbin/ipsecctl/ipsecctl.h')
-rw-r--r-- | sbin/ipsecctl/ipsecctl.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sbin/ipsecctl/ipsecctl.h b/sbin/ipsecctl/ipsecctl.h index 6e5a367c138..c5c0e5ab7bd 100644 --- a/sbin/ipsecctl/ipsecctl.h +++ b/sbin/ipsecctl/ipsecctl.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ipsecctl.h,v 1.45 2006/06/02 03:31:20 hshoexer Exp $ */ +/* $OpenBSD: ipsecctl.h,v 1.46 2006/06/02 04:51:55 hshoexer Exp $ */ /* * Copyright (c) 2004, 2005 Hans-Joerg Hoexer <hshoexer@openbsd.org> * @@ -103,6 +103,13 @@ struct ipsec_addr_wrap { struct ipsec_addr_wrap *tail; }; +struct ipsec_hosts { + struct ipsec_addr_wrap *src; + struct ipsec_addr_wrap *dst; + u_int16_t sport; + u_int16_t dport; +}; + struct ipsec_auth { char *srcid; char *dstid; |