Home
last modified time | relevance | path

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

/linux-4.4.14/include/linux/
Dsctp.h167 } __packed sctp_paramhdr_t; typedef
269 sctp_paramhdr_t param_hdr;
275 sctp_paramhdr_t param_hdr;
281 sctp_paramhdr_t param_hdr;
287 sctp_paramhdr_t param_hdr;
293 sctp_paramhdr_t param_hdr;
299 sctp_paramhdr_t param_hdr;
316 sctp_paramhdr_t param_hdr;
322 sctp_paramhdr_t param_hdr;
328 sctp_paramhdr_t param_hdr;
[all …]
/linux-4.4.14/net/sctp/
Dauth.c544 n_elt = (ntohs(hmacs->param_hdr.length) - sizeof(sctp_paramhdr_t)) >> 1; in sctp_auth_asoc_get_hmac()
595 n_elt = (ntohs(hmacs->param_hdr.length) - sizeof(sctp_paramhdr_t)) >> 1; in sctp_auth_asoc_verify_hmac_id()
619 - sizeof(sctp_paramhdr_t)) >> 1; in sctp_auth_asoc_set_default_hmac()
647 len = ntohs(param->param_hdr.length) - sizeof(sctp_paramhdr_t); in __sctp_auth_cid()
776 nchunks = param_len - sizeof(sctp_paramhdr_t); in sctp_auth_ep_add_chunkid()
814 ep->auth_hmacs_list->param_hdr.length = htons(sizeof(sctp_paramhdr_t) + in sctp_auth_ep_set_hmacs()
Dsm_make_chunk.c235 sctp_paramhdr_t *auth_chunks = NULL, in sctp_make_init()
287 auth_hmacs = (sctp_paramhdr_t *)asoc->c.auth_hmacs; in sctp_make_init()
294 auth_chunks = (sctp_paramhdr_t *)asoc->c.auth_chunks; in sctp_make_init()
398 sctp_paramhdr_t *auth_chunks = NULL, in sctp_make_init_ack()
444 auth_random = (sctp_paramhdr_t *)asoc->c.auth_random; in sctp_make_init_ack()
447 auth_hmacs = (sctp_paramhdr_t *)asoc->c.auth_hmacs; in sctp_make_init_ack()
453 auth_chunks = (sctp_paramhdr_t *)asoc->c.auth_chunks; in sctp_make_init_ack()
1077 + sizeof(sctp_paramhdr_t)); in sctp_make_abort_violation()
1082 + sizeof(sctp_paramhdr_t)); in sctp_make_abort_violation()
1087 sctp_addto_param(retval, sizeof(sctp_paramhdr_t), &phdr); in sctp_make_abort_violation()
[all …]
Dendpointola.c94 htons(sizeof(sctp_paramhdr_t) + 2); in sctp_endpoint_init()
99 auth_chunks->param_hdr.length = htons(sizeof(sctp_paramhdr_t)); in sctp_endpoint_init()
108 htons(sizeof(sctp_paramhdr_t) + 2); in sctp_endpoint_init()
Dassociola.c75 sctp_paramhdr_t *p; in sctp_association_init()
281 p = (sctp_paramhdr_t *)asoc->c.auth_random; in sctp_association_init()
283 p->length = htons(sizeof(sctp_paramhdr_t) + SCTP_AUTH_RANDOM_LENGTH); in sctp_association_init()
Dsocket.c5551 data_len = ntohs(hmacs->param_hdr.length) - sizeof(sctp_paramhdr_t); in sctp_getsockopt_hmac_ident()
5635 num_chunks = ntohs(ch->param_hdr.length) - sizeof(sctp_paramhdr_t); in sctp_getsockopt_peer_auth_chunks()
5683 num_chunks = ntohs(ch->param_hdr.length) - sizeof(sctp_paramhdr_t); in sctp_getsockopt_local_auth_chunks()
Dsm_statefuns.c1056 sctp_paramhdr_t *param_hdr; in sctp_sf_beat_8_3()
1074 param_hdr = (sctp_paramhdr_t *) chunk->subh.hb_hdr; in sctp_sf_beat_8_3()
/linux-4.4.14/include/net/sctp/
Dstructs.h312 __u8 auth_random[sizeof(sctp_paramhdr_t) + SCTP_AUTH_RANDOM_LENGTH];
314 __u8 auth_chunks[sizeof(sctp_paramhdr_t) + SCTP_AUTH_MAX_CHUNKS];
Dsctp.h448 ntohs(pos.p->length) >= sizeof(sctp_paramhdr_t);\