/freebsd/sys/netinet/ |
H A D | sctp_header.h | 48 struct sctp_paramhdr ph; /* type=SCTP_IPV4_PARAM_TYPE, len=8 */ 55 struct sctp_paramhdr ph; /* type=SCTP_IPV6_PARAM_TYPE, len=20 */ 61 struct sctp_paramhdr ph; /* type=SCTP_COOKIE_PRESERVE, len=8 */ 68 struct sctp_paramhdr ph; /* type=SCTP_HOSTNAME_ADDRESS */ 79 struct sctp_paramhdr ph; /* type=SCTP_SUPPORTED_ADDRTYPE */ 85 struct sctp_paramhdr ph; 100 struct sctp_paramhdr ph; 105 struct sctp_paramhdr ph; /* a SCTP parameter header */ 128 struct sctp_paramhdr ph; /* type = 0x8008 len = x */ 217 struct sctp_paramhdr ph; [all …]
|
H A D | sctp_auth.c | 1362 struct sctp_paramhdr *phdr, tmp_param; in sctp_auth_get_cookie_params() 1379 phdr = (struct sctp_paramhdr *)sctp_m_getptr(m, offset, in sctp_auth_get_cookie_params() 1380 sizeof(struct sctp_paramhdr), (uint8_t *)&tmp_param); in sctp_auth_get_cookie_params() 1385 if ((plen < sizeof(struct sctp_paramhdr)) || in sctp_auth_get_cookie_params() 1393 (struct sctp_paramhdr *)random_store, plen); in sctp_auth_get_cookie_params() 1406 (struct sctp_paramhdr *)hmacs_store, plen); in sctp_auth_get_cookie_params() 1428 (struct sctp_paramhdr *)chunks_store, plen); in sctp_auth_get_cookie_params() 1445 if (offset + sizeof(struct sctp_paramhdr) > length) in sctp_auth_get_cookie_params() 1447 phdr = (struct sctp_paramhdr *)sctp_m_getptr(m, offset, sizeof(struct sctp_paramhdr), in sctp_auth_get_cookie_params() 1767 struct sctp_paramhdr *phdr, param_buf; in sctp_validate_init_auth_params() [all …]
|
H A D | sctp_asconf.c | 155 struct sctp_paramhdr *ph; in sctp_process_asconf_add_ip() 173 if (aparam_length < sizeof(struct sctp_asconf_paramhdr) + sizeof(struct sctp_paramhdr)) { in sctp_process_asconf_add_ip() 176 ph = (struct sctp_paramhdr *)(aph + 1); in sctp_process_asconf_add_ip() 315 struct sctp_paramhdr *ph; in sctp_process_asconf_delete_ip() 333 if (aparam_length < sizeof(struct sctp_asconf_paramhdr) + sizeof(struct sctp_paramhdr)) { in sctp_process_asconf_delete_ip() 336 ph = (struct sctp_paramhdr *)(aph + 1); in sctp_process_asconf_delete_ip() 453 struct sctp_paramhdr *ph; in sctp_process_asconf_set_primary() 470 if (aparam_length < sizeof(struct sctp_asconf_paramhdr) + sizeof(struct sctp_paramhdr)) { in sctp_process_asconf_set_primary() 473 ph = (struct sctp_paramhdr *)(aph + 1); in sctp_process_asconf_set_primary() 688 …p_addr = (struct sctp_ipv6addr_param *)sctp_m_getptr(m, offset, sizeof(struct sctp_paramhdr), (uin… in sctp_handle_asconf() [all …]
|
H A D | sctp_output.c | 1940 struct sctp_paramhdr *paramh; in sctp_add_addr_to_mbuf() 1962 paramh = (struct sctp_paramhdr *)(SCTP_BUF_AT(m, SCTP_BUF_LEN(m))); in sctp_add_addr_to_mbuf() 1976 paramh = mtod(mret, struct sctp_paramhdr *); in sctp_add_addr_to_mbuf() 3814 struct sctp_paramhdr *ph; in sctp_add_cookie() 3818 sizeof(struct sctp_paramhdr)), 0, in sctp_add_cookie() 3846 ph = mtod(mret, struct sctp_paramhdr *); in sctp_add_cookie() 3848 sizeof(struct sctp_paramhdr); in sctp_add_cookie() 3850 sizeof(struct sctp_paramhdr)); in sctp_add_cookie() 4627 struct sctp_paramhdr *ph; in sctp_send_initiate() 4702 parameter_len = (uint16_t)sizeof(struct sctp_paramhdr); in sctp_send_initiate() [all …]
|
H A D | sctputil.h | 133 struct sctp_paramhdr * 135 struct sctp_paramhdr *, int);
|
H A D | sctp_pcb.c | 1894 struct sctp_paramhdr *phdr, param_buf; in sctp_findassociation_special_addr() 1939 (struct sctp_paramhdr *)&ip4_param, sizeof(ip4_param)); in sctp_findassociation_special_addr() 1960 (struct sctp_paramhdr *)&ip6_param, sizeof(ip6_param)); in sctp_findassociation_special_addr() 2149 struct sctp_paramhdr param_buf, *phdr; in sctp_findassociation_ep_asconf() 2161 ¶m_buf, sizeof(struct sctp_paramhdr)); in sctp_findassociation_ep_asconf() 5867 struct sctp_paramhdr *phdr, param_buf; in sctp_load_addresses_from_init() 5989 if (plen < sizeof(struct sctp_paramhdr)) { in sctp_load_addresses_from_init() 5999 (struct sctp_paramhdr *)&p4_buf, in sctp_load_addresses_from_init() 6093 (struct sctp_paramhdr *)&p6_buf, in sctp_load_addresses_from_init() 6193 (struct sctp_paramhdr *)&ai, sizeof(ai)); in sctp_load_addresses_from_init() [all …]
|
H A D | sctp.h | 66 struct sctp_paramhdr { struct
|
H A D | sctp_input.c | 1192 if (cause_length >= sizeof(struct sctp_error_cause) + sizeof(struct sctp_paramhdr)) { in sctp_handle_error() 1193 struct sctp_paramhdr *unrec_parameter; in sctp_handle_error() 1195 unrec_parameter = (struct sctp_paramhdr *)(cause + 1); in sctp_handle_error() 3955 struct sctp_paramhdr pstore; in sctp_handle_stream_reset() 3962 struct sctp_paramhdr *ph; in sctp_handle_stream_reset() 4005 while (remaining_length >= sizeof(struct sctp_paramhdr)) { in sctp_handle_stream_reset() 4006 ph = (struct sctp_paramhdr *)sctp_m_getptr(m, offset, sizeof(pstore), (uint8_t *)&pstore); in sctp_handle_stream_reset() 4013 (param_len < (sizeof(struct sctp_paramhdr) + sizeof(uint32_t)))) { in sctp_handle_stream_reset() 4017 ph = (struct sctp_paramhdr *)sctp_m_getptr(m, offset, min(param_len, sizeof(cstore)), in sctp_handle_stream_reset()
|
H A D | sctputil.c | 3075 struct sctp_paramhdr * 3078 struct sctp_paramhdr *pull, in sctp_get_next_param() 3082 return ((struct sctp_paramhdr *)sctp_m_getptr(m, offset, pull_limit, in sctp_get_next_param() 5002 if (info_len > (SCTP_MAX_CAUSE_LENGTH - sizeof(struct sctp_paramhdr))) { in sctp_generate_cause() 5005 len = (uint16_t)(sizeof(struct sctp_paramhdr) + info_len); in sctp_generate_cause()
|
/freebsd/sys/netinet/libalias/ |
H A D | alias_sctp.c | 214 #define SN_SCTP_NEXTPARAM(param) (struct sctp_paramhdr *)(((char *)param) + SCTP_SIZE32(ntohs(param… 1055 struct sctp_paramhdr *param_hdr; in sctp_PktParser() 1175 …param_hdr = (struct sctp_paramhdr *) ((char *) chunk_hdr + sizeof(struct sctp_asconf_chunk)); /*co… in sctp_PktParser() 1182 param_hdr = (struct sctp_paramhdr *) in sctp_PktParser() 1188 param_hdr = (struct sctp_paramhdr *) in sctp_PktParser() 1213 param_hdr = (struct sctp_paramhdr *) ((char *) chunk_hdr in sctp_PktParser() 1278 struct sctp_paramhdr ph;/* type=SCTP_VTAG_PARAM */ in GetAsconfVtags() 1284 struct sctp_paramhdr *param; in GetAsconfVtags() 1344 struct sctp_paramhdr *param = NULL; in AddGlobalIPAddresses() 1362 param = (struct sctp_paramhdr *)((char *)sm->sctpchnk.Init + sizeof(struct sctp_init)); in AddGlobalIPAddresses() [all …]
|
H A D | alias_sctp.h | 157 struct sctp_paramhdr *Asconf; /**< Pointer to ASCONF chunk */
|
/freebsd/usr.sbin/traceroute6/ |
H A D | traceroute6.c | 1109 struct sctp_paramhdr *param; in send_probe() 1176 sizeof(struct sctp_paramhdr))) { in send_probe() 1177 param = (struct sctp_paramhdr *)(init + 1); in send_probe()
|
/freebsd/usr.sbin/traceroute/ |
H A D | traceroute.c | 1523 struct sctp_paramhdr *param; in sctp_prep() 1556 sizeof(struct sctp_paramhdr))) { in sctp_prep() 1557 param = (struct sctp_paramhdr *)(init + 1); in sctp_prep()
|
/freebsd/sys/netpfil/pf/ |
H A D | pf.c | 7444 struct sctp_paramhdr h; in pf_multihome_scan() 7462 (sizeof(struct sctp_paramhdr) + sizeof(t))) in pf_multihome_scan() 7506 (sizeof(struct sctp_paramhdr) + sizeof(t))) in pf_multihome_scan()
|