Searched refs:secashead (Results 1 - 6 of 6) sorted by relevance

/darwin-on-arm/xnu/bsd/netkey/
H A Dkey.h52 struct secashead;
84 extern void key_delsah(struct secashead *sah);
85 extern struct secashead *key_newsah2 (struct secasindex *saidx, u_int8_t dir);
92 extern struct secasvar * key_newsav2(struct secashead *sah,
H A Dkeydb.h54 struct secashead { struct
55 LIST_ENTRY(secashead) chain;
104 struct secashead *sah; /* back pointer to the secashead */
159 /* secashead */
160 extern struct secashead *keydb_newsecashead(void);
161 // extern void keydb_delsecashead(struct secashead *); // not used
H A Dkeydb.c84 * secashead management
86 struct secashead *
89 struct secashead *p;
94 p = (struct secashead *)_MALLOC(sizeof(*p), M_SECA, M_NOWAIT);
97 p = (struct secashead *)_MALLOC(sizeof(*p), M_SECA, M_WAITOK);
111 struct secashead *p;
H A Dkey.c184 static LIST_HEAD(_sahtree, secashead) sahtree; /* SAD */
431 static struct secasvar *key_do_allocsa_policy(struct secashead *, u_int, u_int16_t);
432 static int key_do_get_translated_port(struct secashead *, struct secasvar *, u_int);
456 static struct secashead *key_newsah(struct secasindex *, u_int8_t);
458 const struct sadb_msghdr *, struct secashead *, int *);
459 static struct secashead *key_getsah(struct secasindex *);
462 static struct secasvar *key_getsavbyspi(struct secashead *, u_int32_t);
510 static struct secasvar *key_getsavbyseq(struct secashead *, u_int32_t);
513 static int key_setident(struct secashead *, struct mbuf *,
867 struct secashead *sa
[all...]
/darwin-on-arm/xnu/bsd/net/
H A Dif_utun_crypto_ipsec.c173 utun_ipsec_set_sah (struct secashead **sah,
211 utun_ipsec_clr_sahs (struct secashead **sah)
295 utun_ipsec_alloc_sav (struct secashead *sah,
384 utun_ipsec_num_savs (struct secashead **sah)
423 struct secashead *sah;
H A Dif_utun_crypto.h236 struct secashead *sah;

Completed in 30 milliseconds