Home
last modified time | relevance | path

Searched refs:shared_keys (Results 1 – 8 of 8) sorted by relevance

/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/
Dsctp_auth.c507 sctp_find_sharedkey(struct sctp_keyhead *shared_keys, uint16_t key_id) in sctp_find_sharedkey() argument
511 LIST_FOREACH(skey, shared_keys, next) { in sctp_find_sharedkey()
519 sctp_insert_sharedkey(struct sctp_keyhead *shared_keys, in sctp_insert_sharedkey() argument
524 if ((shared_keys == NULL) || (new_skey == NULL)) in sctp_insert_sharedkey()
528 if (LIST_EMPTY(shared_keys)) { in sctp_insert_sharedkey()
529 LIST_INSERT_HEAD(shared_keys, new_skey, next); in sctp_insert_sharedkey()
533 LIST_FOREACH(skey, shared_keys, next) { in sctp_insert_sharedkey()
571 skey = sctp_find_sharedkey(&stcb->asoc.shared_keys, key_id); in sctp_auth_key_acquire()
592 skey = sctp_find_sharedkey(&stcb->asoc.shared_keys, key_id); in sctp_auth_key_release()
1278 skey = sctp_find_sharedkey(&stcb->asoc.shared_keys, keyid);
[all …]
Dsctp_peeloff.c142 (void)sctp_copy_skeylist(&inp->sctp_ep.shared_keys, in sctp_do_peeloff()
143 &n_inp->sctp_ep.shared_keys); in sctp_do_peeloff()
258 (void)sctp_copy_skeylist(&inp->sctp_ep.shared_keys, in sctp_get_peeloff()
259 &n_inp->sctp_ep.shared_keys); in sctp_get_peeloff()
Dsctp_auth.h140 extern sctp_sharedkey_t *sctp_find_sharedkey(struct sctp_keyhead *shared_keys,
142 extern int sctp_insert_sharedkey(struct sctp_keyhead *shared_keys,
Dsctp_pcb.h360 struct sctp_keyhead shared_keys; member
Dsctp_usrreq.c4634 struct sctp_keyhead *shared_keys; local
4654 shared_keys = &stcb->asoc.shared_keys;
4680 error = sctp_insert_sharedkey(shared_keys, shared_key);
4688 shared_keys = &inp->sctp_ep.shared_keys;
4717 error = sctp_insert_sharedkey(shared_keys, shared_key);
4725 shared_keys = &stcb->asoc.shared_keys;
4747 error = sctp_insert_sharedkey(shared_keys, shared_key);
Dsctp_structs.h1112 struct sctp_keyhead shared_keys; /* assoc's shared keys */ member
Dsctp_pcb.c3009 LIST_INIT(&m->shared_keys);
3012 sctp_insert_sharedkey(&m->shared_keys, null_key);
4223 LIST_FOREACH_SAFE(shared_key, &inp->sctp_ep.shared_keys, next, nshared_key) {
5856 LIST_FOREACH_SAFE(shared_key, &asoc->shared_keys, next, nshared_key) {
Dsctputil.c1179 LIST_INIT(&asoc->shared_keys); in sctp_init_asoc()