Home
last modified time | relevance | path

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

/freebsd/sys/netinet/
H A Dsctp_peeloff.c133 if (n_inp->sctp_ep.local_hmacs) in sctp_do_peeloff()
134 sctp_free_hmaclist(n_inp->sctp_ep.local_hmacs); in sctp_do_peeloff()
135 n_inp->sctp_ep.local_hmacs = in sctp_do_peeloff()
136 sctp_copy_hmaclist(inp->sctp_ep.local_hmacs); in sctp_do_peeloff()
H A Dsctp_auth.c1413 if (stcb->asoc.local_hmacs != NULL) in sctp_auth_get_cookie_params()
1414 sctp_free_hmaclist(stcb->asoc.local_hmacs); in sctp_auth_get_cookie_params()
1415 stcb->asoc.local_hmacs = sctp_alloc_hmaclist(num_hmacs); in sctp_auth_get_cookie_params()
1416 if (stcb->asoc.local_hmacs != NULL) { in sctp_auth_get_cookie_params()
1418 (void)sctp_auth_add_hmacid(stcb->asoc.local_hmacs, in sctp_auth_get_cookie_params()
1485 stcb->asoc.local_hmacs); in sctp_auth_get_cookie_params()
1614 if (!sctp_auth_is_supported_hmac(stcb->asoc.local_hmacs, hmac_id)) { in sctp_handle_auth()
1917 stcb->asoc.local_hmacs = sctp_copy_hmaclist(inp->sctp_ep.local_hmacs); in sctp_initialize_auth_params()
1918 if (stcb->asoc.local_hmacs != NULL) { in sctp_initialize_auth_params()
1919 hmacs_len = stcb->asoc.local_hmacs->num_algo * in sctp_initialize_auth_params()
[all …]
H A Dsctp_pcb.h286 sctp_hmaclist_t *local_hmacs; member
H A Dsctp_structs.h1072 sctp_hmaclist_t *local_hmacs; /* local HMACs supported */ member
H A Dsctp_input.c494 stcb->asoc.local_hmacs); in sctp_process_init_ack()
2665 if (inp->sctp_ep.local_hmacs) in sctp_handle_cookie_echo()
2666 sctp_free_hmaclist(inp->sctp_ep.local_hmacs); in sctp_handle_cookie_echo()
2667 inp->sctp_ep.local_hmacs = in sctp_handle_cookie_echo()
2668 sctp_copy_hmaclist((*inp_p)->sctp_ep.local_hmacs); in sctp_handle_cookie_echo()
H A Dsctp_pcb.c2458 m->local_hmacs = sctp_default_supported_hmaclist(); in sctp_inpcb_alloc()
3514 if (inp->sctp_ep.local_hmacs != NULL) in sctp_inpcb_free()
3515 sctp_free_hmaclist(inp->sctp_ep.local_hmacs); in sctp_inpcb_free()
4995 if (asoc->local_hmacs) in sctp_free_assoc()
4996 sctp_free_hmaclist(asoc->local_hmacs); in sctp_free_assoc()
H A Dsctp_usrreq.c2852 hmaclist = inp->sctp_ep.local_hmacs;
4437 if (inp->sctp_ep.local_hmacs)
4438 sctp_free_hmaclist(inp->sctp_ep.local_hmacs);
4439 inp->sctp_ep.local_hmacs = hmaclist;
H A Dsctp_output.c4791 if (stcb->asoc.local_hmacs != NULL) { in sctp_send_initiate()
4801 stcb->asoc.local_hmacs->num_algo * sizeof(uint16_t)); in sctp_send_initiate()
4804 sctp_serialize_hmaclist(stcb->asoc.local_hmacs, (uint8_t *)hmacs->hmac_ids); in sctp_send_initiate()
6058 sctp_serialize_hmaclist(inp->sctp_ep.local_hmacs, in sctp_send_initiate_ack()