Watt-32 tcp/ip  2.2 dev-rel.10
Data Structures | Functions | Variables
ipsec.h File Reference

Go to the source code of this file.

Data Structures

struct  secpolicyindex
 
struct  secpolicy
 
struct  ipsecrequest
 
struct  inpcbpolicy
 
struct  secspacq
 
struct  ipsecstat
 
struct  ipsec_output_state
 
struct  ipsec_history
 

Functions

struct secpolicy
*ipsec4_getpolicybysock 
__P ((struct mbuf *, u_int, struct socket *, int *))
 
struct secpolicy
*ipsec4_getpolicybyaddr 
__P ((struct mbuf *, u_int, int, int *))
 
int ipsec_init_policy __P ((struct socket *so, struct inpcbpolicy **))
 
int ipsec_copy_policy __P ((struct inpcbpolicy *, struct inpcbpolicy *))
 
u_int ipsec_get_reqlevel __P ((struct ipsecrequest *))
 
int ipsec4_set_policy __P ((struct inpcb *inp, int optname, caddr_t request, size_t len, int priv))
 
int ipsec4_get_policy __P ((struct inpcb *inpcb, caddr_t request, size_t len, struct mbuf **mp))
 
int ipsec4_delete_pcbpolicy __P ((struct inpcb *))
 
int ipsec4_in_reject_so __P ((struct mbuf *, struct socket *))
 
int ipsec4_in_reject __P ((struct mbuf *, struct inpcb *))
 
int ipsec_chkreplay __P ((u_int32_t, struct secasvar *))
 
size_t ipsec4_hdrsiz __P ((struct mbuf *, u_int, struct inpcb *))
 
size_t ipsec_hdrsiz_tcp __P ((struct tcpcb *))
 
const char *ipsec4_logpacketstr __P ((struct ip *, u_int32_t))
 
const char *ipsec_logsastr __P ((struct secasvar *))
 
void ipsec_dumpmbuf __P ((struct mbuf *))
 
int ipsec4_output __P ((struct ipsec_output_state *, struct secpolicy *, int))
 
int ipsec4_tunnel_validate __P ((struct mbuf *, int, u_int, struct secasvar *))
 
int ipsec_addhist __P ((struct mbuf *, int, u_int32_t))
 
struct ipsec_history *ipsec_gethist __P ((struct mbuf *, int *))
 
caddr_t ipsec_set_policy __P ((char *, int))
 
int ipsec_get_policylen __P ((caddr_t))
 
char *ipsec_dump_policy __P ((caddr_t, char *))
 
const char *ipsec_strerror __P ((void))
 

Variables

int ipsec_debug
 
struct ipsecstat ipsecstat
 
struct secpolicy ip4_def_policy
 
int ip4_esp_trans_deflev
 
int ip4_esp_net_deflev
 
int ip4_ah_trans_deflev
 
int ip4_ah_net_deflev
 
int ip4_ah_cleartos
 
int ip4_ah_offsetmask
 
int ip4_ipsec_dfbit
 
int ip4_ipsec_ecn
 
int ip4_esp_randpad