Home
last modified time | relevance | path

Searched refs:secpolicy (Results 1 – 25 of 26) sorted by relevance

12

/netbsd/src/sys/netipsec/
Dkey.h39 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 …]
Dipsec.c136 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 …]
Dipsec.h67 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;
Dipsec6.h47 extern struct secpolicy ip6_def_policy;
52 struct secpolicy *ipsec6_check_policy(struct mbuf *, struct inpcb *,
Dkey_debug.h76 struct secpolicy;
82 void kdebug_secpolicy(const struct secpolicy *);
Dkey.c307 (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 …]
Dkeydb.h183 struct secpolicy *keydb_newsecpolicy (void);
184 void keydb_delsecpolicy (struct secpolicy *);
Dkey_debug.c443 kdebug_secpolicy(const struct secpolicy *sp) in kdebug_secpolicy()
Dipsecif.c371 struct secpolicy *sp = NULL; in ipsecif4_output()
/netbsd/src/crypto/dist/ipsec-tools/src/racoon/
Dpolicy.h75 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 *);
Dpolicy.c65 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 …]
Dproposal.h186 struct secpolicy;
211 struct secpolicy *, struct secpolicy *);
Disakmp_var.h89 extern int isakmp_get_sainfo(struct ph2handle *, struct secpolicy *, struct secpolicy *);
Dpfkey.c1692 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()
Dproposal.c1003 struct secpolicy *sp_main, in set_proposal_from_policy()
1004 struct secpolicy *sp_sub) in set_proposal_from_policy()
Dadmin.c489 struct secpolicy *sp_out = NULL, *sp_in = NULL; in admin_process()
Disakmp.c2210 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()
Disakmp_quick.c2216 struct secpolicy *sp_in, *sp_out; in get_proposal_r()
/netbsd/src/sys/net/
Dif_ipsec.h83 struct secpolicy *iv_sp[IPSEC_DIR_MAX];
84 struct secpolicy *iv_sp6[IPSEC_DIR_MAX];
Dif_ipsec.c120 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/
Dzfs_ioctl.c5817 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/
Dip6_forward.c132 struct secpolicy *sp = NULL; in ip6_forward()
Dip6_output.c230 struct secpolicy *sp = NULL; in ip6_output()
/netbsd/src/external/bsd/wpa/dist/src/ap/
Dap_config.h97 } secpolicy; typedef
109 secpolicy security_policy;
/netbsd/src/crypto/dist/ipsec-tools/src/libipsec/
Dkey_debug.c624 kdebug_secpolicy(struct secpolicy *sp) in kdebug_secpolicy()

12