Changeset View
Changeset View
Standalone View
Standalone View
sys/netipsec/ipsec.h
Show First 20 Lines • Show All 330 Lines • ▼ Show 20 Lines | |||||
int ipsec_initialized(void); | int ipsec_initialized(void); | ||||
size_t ipsec_hdrsiz_internal(struct secpolicy *); | size_t ipsec_hdrsiz_internal(struct secpolicy *); | ||||
void ipsec_setspidx_inpcb(struct inpcb *, struct secpolicyindex *, u_int); | void ipsec_setspidx_inpcb(struct inpcb *, struct secpolicyindex *, u_int); | ||||
void ipsec4_setsockaddrs(const struct mbuf *, union sockaddr_union *, | void ipsec4_setsockaddrs(const struct mbuf *, union sockaddr_union *, | ||||
union sockaddr_union *); | union sockaddr_union *); | ||||
int ipsec4_common_input_cb(struct mbuf *, struct secasvar *, int, int); | int ipsec4_common_input_cb(struct mbuf *, struct secasvar *, int, int); | ||||
int ipsec4_check_pmtu(struct mbuf *, struct secpolicy *, int); | int ipsec4_check_pmtu(struct ifnet *, struct mbuf *, struct secpolicy *, int); | ||||
int ipsec4_process_packet(struct mbuf *, struct secpolicy *, struct inpcb *); | int ipsec4_process_packet(struct ifnet *, struct mbuf *, struct secpolicy *, | ||||
struct inpcb *); | |||||
int ipsec_process_done(struct mbuf *, struct secpolicy *, struct secasvar *, | int ipsec_process_done(struct mbuf *, struct secpolicy *, struct secasvar *, | ||||
u_int); | u_int); | ||||
extern void m_checkalignment(const char* where, struct mbuf *m0, | extern void m_checkalignment(const char* where, struct mbuf *m0, | ||||
int off, int len); | int off, int len); | ||||
extern struct mbuf *m_makespace(struct mbuf *m0, int skip, int hlen, int *off); | extern struct mbuf *m_makespace(struct mbuf *m0, int skip, int hlen, int *off); | ||||
extern caddr_t m_pad(struct mbuf *m, int n); | extern caddr_t m_pad(struct mbuf *m, int n); | ||||
extern int m_striphdr(struct mbuf *m, int skip, int hlen); | extern int m_striphdr(struct mbuf *m, int skip, int hlen); | ||||
Show All 12 Lines |