Searched refs:secpolicy (Results 1 - 12 of 12) sorted by relevance

/freebsd-10-stable/sys/netipsec/
H A Dkey.h38 struct secpolicy;
49 extern void key_addref(struct secpolicy *sp);
51 extern struct secpolicy *key_allocsp(struct secpolicyindex *, u_int,
53 extern struct secpolicy *key_allocsp2(u_int32_t spi, union sockaddr_union *dst,
55 extern struct secpolicy *key_newsp(const char*, int);
57 extern struct secpolicy *key_gettunnel(const struct sockaddr *,
62 extern void _key_freesp(struct secpolicy **, const char*, int);
94 extern struct secpolicy *key_msg2sp(struct sadb_x_policy *,
96 extern struct mbuf *key_sp2msg(struct secpolicy *);
98 extern int key_spdacquire(struct secpolicy *);
[all...]
H A Dkey_debug.h69 struct secpolicy;
75 extern void kdebug_secpolicy(struct secpolicy *);
H A Dipsec.h83 struct secpolicy { struct
84 LIST_ENTRY(secpolicy) chain;
129 struct secpolicy *sp; /* back pointer to SP */
151 struct secpolicy *sp_in;
152 struct secpolicy *sp_out;
297 VNET_DECLARE(struct secpolicy, ip4_def_policy);
329 extern struct secpolicy *ipsec_getpolicy(struct tdb_ident*, u_int);
331 extern struct secpolicy *ipsec4_checkpolicy(struct mbuf *, u_int, u_int,
333 extern struct secpolicy * ipsec_getpolicybyaddr(struct mbuf *, u_int,
340 extern int ipsec_in_reject(struct secpolicy *, struc
[all...]
H A Dipsec.c120 VNET_DEFINE(struct secpolicy, ip4_def_policy);
248 static struct secpolicy *ipsec_deepcopy_policy(struct secpolicy *src);
256 static struct secpolicy *
259 struct secpolicy *sp;
293 struct secpolicy *
296 struct secpolicy *sp;
321 static struct secpolicy *
325 struct secpolicy *currsp = NULL; /* Policy on socket. */
326 struct secpolicy *s
[all...]
H A Dkeydb.h200 /* secpolicy */
201 extern struct secpolicy *keydb_newsecpolicy(void);
202 extern void keydb_delsecpolicy(struct secpolicy *);
H A Dkey.c143 static VNET_DEFINE(LIST_HEAD(_sptree, secpolicy), sptree[IPSEC_DIR_MAX]);
412 static void key_freesp_so(struct secpolicy **);
414 static void key_delsp(struct secpolicy *);
415 static struct secpolicy *key_getsp(struct secpolicyindex *);
416 static void _key_delsp(struct secpolicy *sp);
417 static struct secpolicy *key_getspbyid(u_int32_t);
434 static struct mbuf *key_setdumpsp(struct secpolicy *,
436 static u_int key_getspreqmsglen(struct secpolicy *);
437 static int key_spdexpire(struct secpolicy *);
522 static int key_acquire(const struct secasindex *, struct secpolicy *);
[all...]
H A Dkey_debug.c460 kdebug_secpolicy(struct secpolicy *sp)
466 printf("secpolicy{ refcnt=%u state=%u policy=%u\n",
/freebsd-10-stable/sys/netinet6/
H A Dip6_ipsec.c129 struct secpolicy *sp;
171 struct secpolicy *sp;
225 struct secpolicy *sp = NULL;
372 struct secpolicy *sp = NULL;
H A Dip6_forward.c105 struct secpolicy *sp = NULL;
560 struct secpolicy *sp;
/freebsd-10-stable/sys/netinet/
H A Dip_ipsec.c118 struct secpolicy *sp;
162 struct secpolicy *sp;
230 struct secpolicy *sp = NULL;
/freebsd-10-stable/contrib/wpa/src/ap/
H A Dap_config.h49 } secpolicy; typedef in typeref:enum:hostap_security_policy
58 secpolicy security_policy;
/freebsd-10-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dzfs_ioctl.c63 * zfs_secpolicy_func_t *secpolicy
720 * use that name for the secpolicy/zone checks.
3453 * logging. The secpolicy func already checked that it is set.
5792 zfs_secpolicy_func_t *secpolicy, zfs_ioc_namecheck_t namecheck,
5803 vec->zvec_secpolicy = secpolicy;
5815 zfs_secpolicy_func_t *secpolicy, zfs_ioc_namecheck_t namecheck,
5831 vec->zvec_secpolicy = secpolicy;
5840 zfs_secpolicy_func_t *secpolicy, boolean_t log_history,
5843 zfs_ioctl_register_legacy(ioc, func, secpolicy,
5849 zfs_secpolicy_func_t *secpolicy, zfs_ioc_poolcheck_
5791 zfs_ioctl_register_legacy(zfs_ioc_t ioc, zfs_ioc_legacy_func_t *func, zfs_secpolicy_func_t *secpolicy, zfs_ioc_namecheck_t namecheck, boolean_t log_history, zfs_ioc_poolcheck_t pool_check) argument
5814 zfs_ioctl_register(const char *name, zfs_ioc_t ioc, zfs_ioc_func_t *func, zfs_secpolicy_func_t *secpolicy, zfs_ioc_namecheck_t namecheck, zfs_ioc_poolcheck_t pool_check, boolean_t smush_outnvlist, boolean_t allow_log) argument
5839 zfs_ioctl_register_pool(zfs_ioc_t ioc, zfs_ioc_legacy_func_t *func, zfs_secpolicy_func_t *secpolicy, boolean_t log_history, zfs_ioc_poolcheck_t pool_check) argument
5848 zfs_ioctl_register_dataset_nolog(zfs_ioc_t ioc, zfs_ioc_legacy_func_t *func, zfs_secpolicy_func_t *secpolicy, zfs_ioc_poolcheck_t pool_check) argument
5863 zfs_ioctl_register_pool_meta(zfs_ioc_t ioc, zfs_ioc_legacy_func_t *func, zfs_secpolicy_func_t *secpolicy) argument
5871 zfs_ioctl_register_dataset_read_secpolicy(zfs_ioc_t ioc, zfs_ioc_legacy_func_t *func, zfs_secpolicy_func_t *secpolicy) argument
5886 zfs_ioctl_register_dataset_modify(zfs_ioc_t ioc, zfs_ioc_legacy_func_t *func, zfs_secpolicy_func_t *secpolicy) argument
[all...]

Completed in 295 milliseconds