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
284 struct sctp_paramhdr param_hdr;
290 struct sctp_paramhdr param_hdr;
296 struct sctp_paramhdr param_hdr;
302 struct sctp_paramhdr param_hdr;
308 struct sctp_paramhdr param_hdr;
314 struct sctp_paramhdr param_hdr;
320 struct sctp_paramhdr param_hdr;
326 struct sctp_paramhdr param_hdr;
332 struct sctp_paramhdr param_hdr;
[all …]
/linux/net/sctp/
H A Dauth.c543 sizeof(struct sctp_paramhdr)) >> 1; in sctp_auth_asoc_get_hmac()
595 sizeof(struct sctp_paramhdr)) >> 1; in sctp_auth_asoc_verify_hmac_id()
619 sizeof(struct sctp_paramhdr)) >> 1; in sctp_auth_asoc_set_default_hmac()
647 len = ntohs(param->param_hdr.length) - sizeof(struct sctp_paramhdr); in __sctp_auth_cid()
768 nchunks = param_len - sizeof(struct sctp_paramhdr); in sctp_auth_ep_add_chunkid()
808 htons(sizeof(struct sctp_paramhdr) + in sctp_auth_ep_set_hmacs()
1044 htons(sizeof(struct sctp_paramhdr) + 2); in sctp_auth_init()
1059 htons(sizeof(struct sctp_paramhdr)); in sctp_auth_init()
H A Dsm_make_chunk.c131 static const struct sctp_paramhdr ecap_param = {
133 cpu_to_be16(sizeof(struct sctp_paramhdr)),
135 static const struct sctp_paramhdr prsctp_param = {
137 cpu_to_be16(sizeof(struct sctp_paramhdr)),
212 struct sctp_paramhdr *auth_chunks = NULL; in sctp_make_init()
213 struct sctp_paramhdr *auth_hmacs = NULL; in sctp_make_init()
286 auth_hmacs = (struct sctp_paramhdr *)asoc->c.auth_hmacs; in sctp_make_init()
293 auth_chunks = (struct sctp_paramhdr *)asoc->c.auth_chunks; in sctp_make_init()
385 struct sctp_paramhdr *auth_chunks = NULL; in sctp_make_init_ack()
386 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()
270 p = (struct sctp_paramhdr *)asoc->c.auth_random; in sctp_association_init()
H A Dsm_statefuns.c1170 struct sctp_paramhdr *param_hdr; in sctp_sf_beat_8_3()
1189 param_hdr = (struct sctp_paramhdr *)chunk->subh.hb_hdr; in sctp_sf_beat_8_3()
3877 struct sctp_paramhdr *err_param = NULL; in sctp_sf_do_asconf()
4019 struct sctp_paramhdr *err_param = NULL; in sctp_sf_do_asconf_ack()
4133 struct sctp_paramhdr *err_param = NULL; in sctp_sf_do_reconf()
4846 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.c6908 sizeof(struct sctp_paramhdr); in sctp_getsockopt_hmac_ident()
6994 num_chunks = ntohs(ch->param_hdr.length) - sizeof(struct sctp_paramhdr); in sctp_getsockopt_peer_auth_chunks()
7044 num_chunks = ntohs(ch->param_hdr.length) - sizeof(struct sctp_paramhdr); in sctp_getsockopt_local_auth_chunks()
/linux/include/net/sctp/
H A Dsm.h218 struct sctp_paramhdr *param);
246 struct sctp_paramhdr **errp);
272 struct sctp_paramhdr **errp);
H A Dsctp.h322 #define SCTP_SAT_LEN(x) (sizeof(struct sctp_paramhdr) + (x) * sizeof(__u16))
431 (pos.v + offsetof(struct sctp_paramhdr, length) + sizeof(pos.p->length) <=\
434 ntohs(pos.p->length) >= sizeof(struct sctp_paramhdr);\
H A Dstructs.h320 __u8 auth_random[sizeof(struct sctp_paramhdr) +
323 __u8 auth_chunks[sizeof(struct sctp_paramhdr) + SCTP_AUTH_MAX_CHUNKS];
348 struct sctp_paramhdr p;
358 struct sctp_paramhdr *p;
382 struct sctp_paramhdr param_hdr;