Logo Search packages:      
Sourcecode: ike version File versions  Download package

Public Member Functions | Private Member Functions | Private Attributes | Friends

_PFKI Class Reference

Inheritance diagram for _PFKI:
Inheritance graph
[legend]
Collaboration diagram for _PFKI:
Collaboration graph
[legend]

List of all members.

Public Member Functions

long attach (long timeout)
void detach ()
const char * name (long type, long value)
long read_address_dst (PFKI_MSG &msg, PFKI_ADDR &addr)
long read_address_src (PFKI_MSG &msg, PFKI_ADDR &addr)
long read_key_a (PFKI_MSG &msg, PFKI_KEY &akey)
long read_key_e (PFKI_MSG &msg, PFKI_KEY &ekey)
long read_ltime_curr (PFKI_MSG &msg, PFKI_LTIME &ltime)
long read_ltime_hard (PFKI_MSG &msg, PFKI_LTIME &ltime)
long read_ltime_soft (PFKI_MSG &msg, PFKI_LTIME &ltime)
long read_natt (PFKI_MSG &msg, PFKI_NATT &natt)
long read_policy (PFKI_MSG &msg, PFKI_SPINFO &spinfo)
long read_range (PFKI_MSG &msg, PFKI_RANGE &range)
long read_sa (PFKI_MSG &msg, PFKI_SA &sa)
long read_sa2 (PFKI_MSG &msg, PFKI_SA2 &sa2)
long recv_message (PFKI_MSG &msg)
long send_add (PFKI_SAINFO &sainfo)
long send_del (PFKI_SAINFO &sainfo)
long send_dump ()
long send_flush ()
long send_get (PFKI_SAINFO &sainfo)
long send_getspi (PFKI_SAINFO &sainfo)
long send_message (PFKI_MSG &msg)
long send_register (u_int8_t satype)
long send_spadd (PFKI_SPINFO &spinfo)
long send_spdel (PFKI_SPINFO &spinfo)
long send_spdump ()
long send_spflush ()
long send_update (PFKI_SAINFO &sainfo)
long serv_acquire (PFKI_SPINFO &spinfo)
long serv_add (PFKI_SAINFO &sainfo)
long serv_del (PFKI_SAINFO &sainfo)
long serv_dump (PFKI_SAINFO &sainfo)
long serv_get (PFKI_SAINFO &sainfo)
long serv_getspi (PFKI_SAINFO &sainfo)
long serv_spadd (PFKI_SPINFO &spinfo)
long serv_spdel (PFKI_SPINFO &spinfo)
long serv_spdump (PFKI_SPINFO &spinfo)
long serv_update (PFKI_SAINFO &sainfo)
void wakeup ()

Private Member Functions

long attach (const char *path, long timeout)
long buff_add_ext (PFKI_MSG &msg, sadb_ext **ext, long xlen, bool unit64=true)
long buff_add_ipsec (PFKI_MSG &msg, PFKI_SPINFO &spinfo)
long buff_get_address (sadb_address *ext, PFKI_ADDR &addr)
long buff_get_ext (PFKI_MSG &msg, sadb_ext **ext, long type)
long buff_get_ipsec (sadb_x_policy *ext, PFKI_SPINFO &spinfo)
long buff_get_key (sadb_key *ext, PFKI_KEY &key)
long buff_set_address (sadb_address *ext, PFKI_ADDR &addr)
long buff_set_key (sadb_key *ext, PFKI_KEY &key)
void io_conf (IPCCONN sconn)
long io_recv (void *data, size_t size)
long io_recv (void *data, size_t size, size_t &rcvd)
long io_send (void *data, size_t size, size_t &sent)
long io_send (void *data, size_t size)
long send_sainfo (u_int8_t sadb_msg_type, PFKI_SAINFO &sainfo, bool serv)
long send_spinfo (u_int8_t sadb_msg_type, PFKI_SPINFO &spinfo, bool serv)
bool sockaddr_len (int safam, int &salen)

Private Attributes

IPCCONN conn

Friends

class _PFKS

Detailed Description

Definition at line 289 of file libpfk.h.


The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index