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.c492 sctp_find_sharedkey(struct sctp_keyhead *shared_keys, uint16_t key_id) in sctp_find_sharedkey() argument
496 LIST_FOREACH(skey, shared_keys, next) { in sctp_find_sharedkey()
504 sctp_insert_sharedkey(struct sctp_keyhead *shared_keys, in sctp_insert_sharedkey() argument
509 if ((shared_keys == NULL) || (new_skey == NULL)) in sctp_insert_sharedkey()
513 if (LIST_EMPTY(shared_keys)) { in sctp_insert_sharedkey()
514 LIST_INSERT_HEAD(shared_keys, new_skey, next); in sctp_insert_sharedkey()
518 LIST_FOREACH(skey, shared_keys, next) { in sctp_insert_sharedkey()
556 skey = sctp_find_sharedkey(&stcb->asoc.shared_keys, key_id); in sctp_auth_key_acquire()
577 skey = sctp_find_sharedkey(&stcb->asoc.shared_keys, key_id); in sctp_auth_key_release()
1263 skey = sctp_find_sharedkey(&stcb->asoc.shared_keys, keyid);
[all …]
Dsctp_peeloff.c148 (void)sctp_copy_skeylist(&inp->sctp_ep.shared_keys, in sctp_do_peeloff()
149 &n_inp->sctp_ep.shared_keys); in sctp_do_peeloff()
270 (void)sctp_copy_skeylist(&inp->sctp_ep.shared_keys, in sctp_get_peeloff()
271 &n_inp->sctp_ep.shared_keys); in sctp_get_peeloff()
Dsctp_auth.h139 extern sctp_sharedkey_t *sctp_find_sharedkey(struct sctp_keyhead *shared_keys,
141 extern int sctp_insert_sharedkey(struct sctp_keyhead *shared_keys,
Dsctp_pcb.h360 struct sctp_keyhead shared_keys; member
Dsctp_usrreq.c4901 struct sctp_keyhead *shared_keys; local
4921 shared_keys = &stcb->asoc.shared_keys;
4947 error = sctp_insert_sharedkey(shared_keys, shared_key);
4955 shared_keys = &inp->sctp_ep.shared_keys;
4984 error = sctp_insert_sharedkey(shared_keys, shared_key);
4992 shared_keys = &stcb->asoc.shared_keys;
5014 error = sctp_insert_sharedkey(shared_keys, shared_key);
Dsctp_structs.h1120 struct sctp_keyhead shared_keys; /* assoc's shared keys */ member
Dsctp_pcb.c3108 LIST_INIT(&m->shared_keys);
3111 sctp_insert_sharedkey(&m->shared_keys, null_key);
4307 LIST_FOREACH_SAFE(shared_key, &inp->sctp_ep.shared_keys, next, nshared_key) {
5951 LIST_FOREACH_SAFE(shared_key, &asoc->shared_keys, next, nshared_key) {
Dsctputil.c1195 LIST_INIT(&asoc->shared_keys); in sctp_init_asoc()