Searched refs:param_hdr (Results 1 – 11 of 11) sorted by relevance
298 struct sctp_paramhdr param_hdr; member304 struct sctp_paramhdr param_hdr; member310 struct sctp_paramhdr param_hdr; member316 struct sctp_paramhdr param_hdr; member322 struct sctp_paramhdr param_hdr; member328 struct sctp_paramhdr param_hdr; member334 struct sctp_paramhdr param_hdr; member340 struct sctp_paramhdr param_hdr; member346 struct sctp_paramhdr param_hdr; member352 struct sctp_paramhdr param_hdr; member[all …]
339 retval->param_hdr.v = in sctp_make_init()349 sat.param_hdr.type = SCTP_PARAM_SUPPORTED_ADDRESS_TYPES; in sctp_make_init()350 sat.param_hdr.length = htons(SCTP_SAT_LEN(num_types)); in sctp_make_init()360 ext_param.param_hdr.type = SCTP_PARAM_SUPPORTED_EXT; in sctp_make_init()361 ext_param.param_hdr.length = htons(sizeof(ext_param) + num_ext); in sctp_make_init()370 aiparam.param_hdr.type = SCTP_PARAM_ADAPTATION_LAYER_IND; in sctp_make_init()371 aiparam.param_hdr.length = htons(sizeof(aiparam)); in sctp_make_init()502 retval->param_hdr.v = sctp_addto_chunk(retval, addrs_len, addrs.v); in sctp_make_init_ack()507 ext_param.param_hdr.type = SCTP_PARAM_SUPPORTED_EXT; in sctp_make_init_ack()508 ext_param.param_hdr.length = htons(sizeof(ext_param) + num_ext); in sctp_make_init_ack()[all …]
210 random_len = ntohs(random->param_hdr.length); in sctp_auth_make_key_vector()211 hmacs_len = ntohs(hmacs->param_hdr.length); in sctp_auth_make_key_vector()213 chunks_len = ntohs(chunks->param_hdr.length); in sctp_auth_make_key_vector()562 n_elt = (ntohs(hmacs->param_hdr.length) - in sctp_auth_asoc_get_hmac()614 n_elt = (ntohs(hmacs->param_hdr.length) - in sctp_auth_asoc_verify_hmac_id()638 n_params = (ntohs(hmacs->param_hdr.length) - in sctp_auth_asoc_set_default_hmac()664 if (!param || param->param_hdr.length == 0) in __sctp_auth_cid()667 len = ntohs(param->param_hdr.length) - sizeof(struct sctp_paramhdr); in __sctp_auth_cid()794 param_len = ntohs(p->param_hdr.length); in sctp_auth_ep_add_chunkid()800 p->param_hdr.length = htons(param_len + 1); in sctp_auth_ep_add_chunkid()[all …]
91 auth_hmacs->param_hdr.type = SCTP_PARAM_HMAC_ALGO; in sctp_endpoint_init()92 auth_hmacs->param_hdr.length = in sctp_endpoint_init()97 auth_chunks->param_hdr.type = SCTP_PARAM_CHUNKS; in sctp_endpoint_init()98 auth_chunks->param_hdr.length = in sctp_endpoint_init()107 auth_chunks->param_hdr.length = in sctp_endpoint_init()
404 chunk->param_hdr.v = skb_pull(chunk->skb, sizeof(struct sctp_inithdr)); in sctp_sf_do_5_1B_init()588 chunk->param_hdr.v = skb_pull(chunk->skb, sizeof(struct sctp_inithdr)); in sctp_sf_do_5_1C_ack()1126 struct sctp_paramhdr *param_hdr; in sctp_sf_beat_8_3() local1145 param_hdr = (struct sctp_paramhdr *)chunk->subh.hb_hdr; in sctp_sf_beat_8_3()1148 if (ntohs(param_hdr->length) > paylen) in sctp_sf_beat_8_3()1150 param_hdr, commands); in sctp_sf_beat_8_3()1155 reply = sctp_make_heartbeat_ack(asoc, chunk, param_hdr, paylen); in sctp_sf_beat_8_3()1218 if (ntohs(hbinfo->param_hdr.length) != sizeof(*hbinfo)) in sctp_sf_backbeat_8_3()1505 chunk->param_hdr.v = skb_pull(chunk->skb, sizeof(struct sctp_inithdr)); in sctp_sf_do_unexpected_init()2465 bht.param_hdr.type = SCTP_PARAM_COOKIE_PRESERVATIVE; in sctp_sf_do_5_2_6_stale()[all …]
567 (!type || type == req->param_hdr.type)) in sctp_chunk_lookup_strreset_param()1022 nums = (ntohs(outreq->param_hdr.length) - sizeof(*outreq)) / in sctp_process_strreset_resp()1059 nums = (ntohs(inreq->param_hdr.length) - sizeof(*inreq)) / in sctp_process_strreset_resp()
557 param->v6.param_hdr.type = SCTP_PARAM_IPV6_ADDRESS; in sctp_v6_to_addr_param()558 param->v6.param_hdr.length = htons(length); in sctp_v6_to_addr_param()
283 ntohs(ep->auth_hmacs_list->param_hdr.length)); in sctp_association_init()286 ntohs(ep->auth_chunk_list->param_hdr.length)); in sctp_association_init()
286 param->v4.param_hdr.type = SCTP_PARAM_IPV4_ADDRESS; in sctp_v4_to_addr_param()287 param->v4.param_hdr.length = htons(length); in sctp_v4_to_addr_param()
6599 data_len = ntohs(hmacs->param_hdr.length) - in sctp_getsockopt_hmac_ident()6685 num_chunks = ntohs(ch->param_hdr.length) - sizeof(struct sctp_paramhdr); in sctp_getsockopt_peer_auth_chunks()6733 num_chunks = ntohs(ch->param_hdr.length) - sizeof(struct sctp_paramhdr); in sctp_getsockopt_local_auth_chunks()
387 struct sctp_paramhdr param_hdr; member599 union sctp_params param_hdr; member