2 * Worldvisions Weaver Software:
3 * Copyright (C) 2003 Net Integration Technologies, Inc.
5 * WvIpSecGuide to control all the routes through a given WvIsaKmp/WvEsp pair
9 #ifndef __WVIPSECGUIDE_H
10 #define __WVIPSECGUIDE_H
12 #include "wvngroute.h"
13 #include "wvngroutecontainer.h"
16 #include "wvistreamlist.h"
17 #include "wvipseckeeper.h"
22 class WvCryptoEncoder
;
24 class WvIpSecGuide
: public WvNGRouteContainer
28 WvIpSecKeeper
&keeper
;
29 WvIStreamList selectlist
;
35 time_t last_probe_time
;
40 WvIpSecGuide(WvIpSecKeeper
*_parent
, const WvIPAddr
&_gateway
);
41 virtual ~WvIpSecGuide();
43 // Security Association changed callback
44 void changed_sa(int spi
, WvCryptoEncoder
*enc
,
45 WvCryptoEncoder
*dec
, WvIsaKmp::actions action
);
47 // create routes through this gateway
50 // forget all routes through this gateway
51 void forget_my_routes();
53 // start up an WvIsaKmp session
58 #endif // __WVIPSECGUIDE_H