| /trueos/sys/netinet/ |
| HD | sctp_header.h | 49 struct sctp_paramhdr ph;/* type=SCTP_IPV4_PARAM_TYPE, len=8 */ 57 struct sctp_paramhdr ph;/* type=SCTP_IPV6_PARAM_TYPE, len=20 */ 63 struct sctp_paramhdr ph;/* type=SCTP_COOKIE_PRESERVE, len=8 */ 70 struct sctp_paramhdr ph;/* type=SCTP_HOSTNAME_ADDRESS */ 81 struct sctp_paramhdr ph;/* type=SCTP_SUPPORTED_ADDRTYPE */ 87 struct sctp_paramhdr ph; 103 struct sctp_paramhdr ph; 109 struct sctp_paramhdr ph;/* a SCTP parameter header */ 134 struct sctp_paramhdr ph;/* type = 0x8008 len = x */ 235 struct sctp_paramhdr ph; [all …]
|
| HD | sctp_asconf.c | 152 struct sctp_paramhdr *ph; in sctp_process_asconf_add_ip() 175 ph = (struct sctp_paramhdr *)(aph + 1); in sctp_process_asconf_add_ip() 306 struct sctp_paramhdr *ph; in sctp_process_asconf_delete_ip() 329 ph = (struct sctp_paramhdr *)(aph + 1); in sctp_process_asconf_delete_ip() 441 struct sctp_paramhdr *ph; in sctp_process_asconf_set_primary() 463 ph = (struct sctp_paramhdr *)(aph + 1); in sctp_process_asconf_set_primary() 675 …p_addr = (struct sctp_ipv6addr_param *)sctp_m_getptr(m, offset, sizeof(struct sctp_paramhdr), (uin… in sctp_handle_asconf() 709 if (param_length <= sizeof(struct sctp_paramhdr)) { in sctp_handle_asconf() 871 sctp_addr_match(struct sctp_paramhdr *ph, struct sockaddr *sa) in sctp_addr_match() 1541 struct sctp_paramhdr *ph; in sctp_asconf_process_error() [all …]
|
| HD | sctp_auth.c | 1404 struct sctp_paramhdr *phdr, tmp_param; in sctp_auth_get_cookie_params() 1421 phdr = (struct sctp_paramhdr *)sctp_m_getptr(m, offset, in sctp_auth_get_cookie_params() 1422 sizeof(struct sctp_paramhdr), (uint8_t *) & tmp_param); in sctp_auth_get_cookie_params() 1434 (struct sctp_paramhdr *)random_store, min(plen, sizeof(random_store))); in sctp_auth_get_cookie_params() 1447 (struct sctp_paramhdr *)hmacs_store, min(plen, sizeof(hmacs_store))); in sctp_auth_get_cookie_params() 1469 (struct sctp_paramhdr *)chunks_store, min(plen, sizeof(chunks_store))); in sctp_auth_get_cookie_params() 1486 if (offset + sizeof(struct sctp_paramhdr) > length) in sctp_auth_get_cookie_params() 1488 phdr = (struct sctp_paramhdr *)sctp_m_getptr(m, offset, sizeof(struct sctp_paramhdr), in sctp_auth_get_cookie_params() 1815 struct sctp_paramhdr *phdr, parm_buf; in sctp_validate_init_auth_params() 1832 if (plen < sizeof(struct sctp_paramhdr)) { in sctp_validate_init_auth_params() [all …]
|
| HD | sctp_output.c | 1943 struct sctp_paramhdr *parmh; in sctp_add_addr_to_mbuf() 1966 parmh = (struct sctp_paramhdr *)(SCTP_BUF_AT(m, SCTP_BUF_LEN(m))); in sctp_add_addr_to_mbuf() 1980 parmh = mtod(mret, struct sctp_paramhdr *); in sctp_add_addr_to_mbuf() 3829 struct sctp_paramhdr *ph; in sctp_add_cookie() 3835 sizeof(struct sctp_paramhdr)), 0, in sctp_add_cookie() 3863 ph = mtod(mret, struct sctp_paramhdr *); in sctp_add_cookie() 3865 sizeof(struct sctp_paramhdr); in sctp_add_cookie() 3867 sizeof(struct sctp_paramhdr)); in sctp_add_cookie() 4695 struct sctp_paramhdr *ph; in sctp_send_initiate() 4769 parameter_len = (uint16_t) sizeof(struct sctp_paramhdr); in sctp_send_initiate() [all …]
|
| HD | sctputil.h | 146 struct sctp_paramhdr * 148 struct sctp_paramhdr *, int);
|
| HD | sctp_input.c | 1068 sctp_process_unrecog_chunk(struct sctp_tcb *stcb, struct sctp_paramhdr *phdr, in sctp_process_unrecog_chunk() 1097 sctp_process_unrecog_param(struct sctp_tcb *stcb, struct sctp_paramhdr *phdr) in sctp_process_unrecog_param() 1099 struct sctp_paramhdr *pbad; in sctp_process_unrecog_param() 1138 struct sctp_paramhdr *phdr; in sctp_handle_error() 1151 phdr = (struct sctp_paramhdr *)((caddr_t)ch + in sctp_handle_error() 1155 while ((size_t)chklen >= sizeof(struct sctp_paramhdr)) { in sctp_handle_error() 1283 phdr = (struct sctp_paramhdr *)((caddr_t)phdr + adjust); in sctp_handle_error() 2566 scm->ph.param_length = htons((sizeof(struct sctp_paramhdr) + in sctp_handle_cookie_echo() 4069 struct sctp_paramhdr pstore; in sctp_handle_stream_reset() 4076 struct sctp_paramhdr *ph; in sctp_handle_stream_reset() [all …]
|
| HD | sctp.h | 69 struct sctp_paramhdr { struct
|
| HD | sctp_pcb.c | 2059 struct sctp_paramhdr *phdr, parm_buf; in sctp_findassociation_special_addr() 2109 (struct sctp_paramhdr *)&ip4_parm, min(plen, sizeof(ip4_parm))); in sctp_findassociation_special_addr() 2130 (struct sctp_paramhdr *)&ip6_parm, min(plen, sizeof(ip6_parm))); in sctp_findassociation_special_addr() 2328 struct sctp_paramhdr parm_buf, *phdr; in sctp_findassociation_ep_asconf() 2343 &parm_buf, sizeof(struct sctp_paramhdr)); in sctp_findassociation_ep_asconf() 6062 struct sctp_paramhdr *phdr, parm_buf; in sctp_load_addresses_from_init() 6194 (struct sctp_paramhdr *)&p4_buf, in sctp_load_addresses_from_init() 6280 (struct sctp_paramhdr *)&p6_buf, in sctp_load_addresses_from_init() 6372 (struct sctp_paramhdr *)&ai, sizeof(ai)); in sctp_load_addresses_from_init() 6396 (struct sctp_paramhdr *)&lstore, in sctp_load_addresses_from_init() [all …]
|
| HD | sctp_indata.c | 1406 struct sctp_paramhdr *phdr; in sctp_process_a_data_chunk() 1409 mb = sctp_get_mbuf_for_msg((sizeof(struct sctp_paramhdr) * 2), in sctp_process_a_data_chunk() 1414 phdr = mtod(mb, struct sctp_paramhdr *); in sctp_process_a_data_chunk() 1420 SCTP_BUF_LEN(mb) = (sizeof(struct sctp_paramhdr) * 2); in sctp_process_a_data_chunk() 1423 htons(sizeof(struct sctp_paramhdr) * 2); in sctp_process_a_data_chunk() 2483 struct sctp_paramhdr *phd; in sctp_process_data() 2487 phd = mtod(merr, struct sctp_paramhdr *); in sctp_process_data()
|
| HD | sctputil.c | 2539 struct sctp_paramhdr * 2542 struct sctp_paramhdr *pull, in sctp_get_next_param() 2546 return ((struct sctp_paramhdr *)sctp_m_getptr(m, offset, pull_limit, in sctp_get_next_param() 4674 len = sizeof(struct sctp_paramhdr) + info_len; in sctp_generate_cause()
|
| HD | sctp_usrreq.c | 760 err = sctp_get_mbuf_for_msg(sizeof(struct sctp_paramhdr), 0, M_NOWAIT, 1, MT_DATA); in sctp_disconnect() 766 struct sctp_paramhdr *ph; in sctp_disconnect() 768 ph = mtod(err, struct sctp_paramhdr *); in sctp_disconnect() 769 SCTP_BUF_LEN(err) = sizeof(struct sctp_paramhdr); in sctp_disconnect()
|
| /trueos/sys/netinet/libalias/ |
| HD | alias_sctp.c | 213 #define SN_SCTP_NEXTPARAM(param) (struct sctp_paramhdr *)(((char *)param) + SCTP_SIZE32(ntohs(param… 1023 struct sctp_paramhdr *param_hdr; in sctp_PktParser() 1143 …param_hdr = (struct sctp_paramhdr *) ((char *) chunk_hdr + sizeof(struct sctp_asconf_chunk)); /*co… in sctp_PktParser() 1150 param_hdr = (struct sctp_paramhdr *) in sctp_PktParser() 1156 param_hdr = (struct sctp_paramhdr *) in sctp_PktParser() 1181 param_hdr = (struct sctp_paramhdr *) ((char *) chunk_hdr in sctp_PktParser() 1246 struct sctp_paramhdr ph;/* type=SCTP_VTAG_PARAM */ in GetAsconfVtags() 1252 struct sctp_paramhdr *param; in GetAsconfVtags() 1311 struct sctp_paramhdr *param = NULL; in AddGlobalIPAddresses() 1329 param = (struct sctp_paramhdr *)((char *)sm->sctpchnk.Init + sizeof(struct sctp_init)); in AddGlobalIPAddresses() [all …]
|
| HD | alias_sctp.h | 160 struct sctp_paramhdr *Asconf; /**< Pointer to ASCONF chunk */
|