Home
last modified time | relevance | path

Searched refs:sctp_paramhdr (Results 1 – 12 of 12) sorted by relevance

/linux/include/linux/
H A Dsctp.h155 struct sctp_paramhdr { struct
282 struct sctp_paramhdr param_hdr;
288 struct sctp_paramhdr param_hdr;
294 struct sctp_paramhdr param_hdr;
300 struct sctp_paramhdr param_hdr;
306 struct sctp_paramhdr param_hdr;
312 struct sctp_paramhdr param_hdr;
318 struct sctp_paramhdr param_hdr;
324 struct sctp_paramhdr param_hdr;
330 struct sctp_paramhdr param_hdr;
[all …]
/linux/net/sctp/
H A Dauth.c476 sizeof(struct sctp_paramhdr)) >> 1; in sctp_auth_asoc_get_hmac()
512 sizeof(struct sctp_paramhdr)) >> 1; in sctp_auth_asoc_verify_hmac_id()
535 sizeof(struct sctp_paramhdr)) >> 1; in sctp_auth_asoc_set_default_hmac()
556 len = ntohs(param->param_hdr.length) - sizeof(struct sctp_paramhdr); in __sctp_auth_cid()
674 nchunks = param_len - sizeof(struct sctp_paramhdr); in sctp_auth_ep_add_chunkid()
711 htons(sizeof(struct sctp_paramhdr) + in sctp_auth_ep_set_hmacs()
945 htons(sizeof(struct sctp_paramhdr) + 2); in sctp_auth_init()
960 htons(sizeof(struct sctp_paramhdr)); in sctp_auth_init()
H A Dsm_make_chunk.c123 static const struct sctp_paramhdr ecap_param = {
125 cpu_to_be16(sizeof(struct sctp_paramhdr)),
127 static const struct sctp_paramhdr prsctp_param = {
129 cpu_to_be16(sizeof(struct sctp_paramhdr)),
204 struct sctp_paramhdr *auth_chunks = NULL; in sctp_make_init()
205 struct sctp_paramhdr *auth_hmacs = NULL; in sctp_make_init()
278 auth_hmacs = (struct sctp_paramhdr *)asoc->c.auth_hmacs; in sctp_make_init()
285 auth_chunks = (struct sctp_paramhdr *)asoc->c.auth_chunks; in sctp_make_init()
377 struct sctp_paramhdr *auth_chunks = NULL; in sctp_make_init_ack()
378 struct sctp_paramhdr *auth_random = NULL; in sctp_make_init_ack()
[all …]
H A Dbind_addr.c267 struct sctp_paramhdr *param; in sctp_raw_to_bind_addrs()
275 param = (struct sctp_paramhdr *)raw_addr_list; in sctp_raw_to_bind_addrs()
H A Dstream.c482 static struct sctp_paramhdr *sctp_chunk_lookup_strreset_param( in sctp_chunk_lookup_strreset_param()
923 struct sctp_paramhdr *req; in sctp_process_strreset_resp()
H A Dassociola.c58 struct sctp_paramhdr *p; in sctp_association_init()
271 p = (struct sctp_paramhdr *)asoc->c.auth_random; in sctp_association_init()
H A Dsm_statefuns.c1172 struct sctp_paramhdr *param_hdr; in sctp_sf_beat_8_3()
1191 param_hdr = (struct sctp_paramhdr *)chunk->subh.hb_hdr; in sctp_sf_beat_8_3()
3879 struct sctp_paramhdr *err_param = NULL; in sctp_sf_do_asconf()
4021 struct sctp_paramhdr *err_param = NULL; in sctp_sf_do_asconf_ack()
4135 struct sctp_paramhdr *err_param = NULL; in sctp_sf_do_reconf()
4848 struct sctp_paramhdr *param = ext; in sctp_sf_violation_paramlen()
H A Dinput.c1201 if (ntohs(ch->length) < sizeof(*asconf) + sizeof(struct sctp_paramhdr)) in __sctp_rcv_asconf_lookup()
H A Dsocket.c6949 sizeof(struct sctp_paramhdr); in sctp_getsockopt_hmac_ident()
7035 num_chunks = ntohs(ch->param_hdr.length) - sizeof(struct sctp_paramhdr); in sctp_getsockopt_peer_auth_chunks()
7085 num_chunks = ntohs(ch->param_hdr.length) - sizeof(struct sctp_paramhdr); in sctp_getsockopt_local_auth_chunks()
/linux/include/net/sctp/
H A Dsm.h217 struct sctp_paramhdr *param);
245 struct sctp_paramhdr **errp);
271 struct sctp_paramhdr **errp);
H A Dstructs.h313 __u8 auth_random[sizeof(struct sctp_paramhdr) +
316 __u8 auth_chunks[sizeof(struct sctp_paramhdr) + SCTP_AUTH_MAX_CHUNKS];
341 struct sctp_paramhdr p;
351 struct sctp_paramhdr *p;
375 struct sctp_paramhdr param_hdr;
H A Dsctp.h321 #define SCTP_SAT_LEN(x) (sizeof(struct sctp_paramhdr) + (x) * sizeof(__u16))
428 (pos.v + offsetof(struct sctp_paramhdr, length) + sizeof(pos.p->length) <=\
431 ntohs(pos.p->length) >= sizeof(struct sctp_paramhdr);\