Searched refs:param_hdr (Results 1 – 10 of 10) sorted by relevance
284 struct sctp_paramhdr param_hdr; member290 struct sctp_paramhdr param_hdr; member296 struct sctp_paramhdr param_hdr; member302 struct sctp_paramhdr param_hdr; member308 struct sctp_paramhdr param_hdr; member314 struct sctp_paramhdr param_hdr; member320 struct sctp_paramhdr param_hdr; member326 struct sctp_paramhdr param_hdr; member332 struct sctp_paramhdr param_hdr; member338 struct sctp_paramhdr param_hdr; member[all …]
195 random_len = ntohs(random->param_hdr.length); in sctp_auth_make_key_vector()196 hmacs_len = ntohs(hmacs->param_hdr.length); in sctp_auth_make_key_vector()198 chunks_len = ntohs(chunks->param_hdr.length); in sctp_auth_make_key_vector()542 n_elt = (ntohs(hmacs->param_hdr.length) - in sctp_auth_asoc_get_hmac()594 n_elt = (ntohs(hmacs->param_hdr.length) - in sctp_auth_asoc_verify_hmac_id()618 n_params = (ntohs(hmacs->param_hdr.length) - in sctp_auth_asoc_set_default_hmac()644 if (!param || param->param_hdr.length == 0) in __sctp_auth_cid()647 len = ntohs(param->param_hdr.length) - sizeof(struct sctp_paramhdr); in __sctp_auth_cid()767 param_len = ntohs(p->param_hdr.length); in sctp_auth_ep_add_chunkid()773 p->param_hdr.length = htons(param_len + 1); in sctp_auth_ep_add_chunkid()[all …]
325 retval->param_hdr.v = in sctp_make_init()335 sat.param_hdr.type = SCTP_PARAM_SUPPORTED_ADDRESS_TYPES; in sctp_make_init()336 sat.param_hdr.length = htons(SCTP_SAT_LEN(num_types)); in sctp_make_init()347 ext_param.param_hdr.type = SCTP_PARAM_SUPPORTED_EXT; in sctp_make_init()348 ext_param.param_hdr.length = htons(sizeof(ext_param) + num_ext); in sctp_make_init()357 aiparam.param_hdr.type = SCTP_PARAM_ADAPTATION_LAYER_IND; in sctp_make_init()358 aiparam.param_hdr.length = htons(sizeof(aiparam)); in sctp_make_init()492 retval->param_hdr.v = sctp_addto_chunk(retval, addrs_len, addrs.v); in sctp_make_init_ack()497 ext_param.param_hdr.type = SCTP_PARAM_SUPPORTED_EXT; in sctp_make_init_ack()498 ext_param.param_hdr.length = htons(sizeof(ext_param) + num_ext); in sctp_make_init_ack()[all …]
491 (!type || type == req->param_hdr.type)) in sctp_chunk_lookup_strreset_param()936 nums = (ntohs(outreq->param_hdr.length) - sizeof(*outreq)) / in sctp_process_strreset_resp()973 nums = (ntohs(inreq->param_hdr.length) - sizeof(*inreq)) / in sctp_process_strreset_resp()
407 chunk->param_hdr.v = skb_pull(chunk->skb, sizeof(struct sctp_inithdr)); in sctp_sf_do_5_1B_init()597 chunk->param_hdr.v = skb_pull(chunk->skb, sizeof(struct sctp_inithdr)); in sctp_sf_do_5_1C_ack()1170 struct sctp_paramhdr *param_hdr; in sctp_sf_beat_8_3() local1189 param_hdr = (struct sctp_paramhdr *)chunk->subh.hb_hdr; in sctp_sf_beat_8_3()1192 if (ntohs(param_hdr->length) > paylen) in sctp_sf_beat_8_3()1194 param_hdr, commands); in sctp_sf_beat_8_3()1199 reply = sctp_make_heartbeat_ack(asoc, chunk, param_hdr, paylen); in sctp_sf_beat_8_3()1262 if (ntohs(hbinfo->param_hdr.length) != sizeof(*hbinfo)) in sctp_sf_backbeat_8_3()1555 chunk->param_hdr.v = skb_pull(chunk->skb, sizeof(struct sctp_inithdr)); in sctp_sf_do_unexpected_init()2560 bht.param_hdr.type = SCTP_PARAM_COOKIE_PRESERVATIVE; in sctp_sf_do_5_2_6_stale()[all …]
585 if (ntohs(param->v6.param_hdr.length) < sizeof(struct sctp_ipv6addr_param)) in sctp_v6_from_addr_param()605 param->v6.param_hdr.type = SCTP_PARAM_IPV6_ADDRESS; in sctp_v6_to_addr_param()606 param->v6.param_hdr.length = htons(length); in sctp_v6_to_addr_param()
260 if (ntohs(param->v4.param_hdr.length) < sizeof(struct sctp_ipv4addr_param)) in sctp_v4_from_addr_param()279 param->v4.param_hdr.type = SCTP_PARAM_IPV4_ADDRESS; in sctp_v4_to_addr_param()280 param->v4.param_hdr.length = htons(length); in sctp_v4_to_addr_param()
265 ntohs(ep->auth_hmacs_list->param_hdr.length)); in sctp_association_init()268 ntohs(ep->auth_chunk_list->param_hdr.length)); in sctp_association_init()
6885 data_len = ntohs(hmacs->param_hdr.length) - in sctp_getsockopt_hmac_ident()6972 num_chunks = ntohs(ch->param_hdr.length) - sizeof(struct sctp_paramhdr); in sctp_getsockopt_peer_auth_chunks()7022 num_chunks = ntohs(ch->param_hdr.length) - sizeof(struct sctp_paramhdr); in sctp_getsockopt_local_auth_chunks()
385 struct sctp_paramhdr param_hdr; member588 union sctp_params param_hdr; member