Searched refs:sctp_paramhdr (Results 1 – 11 of 11) sorted by relevance
/netbsd-src/sys/netinet/ |
H A D | sctp_header.h | 47 struct sctp_paramhdr ph; /* type=SCTP_IPV4_PARAM_TYPE, len=8 */ 52 struct sctp_paramhdr ph; /* type=SCTP_IPV6_PARAM_TYPE, len=20 */ 58 struct sctp_paramhdr ph; /* type=SCTP_COOKIE_PRESERVE, len=8 */ 64 struct sctp_paramhdr ph; /* type=SCTP_HOSTNAME_ADDRESS */ 70 struct sctp_paramhdr ph; /* type=SCTP_SUPPORTED_ADDRTYPE */ 76 struct sctp_paramhdr ph; /* type=SCTP_ECN_CAPABLE */ 82 struct sctp_paramhdr ph; 97 struct sctp_paramhdr ph; 103 struct sctp_paramhdr ph; /* a SCTP parameter header */ 120 struct sctp_paramhdr ph; /* type = 0x8001 len = 4 */ [all …]
|
H A D | sctp_indata.c | 848 struct sctp_paramhdr *ph; in sctp_queue_data_to_stream() 851 oper->m_len = sizeof(struct sctp_paramhdr) + in sctp_queue_data_to_stream() 853 ph = mtod(oper, struct sctp_paramhdr *); in sctp_queue_data_to_stream() 1077 struct sctp_paramhdr *ph; in sctp_queue_data_for_reasm() 1081 sizeof(struct sctp_paramhdr) + in sctp_queue_data_for_reasm() 1083 ph = mtod(oper, struct sctp_paramhdr *); in sctp_queue_data_for_reasm() 1107 struct sctp_paramhdr *ph; in sctp_queue_data_for_reasm() 1111 sizeof(struct sctp_paramhdr) + in sctp_queue_data_for_reasm() 1113 ph = mtod(oper, struct sctp_paramhdr *); in sctp_queue_data_for_reasm() 1137 struct sctp_paramhdr *p in sctp_queue_data_for_reasm() [all...] |
H A D | sctp_asconf.c | 657 …p_addr = (struct sctp_ipv6addr_param *)sctp_m_getptr(m, offset, sizeof(struct sctp_paramhdr), (uin… in sctp_handle_asconf() 706 if (param_length <= sizeof(struct sctp_paramhdr)) { in sctp_handle_asconf() 1212 struct sctp_paramhdr *ph; in sctp_asconf_process_error() 1217 ph = (struct sctp_paramhdr *)(eh + 1); in sctp_asconf_process_error() 1229 if (htons(ph->param_length) + sizeof(struct sctp_paramhdr) > in sctp_asconf_process_error() 1413 if (param_length < sizeof(struct sctp_paramhdr)) { in sctp_handle_asconf_ack() 2434 struct sctp_paramhdr tmp_param, *ph; in sctp_process_initack_addresses() 2451 if ((offset + sizeof(struct sctp_paramhdr)) > length) { in sctp_process_initack_addresses() 2472 ph = (struct sctp_paramhdr *)sctp_m_getptr(m, offset, in sctp_process_initack_addresses() 2473 sizeof(struct sctp_paramhdr), (uint8_t *)&tmp_param); in sctp_process_initack_addresses() [all …]
|
H A D | sctp_input.c | 670 sctp_process_unrecog_chunk(struct sctp_tcb *stcb, struct sctp_paramhdr *phdr, in sctp_process_unrecog_chunk() 712 sctp_process_unrecog_param(struct sctp_tcb *stcb, struct sctp_paramhdr *phdr) in sctp_process_unrecog_param() 714 struct sctp_paramhdr *pbad; in sctp_process_unrecog_param() 764 struct sctp_paramhdr *phdr; in sctp_handle_error() 772 phdr = (struct sctp_paramhdr *)((vaddr_t)ch + in sctp_handle_error() 775 while ((size_t)chklen >= sizeof(struct sctp_paramhdr)) { in sctp_handle_error() 883 phdr = (struct sctp_paramhdr *)((vaddr_t)phdr + adjust); in sctp_handle_error() 1058 struct sctp_paramhdr *ph; in sctp_process_cookie_existing() 1076 op_err->m_len = op_err->m_pkthdr.len = sizeof(struct sctp_paramhdr); in sctp_process_cookie_existing() 1077 ph = mtod(op_err, struct sctp_paramhdr *); in sctp_process_cookie_existing() [all …]
|
H A D | sctputil.h | 165 struct sctp_paramhdr *sctp_get_next_param(struct mbuf *, int, 166 struct sctp_paramhdr *, int);
|
H A D | sctp_pcb.c | 383 struct sctp_paramhdr parm_buf, *phdr; in sctp_findassociation_ep_asconf() 412 &parm_buf, sizeof(struct sctp_paramhdr)); in sctp_findassociation_ep_asconf() 980 struct sctp_paramhdr *phdr, parm_buf; in sctp_findassociation_special_addr() 1015 (struct sctp_paramhdr *)&ip4_parm, plen); in sctp_findassociation_special_addr() 1033 (struct sctp_paramhdr *)&ip6_parm, plen); in sctp_findassociation_special_addr() 2061 struct sctp_paramhdr *ph; in sctp_inpcb_free() 2063 sizeof(struct sctp_paramhdr); in sctp_inpcb_free() 2065 struct sctp_paramhdr *); in sctp_inpcb_free() 2160 struct sctp_paramhdr *ph; in sctp_inpcb_free() 2161 op_err->m_len = sizeof(struct sctp_paramhdr); in sctp_inpcb_free() [all …]
|
H A D | sctp_timer.c | 194 struct sctp_paramhdr *ph; in sctp_threshold_management() 197 oper->m_len = sizeof(struct sctp_paramhdr) + in sctp_threshold_management() 199 ph = mtod(oper, struct sctp_paramhdr *); in sctp_threshold_management() 917 struct sctp_paramhdr *ph; in sctp_cookie_timer() 920 oper->m_len = sizeof(struct sctp_paramhdr) + in sctp_cookie_timer() 922 ph = mtod(oper, struct sctp_paramhdr *); in sctp_cookie_timer()
|
H A D | sctp.h | 65 struct sctp_paramhdr { struct
|
H A D | sctp_output.c | 168 struct sctp_paramhdr *parmh; in sctp_add_addr_to_mbuf() 182 parmh = (struct sctp_paramhdr *)(m->m_data + m->m_len); in sctp_add_addr_to_mbuf() 196 parmh = mtod(mret, struct sctp_paramhdr *); in sctp_add_addr_to_mbuf() 234 struct sctp_paramhdr *ph; in sctp_add_cookie() 258 ph = mtod(mret, struct sctp_paramhdr *); in sctp_add_cookie() 260 sizeof(struct sctp_paramhdr); in sctp_add_cookie() 262 sizeof(struct sctp_paramhdr)); in sctp_add_cookie() 308 SCTP_SECRET_SIZE, mret, sizeof(struct sctp_paramhdr), in sctp_add_cookie() 2911 struct sctp_paramhdr *phdr, params; in sctp_arethere_unrecognized_parameters() 2932 while ((phdr != NULL) && ((size_t)limit >= sizeof(struct sctp_paramhdr))) { in sctp_arethere_unrecognized_parameters() [all...] |
H A D | sctputil.c | 1794 struct sctp_paramhdr * 1797 struct sctp_paramhdr *pull, in sctp_get_next_param() 1801 return ((struct sctp_paramhdr *)sctp_m_getptr(m, offset, pull_limit, in sctp_get_next_param() 3171 struct sctp_paramhdr *ph; in sctp_generate_invmanparam() 3172 m->m_len = sizeof(struct sctp_paramhdr); in sctp_generate_invmanparam() 3173 ph = mtod(m, struct sctp_paramhdr *); in sctp_generate_invmanparam() 3174 ph->param_length = htons(sizeof(struct sctp_paramhdr)); in sctp_generate_invmanparam()
|
H A D | sctp_usrreq.c | 730 struct sctp_paramhdr *ph; in sctp_disconnect() 731 ph = mtod(err, struct sctp_paramhdr *); in sctp_disconnect() 732 err->m_len = sizeof(struct sctp_paramhdr); in sctp_disconnect()
|