Home
last modified time | relevance | path

Searched refs:param_hdr (Results 1 – 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/include/linux/
Dsctp.h283 struct sctp_paramhdr param_hdr; member
289 struct sctp_paramhdr param_hdr; member
295 struct sctp_paramhdr param_hdr; member
301 struct sctp_paramhdr param_hdr; member
307 struct sctp_paramhdr param_hdr; member
313 struct sctp_paramhdr param_hdr; member
319 struct sctp_paramhdr param_hdr; member
325 struct sctp_paramhdr param_hdr; member
331 struct sctp_paramhdr param_hdr; member
337 struct sctp_paramhdr param_hdr; member
[all …]
/kernel/linux/linux-5.10/net/sctp/
Dauth.c195 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 …]
Dsm_make_chunk.c325 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 …]
Dsm_statefuns.c399 chunk->param_hdr.v = skb_pull(chunk->skb, sizeof(struct sctp_inithdr)); in sctp_sf_do_5_1B_init()
583 chunk->param_hdr.v = skb_pull(chunk->skb, sizeof(struct sctp_inithdr)); in sctp_sf_do_5_1C_ack()
1125 struct sctp_paramhdr *param_hdr; in sctp_sf_beat_8_3() local
1144 param_hdr = (struct sctp_paramhdr *)chunk->subh.hb_hdr; in sctp_sf_beat_8_3()
1147 if (ntohs(param_hdr->length) > paylen) in sctp_sf_beat_8_3()
1149 param_hdr, commands); in sctp_sf_beat_8_3()
1154 reply = sctp_make_heartbeat_ack(asoc, chunk, param_hdr, paylen); in sctp_sf_beat_8_3()
1217 if (ntohs(hbinfo->param_hdr.length) != sizeof(*hbinfo)) in sctp_sf_backbeat_8_3()
1504 chunk->param_hdr.v = skb_pull(chunk->skb, sizeof(struct sctp_inithdr)); in sctp_sf_do_unexpected_init()
2491 bht.param_hdr.type = SCTP_PARAM_COOKIE_PRESERVATIVE; in sctp_sf_do_5_2_6_stale()
[all …]
Dstream.c491 (!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()
Dipv6.c537 if (ntohs(param->v6.param_hdr.length) < sizeof(struct sctp_ipv6addr_param)) in sctp_v6_from_addr_param()
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()
Dprotocol.c260 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()
Dassociola.c262 ntohs(ep->auth_hmacs_list->param_hdr.length)); in sctp_association_init()
265 ntohs(ep->auth_chunk_list->param_hdr.length)); in sctp_association_init()
Dsocket.c6768 data_len = ntohs(hmacs->param_hdr.length) - in sctp_getsockopt_hmac_ident()
6855 num_chunks = ntohs(ch->param_hdr.length) - sizeof(struct sctp_paramhdr); in sctp_getsockopt_peer_auth_chunks()
6905 num_chunks = ntohs(ch->param_hdr.length) - sizeof(struct sctp_paramhdr); in sctp_getsockopt_local_auth_chunks()
/kernel/linux/linux-5.10/include/net/sctp/
Dstructs.h381 struct sctp_paramhdr param_hdr; member
583 union sctp_params param_hdr; member