Searched refs:shared_keys (Results 1 – 8 of 8) sorted by relevance
/freebsd/sys/netinet/ |
H A D | sctp_auth.c | 485 sctp_find_sharedkey(struct sctp_keyhead *shared_keys, uint16_t key_id) in sctp_find_sharedkey() argument 489 LIST_FOREACH(skey, shared_keys, next) { in sctp_find_sharedkey() 497 sctp_insert_sharedkey(struct sctp_keyhead *shared_keys, in sctp_insert_sharedkey() argument 502 if ((shared_keys == NULL) || (new_skey == NULL)) in sctp_insert_sharedkey() 506 if (LIST_EMPTY(shared_keys)) { in sctp_insert_sharedkey() 507 LIST_INSERT_HEAD(shared_keys, new_skey, next); in sctp_insert_sharedkey() 511 LIST_FOREACH(skey, shared_keys, next) { in sctp_insert_sharedkey() 549 skey = sctp_find_sharedkey(&stcb->asoc.shared_keys, key_id); in sctp_auth_key_acquire() 566 skey = sctp_find_sharedkey(&stcb->asoc.shared_keys, key_id); in sctp_auth_key_release() 1195 skey = sctp_find_sharedkey(&stcb->asoc.shared_keys, keyid); in sctp_delete_sharedkey() [all …]
|
H A D | sctp_peeloff.c | 141 (void)sctp_copy_skeylist(&inp->sctp_ep.shared_keys, in sctp_do_peeloff() 142 &n_inp->sctp_ep.shared_keys); in sctp_do_peeloff()
|
H A D | sctp_auth.h | 137 sctp_find_sharedkey(struct sctp_keyhead *shared_keys, 140 sctp_insert_sharedkey(struct sctp_keyhead *shared_keys,
|
H A D | sctp_pcb.h | 284 struct sctp_keyhead shared_keys; member
|
H A D | sctp_usrreq.c | 4264 struct sctp_keyhead *shared_keys; local 4284 shared_keys = &stcb->asoc.shared_keys; 4310 error = sctp_insert_sharedkey(shared_keys, shared_key); 4319 shared_keys = &inp->sctp_ep.shared_keys; 4348 error = sctp_insert_sharedkey(shared_keys, shared_key); 4357 shared_keys = &stcb->asoc.shared_keys; 4382 error = sctp_insert_sharedkey(shared_keys, shared_key);
|
H A D | sctp_structs.h | 1074 struct sctp_keyhead shared_keys; /* assoc's shared keys */ member
|
H A D | sctp_pcb.c | 2469 LIST_INIT(&m->shared_keys); in sctp_inpcb_alloc() 2472 sctp_insert_sharedkey(&m->shared_keys, null_key); in sctp_inpcb_alloc() 3517 LIST_FOREACH_SAFE(shared_key, &inp->sctp_ep.shared_keys, next, nshared_key) { in sctp_inpcb_free() 5008 LIST_FOREACH_SAFE(shared_key, &asoc->shared_keys, next, nshared_key) { in sctp_free_assoc()
|
H A D | sctputil.c | 1357 LIST_INIT(&asoc->shared_keys); in sctp_init_asoc()
|