secpolicy
struct secpolicy *sp;
struct secpolicy *sp, struct inpcb *inp)
struct secpolicy *sp = pol_entry->sp;
struct secpolicy *sp[IPSEC_SPCOUNT];
static struct secpolicy *
struct secpolicy *sp;
struct secpolicy *sp;
ipsec_newpolicies(struct ipsec_softc *sc, struct secpolicy *sp[IPSEC_SPCOUNT],
memset(sp, 0, sizeof(struct secpolicy *) * IPSEC_SPCOUNT);
struct secpolicy *sp[IPSEC_SPCOUNT];
ipsec_in_reject(struct secpolicy *sp, struct inpcb *inp, const struct mbuf *m)
ipsec_hdrsiz_internal(struct secpolicy *sp)
struct secpolicy *sp;
VNET_DEFINE_STATIC(struct secpolicy *, def_policy) = NULL;
static int ipsec_in_reject(struct secpolicy *, struct inpcb *,
static struct secpolicy *
struct secpolicy *sp;
ipsec_cachepolicy(struct inpcb *inp, struct secpolicy *sp, u_int dir)
static struct secpolicy *
ipsec_checkpolicy(struct secpolicy *sp, struct inpcb *inp, int *error)
static struct secpolicy *
struct secpolicy *sp;
static struct secpolicy *
struct secpolicy *sp;
struct secpolicy *
struct secpolicy *sp;
struct secpolicy *sp;
static struct secpolicy *
struct secpolicy *sp;
struct secpolicy *
struct secpolicy *sp;
struct secpolicy *sp;
ipsec_get_reqlevel(struct secpolicy *sp, u_int idx)
ipsec_check_history(const struct mbuf *m, struct secpolicy *sp, u_int idx)
struct secpolicy *sp_in;
struct secpolicy *sp_out;
struct secpolicy *ipsec4_checkpolicy(const struct mbuf *, struct inpcb *,
u_int ipsec_get_reqlevel(struct secpolicy *, u_int);
size_t ipsec_hdrsiz_internal(struct secpolicy *);
struct secpolicy *, int);
struct secpolicy *, struct inpcb *, u_long);
int ipsec_process_done(struct mbuf *, struct secpolicy *, struct secasvar *,
TAILQ_ENTRY(secpolicy) chain;
LIST_ENTRY(secpolicy) idhash;
LIST_ENTRY(secpolicy) drainq;
struct secpolicy *ipsec6_checkpolicy(const struct mbuf *,
int ipsec6_check_pmtu(struct ifnet *, struct mbuf *, struct secpolicy *, int);
int ipsec6_process_packet(struct ifnet *, struct mbuf *, struct secpolicy *,
struct secpolicy *sp;
ipsec_accel_find_accel_sp(struct secpolicy *sp, if_t ifp)
ipsec_accel_is_accel_sp(struct secpolicy *sp, if_t ifp)
ipsec_accel_remember_sp(struct secpolicy *sp, if_t ifp,
struct secpolicy *sp;
struct secpolicy *sp;
struct secpolicy *sp;
ipsec_accel_spdadd_impl(struct secpolicy *sp, struct inpcb *inp)
struct secpolicy *sp;
ipsec_accel_spddel_impl(struct secpolicy *sp)
struct secpolicy *sp;
struct secpolicy *sp, struct secasvar *sav, int af, int mtu, int *hwassist)
ipsec_accel_spdadd(struct secpolicy *sp, struct inpcb *inp)
void (*p)(struct secpolicy *sp, struct inpcb *inp);
ipsec_accel_spddel(struct secpolicy *sp)
void (*p)(struct secpolicy *sp);
void ipsec_accel_spdadd_impl(struct secpolicy *sp, struct inpcb *inp);
void ipsec_accel_spddel_impl(struct secpolicy *sp);
struct inpcb *inp, struct secpolicy *sp, struct secasvar *sav, int af,
struct secpolicy;
extern void (*ipsec_accel_spdadd_p)(struct secpolicy *sp, struct inpcb *inp);
extern void (*ipsec_accel_spddel_p)(struct secpolicy *sp);
struct secpolicy *sp, u_int *pidx, int *error)
struct secpolicy *sp, struct inpcb *inp, u_int idx, u_long mtu)
struct secpolicy *sp, struct inpcb *inp, u_long mtu)
struct secpolicy *sp, int forwarding)
struct secpolicy *sp;
ipsec6_allocsa(struct ifnet *ifp, struct mbuf *m, struct secpolicy *sp,
ipsec6_perform_request(struct ifnet *ifp, struct mbuf *m, struct secpolicy *sp,
ipsec6_process_packet(struct ifnet *ifp, struct mbuf *m, struct secpolicy *sp,
ipsec6_check_pmtu(struct ifnet *ifp, struct mbuf *m, struct secpolicy *sp,
struct secpolicy *sp;
ipsec_process_done(struct mbuf *m, struct secpolicy *sp, struct secasvar *sav,
static struct secpolicy *
ipsec_deepcopy_pcbpolicy(struct secpolicy *src)
struct secpolicy *dst;
struct secpolicy *sp;
struct secpolicy **spp, *newsp;
struct secpolicy *sp;
void (*ipsec_accel_spdadd_p)(struct secpolicy *sp, struct inpcb *inp);
void (*ipsec_accel_spddel_p)(struct secpolicy *sp);
key_allocsa_policy(struct secpolicy *sp, const struct secasindex *saidx,
key_freesp(struct secpolicy **spp)
struct secpolicy *sp = *spp;
key_unlink(struct secpolicy *sp)
key_detach(struct secpolicy *sp)
key_insertsp(struct secpolicy *newsp)
struct secpolicy *sp;
key_register_ifnet(struct secpolicy **spp, u_int count)
key_unregister_ifnet(struct secpolicy **spp, u_int count)
static struct secpolicy *
struct secpolicy *sp;
static struct secpolicy *
struct secpolicy *sp;
struct secpolicy *
struct secpolicy *sp;
struct secpolicy *
struct secpolicy *newsp;
TAILQ_HEAD(secpolicy_queue, secpolicy);
LIST_HEAD(secpolicy_list, secpolicy);
key_sp2mbuf(struct secpolicy *sp)
key_sp2msg(struct secpolicy *sp, void *request, size_t *len)
struct secpolicy *sp; /* cached policy to be used */
struct secpolicy *newsp, *oldsp;
struct secpolicy *sp;
struct secpolicy *sp;
struct secpolicy *sp;
struct secpolicy *sp;
key_spdacquire(struct secpolicy *sp)
struct secpolicy *sp, *nextsp;
struct secpolicy *sp;
key_setdumpsp(struct secpolicy *sp, u_int8_t type, u_int32_t seq,
key_getspreqmsglen(struct secpolicy *sp)
key_spdexpire(struct secpolicy *sp)
struct secpolicy *sp, *nextsp;
static void key_unlink(struct secpolicy *);
static void key_detach(struct secpolicy *);
static struct secpolicy *key_getsp(struct secpolicyindex *);
static struct secpolicy *key_getspbyid(u_int32_t);
static struct mbuf *key_setdumpsp(struct secpolicy *,
static struct mbuf *key_sp2mbuf(struct secpolicy *);
static size_t key_getspreqmsglen(struct secpolicy *);
static int key_spdexpire(struct secpolicy *);
key_acquire(const struct secasindex *saidx, struct secpolicy *sp)
static int key_acquire(const struct secasindex *, struct secpolicy *);
struct secpolicy *policy);
key_addref(struct secpolicy *sp)
spdcache_entry_alloc(const struct secpolicyindex *spidx, struct secpolicy *sp)
struct secpolicy *sp, *nextsp;
struct secpolicy *
struct secpolicy *sp;
struct secpolicy *
struct secpolicy *sp;
struct secpolicy;
struct secpolicy *key_newsp(void);
struct secpolicy *key_allocsp(struct secpolicyindex *, u_int);
struct secpolicy *key_do_allocsp(struct secpolicyindex *spidx, u_int dir);
struct secpolicy *key_msg2sp(struct sadb_x_policy *, size_t, int *);
int key_sp2msg(struct secpolicy *, void *, size_t *);
void key_addref(struct secpolicy *);
void key_freesp(struct secpolicy **);
int key_spdacquire(struct secpolicy *);
struct secasvar *key_allocsa_policy(struct secpolicy *,
int key_register_ifnet(struct secpolicy **, u_int);
void key_unregister_ifnet(struct secpolicy **, u_int);
kdebug_secpolicy(struct secpolicy *sp)
struct secpolicy;
void kdebug_secpolicy(struct secpolicy *);
struct secpolicy;
struct secpolicy *sp; /* security policy */
struct secpolicy *, struct secasvar *, u_int, int, int);
struct secpolicy *sp;
ah_output(struct mbuf *m, struct secpolicy *sp, struct secasvar *sav,
struct secpolicy *sp;
esp_output(struct mbuf *m, struct secpolicy *sp, struct secasvar *sav,
ipcomp_output(struct mbuf *m, struct secpolicy *sp, struct secasvar *sav,
struct secpolicy *sp;