Searched refs:local_hmacs (Results 1 – 8 of 8) sorted by relevance
137 if (n_inp->sctp_ep.local_hmacs) in sctp_do_peeloff()138 sctp_free_hmaclist(n_inp->sctp_ep.local_hmacs); in sctp_do_peeloff()139 n_inp->sctp_ep.local_hmacs = in sctp_do_peeloff()140 sctp_copy_hmaclist(inp->sctp_ep.local_hmacs); in sctp_do_peeloff()
1416 if (stcb->asoc.local_hmacs != NULL) in sctp_auth_get_cookie_params()1417 sctp_free_hmaclist(stcb->asoc.local_hmacs); in sctp_auth_get_cookie_params()1418 stcb->asoc.local_hmacs = sctp_alloc_hmaclist(num_hmacs); in sctp_auth_get_cookie_params()1419 if (stcb->asoc.local_hmacs != NULL) { in sctp_auth_get_cookie_params()1421 (void)sctp_auth_add_hmacid(stcb->asoc.local_hmacs, in sctp_auth_get_cookie_params()1488 stcb->asoc.local_hmacs); in sctp_auth_get_cookie_params()1924 stcb->asoc.local_hmacs = sctp_copy_hmaclist(inp->sctp_ep.local_hmacs); in sctp_initialize_auth_params()1925 if (stcb->asoc.local_hmacs != NULL) { in sctp_initialize_auth_params()1926 hmacs_len = stcb->asoc.local_hmacs->num_algo * in sctp_initialize_auth_params()1927 sizeof(stcb->asoc.local_hmacs->hmac[0]); in sctp_initialize_auth_params()[all …]
289 sctp_hmaclist_t *local_hmacs; member
1080 sctp_hmaclist_t *local_hmacs; /* local HMACs supported */ member
527 stcb->asoc.local_hmacs); in sctp_process_init_ack()2712 if (inp->sctp_ep.local_hmacs) in sctp_handle_cookie_echo()2713 sctp_free_hmaclist(inp->sctp_ep.local_hmacs); in sctp_handle_cookie_echo()2714 inp->sctp_ep.local_hmacs = in sctp_handle_cookie_echo()2715 sctp_copy_hmaclist((*inp_p)->sctp_ep.local_hmacs); in sctp_handle_cookie_echo()
2591 m->local_hmacs = sctp_default_supported_hmaclist(); in sctp_inpcb_alloc()3634 if (inp->sctp_ep.local_hmacs != NULL) in sctp_inpcb_free()3635 sctp_free_hmaclist(inp->sctp_ep.local_hmacs); in sctp_inpcb_free()5131 if (asoc->local_hmacs) in sctp_free_assoc()5132 sctp_free_hmaclist(asoc->local_hmacs); in sctp_free_assoc()
2859 hmaclist = inp->sctp_ep.local_hmacs;4448 if (inp->sctp_ep.local_hmacs)4449 sctp_free_hmaclist(inp->sctp_ep.local_hmacs);4450 inp->sctp_ep.local_hmacs = hmaclist;
4779 if (stcb->asoc.local_hmacs != NULL) { in sctp_send_initiate()4789 stcb->asoc.local_hmacs->num_algo * sizeof(uint16_t)); in sctp_send_initiate()4792 sctp_serialize_hmaclist(stcb->asoc.local_hmacs, (uint8_t *)hmacs->hmac_ids); in sctp_send_initiate()5994 sctp_serialize_hmaclist(inp->sctp_ep.local_hmacs, in sctp_send_initiate_ack()