Home
last modified time | relevance | path

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

/linux/include/linux/
H A Dsctp.h282 struct sctp_paramhdr param_hdr; member
288 struct sctp_paramhdr param_hdr; member
294 struct sctp_paramhdr param_hdr; member
300 struct sctp_paramhdr param_hdr; member
306 struct sctp_paramhdr param_hdr; member
312 struct sctp_paramhdr param_hdr; member
318 struct sctp_paramhdr param_hdr; member
324 struct sctp_paramhdr param_hdr; member
330 struct sctp_paramhdr param_hdr; member
336 struct sctp_paramhdr param_hdr; member
357 struct sctp_paramhdr param_hdr; global() member
662 struct sctp_paramhdr param_hdr; global() member
747 struct sctp_paramhdr param_hdr; global() member
755 struct sctp_paramhdr param_hdr; global() member
761 struct sctp_paramhdr param_hdr; global() member
766 struct sctp_paramhdr param_hdr; global() member
783 struct sctp_paramhdr param_hdr; global() member
789 struct sctp_paramhdr param_hdr; global() member
[all...]
/linux/net/sctp/
H A 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 in sctp_auth_ep_add_chunkid()
[all...]
H A Dsm_make_chunk.c317 retval->param_hdr.v = in sctp_make_init()
327 sat.param_hdr.type = SCTP_PARAM_SUPPORTED_ADDRESS_TYPES; in sctp_make_init()
328 sat.param_hdr.length = htons(SCTP_SAT_LEN(num_types)); in sctp_make_init()
339 ext_param.param_hdr.type = SCTP_PARAM_SUPPORTED_EXT; in sctp_make_init()
340 ext_param.param_hdr.length = htons(sizeof(ext_param) + num_ext); in sctp_make_init()
349 aiparam.param_hdr.type = SCTP_PARAM_ADAPTATION_LAYER_IND; in sctp_make_init()
350 aiparam.param_hdr.length = htons(sizeof(aiparam)); in sctp_make_init()
484 retval->param_hdr.v = sctp_addto_chunk(retval, addrs_len, addrs.v); in sctp_make_init_ack()
489 ext_param.param_hdr.type = SCTP_PARAM_SUPPORTED_EXT; in sctp_make_init_ack()
490 ext_param.param_hdr in sctp_make_init_ack()
[all...]
H A Dstream.c502 (!type || type == req->param_hdr.type)) in sctp_chunk_lookup_strreset_param()
947 nums = (ntohs(outreq->param_hdr.length) - sizeof(*outreq)) / in sctp_process_strreset_resp()
984 nums = (ntohs(inreq->param_hdr.length) - sizeof(*inreq)) / in sctp_process_strreset_resp()
H A Dsm_statefuns.c408 chunk->param_hdr.v = skb_pull(chunk->skb, sizeof(struct sctp_inithdr)); in sctp_sf_do_5_1B_init()
598 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() local
1189 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()
2569 bht.param_hdr in sctp_sf_do_5_2_6_stale()
[all...]
H A Dprotocol.c259 if (ntohs(param->v4.param_hdr.length) < sizeof(struct sctp_ipv4addr_param)) in sctp_v4_from_addr_param()
278 param->v4.param_hdr.type = SCTP_PARAM_IPV4_ADDRESS; in sctp_v4_to_addr_param()
279 param->v4.param_hdr.length = htons(length); in sctp_v4_to_addr_param()
H A Dassociola.c265 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()
H A Dsocket.c6908 data_len = ntohs(hmacs->param_hdr.length) - in sctp_getsockopt_hmac_ident()
6995 num_chunks = ntohs(ch->param_hdr.length) - sizeof(struct sctp_paramhdr); in sctp_getsockopt_peer_auth_chunks()
7045 num_chunks = ntohs(ch->param_hdr.length) - sizeof(struct sctp_paramhdr); in sctp_getsockopt_local_auth_chunks()
/linux/include/net/sctp/
H A Dstructs.h382 struct sctp_paramhdr param_hdr; member
586 union sctp_params param_hdr; member