| /netbsd-src/sys/netipsec/ |
| H A 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 …]
|
| H A 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 …]
|
| H A 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;
|
| H A D | ipsec6.h | 47 extern struct secpolicy ip6_def_policy; 52 struct secpolicy *ipsec6_check_policy(struct mbuf *, struct inpcb *,
|
| H A D | key_debug.h | 76 struct secpolicy; 82 void kdebug_secpolicy(const struct secpolicy *);
|
| H A 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_gets [all...] |
| H A D | keydb.h | 183 struct secpolicy *keydb_newsecpolicy (void); 184 void keydb_delsecpolicy (struct secpolicy *);
|
| H A D | key_debug.c | 443 kdebug_secpolicy(const struct secpolicy *sp) in kdebug_secpolicy()
|
| H A D | ipsecif.c | 371 struct secpolicy *sp = NULL; in ipsecif4_output()
|
| /netbsd-src/crypto/dist/ipsec-tools/src/racoon/ |
| H A 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 __P((struct policyindex *)); 147 extern struct secpolicy *getsp_r __P((struct policyindex *)); 148 struct secpolicy *getspbyspid __P((u_int32_t)); 151 extern struct secpolicy *newsp __P((void)); 152 extern void delsp __P((struct secpolicy *)); 154 extern void inssp __P((struct secpolicy *)); 155 extern void remsp __P((struct secpolicy *));
|
| H A D | policy.c | 65 static TAILQ_HEAD(_sptree, secpolicy) sptree; 68 struct secpolicy * 72 struct secpolicy *p; 89 struct secpolicy * 93 struct secpolicy *p; 94 struct secpolicy *found = NULL; 107 struct secpolicy * 112 struct secpolicy *p; 169 struct secpolicy * 173 struct secpolicy *p; [all …]
|
| H A D | proposal.h | 186 struct secpolicy; 211 struct secpolicy *, struct secpolicy *));
|
| H A D | isakmp_var.h | 89 extern int isakmp_get_sainfo __P((struct ph2handle *, struct secpolicy *, struct secpolicy *));
|
| H A D | pfkey.c | 1720 struct secpolicy *sp_out = NULL, *sp_in = NULL; 2291 struct secpolicy *sp; 2429 struct secpolicy *sp; 2563 struct secpolicy *sp; 2639 struct secpolicy *sp; 2730 struct secpolicy *sp; 3123 struct secpolicy *sp; in migrate_sp_ike_addresses() 3247 struct secpolicy *sp; in migrate_sp_isr_list() 3363 struct secpolicy *sp; 3718 struct secpolicy *new = NULL;
|
| H A D | admin.c | 490 struct secpolicy *sp_out = NULL, *sp_in = NULL;
|
| H A D | proposal.c | 1034 struct secpolicy *sp_main, *sp_sub;
|
| H A D | isakmp.c | 2250 struct secpolicy *sp_out, *sp_in; 3606 struct secpolicy *p;
|
| H A D | isakmp_quick.c | 2242 struct secpolicy *sp_in, *sp_out;
|
| H A D | ipsec_doi.c | 3925 struct secpolicy *sp;
|
| /netbsd-src/sys/net/ |
| H A D | if_ipsec.h | 83 struct secpolicy *iv_sp[IPSEC_DIR_MAX]; 84 struct secpolicy *iv_sp6[IPSEC_DIR_MAX];
|
| H A 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/ |
| H A 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/ |
| H A D | ip6_forward.c | 132 struct secpolicy *sp = NULL; in ip6_forward()
|
| H A D | ip6_output.c | 230 struct secpolicy *sp = NULL; in ip6_output()
|
| /netbsd-src/crypto/dist/ipsec-tools/src/libipsec/ |
| H A D | key_debug.c | 624 kdebug_secpolicy(struct secpolicy *sp) in kdebug_secpolicy()
|