Searched refs:sctp_paramhdr (Results 1 – 11 of 11) sorted by relevance
155 struct sctp_paramhdr { struct282 struct sctp_paramhdr param_hdr;288 struct sctp_paramhdr param_hdr;294 struct sctp_paramhdr param_hdr;300 struct sctp_paramhdr param_hdr;306 struct sctp_paramhdr param_hdr;312 struct sctp_paramhdr param_hdr;318 struct sctp_paramhdr param_hdr;324 struct sctp_paramhdr param_hdr;330 struct sctp_paramhdr param_hdr;[all …]
401 const struct sctp_paramhdr *random; in sctp_auth_verify_cookie_params()411 random = (const struct sctp_paramhdr *)cookie->auth_random; in sctp_auth_verify_cookie_params()419 hmacs_len < sizeof(struct sctp_paramhdr) + in sctp_auth_verify_cookie_params()422 (hmacs_len - sizeof(struct sctp_paramhdr)) % in sctp_auth_verify_cookie_params()426 n_hmacs = (hmacs_len - sizeof(struct sctp_paramhdr)) / in sctp_auth_verify_cookie_params()442 chunks_len < sizeof(struct sctp_paramhdr) || in sctp_auth_verify_cookie_params()446 n_chunks = chunks_len - sizeof(struct sctp_paramhdr); in sctp_auth_verify_cookie_params()551 sizeof(struct sctp_paramhdr)) >> 1; in sctp_auth_asoc_get_hmac()587 sizeof(struct sctp_paramhdr)) >> 1; in sctp_auth_asoc_verify_hmac_id()610 sizeof(struct sctp_paramhdr)) >> 1; in sctp_auth_asoc_set_default_hmac()[all …]
123 static const struct sctp_paramhdr ecap_param = {125 cpu_to_be16(sizeof(struct sctp_paramhdr)),127 static const struct sctp_paramhdr prsctp_param = {129 cpu_to_be16(sizeof(struct sctp_paramhdr)),204 struct sctp_paramhdr *auth_chunks = NULL; in sctp_make_init()205 struct sctp_paramhdr *auth_hmacs = NULL; in sctp_make_init()278 auth_hmacs = (struct sctp_paramhdr *)asoc->c.auth_hmacs; in sctp_make_init()285 auth_chunks = (struct sctp_paramhdr *)asoc->c.auth_chunks; in sctp_make_init()377 struct sctp_paramhdr *auth_chunks = NULL; in sctp_make_init_ack()378 struct sctp_paramhdr *auth_random = NULL; in sctp_make_init_ack()[all …]
267 struct sctp_paramhdr *param; in sctp_raw_to_bind_addrs() 275 param = (struct sctp_paramhdr *)raw_addr_list; in sctp_raw_to_bind_addrs()
498 static struct sctp_paramhdr *sctp_chunk_lookup_strreset_param( in sctp_chunk_lookup_strreset_param() 944 struct sctp_paramhdr *req; in sctp_process_strreset_resp()
58 struct sctp_paramhdr *p; in sctp_association_init()271 p = (struct sctp_paramhdr *)asoc->c.auth_random; in sctp_association_init()
1188 struct sctp_paramhdr *param_hdr; in sctp_sf_beat_8_3()1207 param_hdr = (struct sctp_paramhdr *)chunk->subh.hb_hdr; in sctp_sf_beat_8_3()3921 struct sctp_paramhdr *err_param = NULL; in sctp_sf_do_asconf()4063 struct sctp_paramhdr *err_param = NULL; in sctp_sf_do_asconf_ack()4177 struct sctp_paramhdr *err_param = NULL; in sctp_sf_do_reconf()4893 struct sctp_paramhdr *param = ext; in sctp_sf_violation_paramlen()
1201 if (ntohs(ch->length) < sizeof(*asconf) + sizeof(struct sctp_paramhdr)) in __sctp_rcv_asconf_lookup()
6975 sizeof(struct sctp_paramhdr); in sctp_getsockopt_hmac_ident()7061 num_chunks = ntohs(ch->param_hdr.length) - sizeof(struct sctp_paramhdr); in sctp_getsockopt_peer_auth_chunks()7111 num_chunks = ntohs(ch->param_hdr.length) - sizeof(struct sctp_paramhdr); in sctp_getsockopt_local_auth_chunks()
217 struct sctp_paramhdr *param);245 struct sctp_paramhdr **errp);271 struct sctp_paramhdr **errp);
322 #define SCTP_SAT_LEN(x) (sizeof(struct sctp_paramhdr) + (x) * sizeof(__u16))429 (pos.v + offsetof(struct sctp_paramhdr, length) + sizeof(pos.p->length) <=\432 ntohs(pos.p->length) >= sizeof(struct sctp_paramhdr);\