| /netbsd/src/sys/netipsec/ |
| D | key.h | 39 struct secpolicy; 58 struct secpolicy *key_lookup_sp_byspidx(const struct secpolicyindex *, u_int, 60 struct secpolicy *key_newsp(const char*, int); 61 struct secpolicy *key_gettunnel(const struct sockaddr *, 65 void key_init_sp(struct secpolicy *); 66 void key_free_sp(struct secpolicy *); 67 u_int key_sp_refcnt(const struct secpolicy *); 68 void key_sp_ref(struct secpolicy *, const char *, int); 69 void key_sp_unref(struct secpolicy *, const char *, int); 70 void key_sp_touch(struct secpolicy *); [all …]
|
| D | ipsec.c | 136 struct secpolicy ip4_def_policy; 141 static struct secpolicy ipsec_dummy_sp __read_mostly = { 147 static struct secpolicy *ipsec_checkpcbcache(struct mbuf *, 150 struct secpolicy *, int); 162 static struct secpolicy *ipsec_getpolicybysock(struct mbuf *, u_int, 170 struct secpolicy ip6_def_policy; 183 static void ipsec_destroy_policy(struct secpolicy *); 184 static int ipsec_sp_reject(const struct secpolicy *, const struct mbuf *); 186 static size_t ipsec_sp_hdrsiz(const struct secpolicy *, const struct mbuf *); 191 static struct secpolicy * [all …]
|
| D | ipsec.h | 67 struct secpolicy { struct 108 struct secpolicy *sp; /* back pointer to SP */ argument 113 struct secpolicy *sp_in; 114 struct secpolicy *sp_out; 119 struct secpolicy *cachesp; 227 extern struct secpolicy ip4_def_policy;
|
| D | ipsec6.h | 47 extern struct secpolicy ip6_def_policy; 52 struct secpolicy *ipsec6_check_policy(struct mbuf *, struct inpcb *,
|
| D | key_debug.h | 76 struct secpolicy; 82 void kdebug_secpolicy(const struct secpolicy *);
|
| D | key.c | 307 (PSLIST_READER_FIRST(&key_spd.splist[(dir)], struct secpolicy, \ 311 struct secpolicy, pslist_entry) 314 struct secpolicy, pslist_entry) 318 (PSLIST_WRITER_FIRST(&key_spd.splist[(dir)], struct secpolicy, \ 324 PSLIST_WRITER_NEXT((sp), struct secpolicy, pslist_entry) 330 struct secpolicy *__sp; \ 344 struct secpolicy, pslist_entry) 346 (PSLIST_READER_FIRST(&key_spd.socksplist, struct secpolicy, \ 664 static void key_freesp_so(struct secpolicy **); 666 static struct secpolicy *key_getsp (const struct secpolicyindex *); [all …]
|
| D | keydb.h | 183 struct secpolicy *keydb_newsecpolicy (void); 184 void keydb_delsecpolicy (struct secpolicy *);
|
| D | key_debug.c | 443 kdebug_secpolicy(const struct secpolicy *sp) in kdebug_secpolicy()
|
| D | ipsecif.c | 371 struct secpolicy *sp = NULL; in ipsecif4_output()
|
| /netbsd/src/crypto/dist/ipsec-tools/src/racoon/ |
| D | policy.h | 75 struct secpolicy { struct 76 TAILQ_ENTRY(secpolicy) chain; 114 struct secpolicy *sp; /* back pointer to SP */ 146 extern struct secpolicy *getsp(struct policyindex *); 147 extern struct secpolicy *getsp_r(struct policyindex *); 148 struct secpolicy *getspbyspid(uint32_t); 151 extern struct secpolicy *newsp(void); 152 extern void delsp(struct secpolicy *); 154 extern void inssp(struct secpolicy *); 155 extern void remsp(struct secpolicy *);
|
| D | policy.c | 65 static TAILQ_HEAD(_sptree, secpolicy) sptree; 68 struct secpolicy * 71 struct secpolicy *p; in getsp() 88 struct secpolicy * 91 struct secpolicy *p; in getsp_r() 92 struct secpolicy *found = NULL; in getsp_r() 105 struct secpolicy * 110 struct secpolicy *p; 167 struct secpolicy * 170 struct secpolicy *p; in getspbyspid() [all …]
|
| D | proposal.h | 186 struct secpolicy; 211 struct secpolicy *, struct secpolicy *);
|
| D | isakmp_var.h | 89 extern int isakmp_get_sainfo(struct ph2handle *, struct secpolicy *, struct secpolicy *);
|
| D | pfkey.c | 1692 struct secpolicy *sp_out = NULL, *sp_in = NULL; in pk_recvacquire() 2257 struct secpolicy *sp; in pk_recvspdupdate() 2393 struct secpolicy *sp; in pk_recvspdadd() 2525 struct secpolicy *sp; in pk_recvspddelete() 2600 struct secpolicy *sp; in pk_recvspdexpire() 2688 struct secpolicy *sp; in pk_recvspddump() 3079 struct secpolicy *sp; in migrate_sp_ike_addresses() 3203 struct secpolicy *sp; in migrate_sp_isr_list() 3319 struct secpolicy *sp; 3668 struct secpolicy *new = NULL; in addnewsp()
|
| D | proposal.c | 1003 struct secpolicy *sp_main, in set_proposal_from_policy() 1004 struct secpolicy *sp_sub) in set_proposal_from_policy()
|
| D | admin.c | 489 struct secpolicy *sp_out = NULL, *sp_in = NULL; in admin_process()
|
| D | isakmp.c | 2210 isakmp_get_sainfo(struct ph2handle *iph2, struct secpolicy *sp_out, in isakmp_get_sainfo() 2211 struct secpolicy *sp_in) in isakmp_get_sainfo() 3511 struct secpolicy *p; in delete_spd()
|
| D | isakmp_quick.c | 2216 struct secpolicy *sp_in, *sp_out; in get_proposal_r()
|
| /netbsd/src/sys/net/ |
| D | if_ipsec.h | 83 struct secpolicy *iv_sp[IPSEC_DIR_MAX]; 84 struct secpolicy *iv_sp6[IPSEC_DIR_MAX];
|
| D | if_ipsec.c | 120 static inline struct secpolicy *if_ipsec_add_sp0(struct sockaddr *, 122 static inline int if_ipsec_del_sp0(struct secpolicy *); 1831 static struct secpolicy * 1984 if_ipsec_del_sp0(struct secpolicy *sp) in if_ipsec_del_sp0()
|
| /netbsd/src/external/cddl/osnet/dist/uts/common/fs/zfs/ |
| D | zfs_ioctl.c | 5817 zfs_secpolicy_func_t *secpolicy, zfs_ioc_namecheck_t namecheck, in zfs_ioctl_register_legacy() argument 5828 vec->zvec_secpolicy = secpolicy; in zfs_ioctl_register_legacy() 5840 zfs_secpolicy_func_t *secpolicy, zfs_ioc_namecheck_t namecheck, in zfs_ioctl_register() argument 5856 vec->zvec_secpolicy = secpolicy; in zfs_ioctl_register() 5865 zfs_secpolicy_func_t *secpolicy, boolean_t log_history, in zfs_ioctl_register_pool() argument 5868 zfs_ioctl_register_legacy(ioc, func, secpolicy, in zfs_ioctl_register_pool() 5874 zfs_secpolicy_func_t *secpolicy, zfs_ioc_poolcheck_t pool_check) in zfs_ioctl_register_dataset_nolog() argument 5876 zfs_ioctl_register_legacy(ioc, func, secpolicy, in zfs_ioctl_register_dataset_nolog() 5889 zfs_secpolicy_func_t *secpolicy) in zfs_ioctl_register_pool_meta() argument 5891 zfs_ioctl_register_legacy(ioc, func, secpolicy, in zfs_ioctl_register_pool_meta() [all …]
|
| /netbsd/src/sys/netinet6/ |
| D | ip6_forward.c | 132 struct secpolicy *sp = NULL; in ip6_forward()
|
| D | ip6_output.c | 230 struct secpolicy *sp = NULL; in ip6_output()
|
| /netbsd/src/external/bsd/wpa/dist/src/ap/ |
| D | ap_config.h | 97 } secpolicy; typedef 109 secpolicy security_policy;
|
| /netbsd/src/crypto/dist/ipsec-tools/src/libipsec/ |
| D | key_debug.c | 624 kdebug_secpolicy(struct secpolicy *sp) in kdebug_secpolicy()
|