38#ifndef _NETINET_SCTP_HEADER_H_
39#define _NETINET_SCTP_HEADER_H_
45#define SCTP_PACKED __attribute__((packed))
55#define SCTP_V6_ADDR_BYTES 16
68#define SCTP_ARRAY_MIN_LEN 1
79#define SCTP_MAX_ADDR_PARAMS_SIZE 12
128#define SCTP_MAX_SUPPORTED_EXT 256
181#define SCTP_IDENTIFICATION_SIZE 16
182#define SCTP_ADDRESS_SIZE 4
183#define SCTP_RESERVE_SPACE 6
234#define sctp_init_ack sctp_init
235#define sctp_init_ack_chunk sctp_init_chunk
236#define sctp_init_ack_msg sctp_init_msg
285#define sctp_heartbeat_ack sctp_heartbeat
286#define sctp_heartbeat_ack_chunk sctp_heartbeat_chunk
399#define SCTP_NUM_DB_TO_VERIFY 31
463#define SCTP_STREAM_RESET_RESULT_NOTHING_TO_DO 0x00000000
464#define SCTP_STREAM_RESET_RESULT_PERFORMED 0x00000001
465#define SCTP_STREAM_RESET_RESULT_DENIED 0x00000002
466#define SCTP_STREAM_RESET_RESULT_ERR__WRONG_SSN 0x00000003
467#define SCTP_STREAM_RESET_RESULT_ERR_IN_PROGRESS 0x00000004
468#define SCTP_STREAM_RESET_RESULT_ERR_BAD_SEQNO 0x00000005
469#define SCTP_STREAM_RESET_RESULT_IN_PROGRESS 0x00000006
499#define SCTP_RANDOM_MAX_SIZE 256
530#ifndef SCTP_MAX_OVERHEAD
532#define SCTP_MAX_OVERHEAD (sizeof(struct sctp_data_chunk) + \
533 sizeof(struct sctphdr) + \
534 sizeof(struct sctp_ecne_chunk) + \
535 sizeof(struct sctp_sack_chunk) + \
536 sizeof(struct ip6_hdr))
538#define SCTP_MED_OVERHEAD (sizeof(struct sctp_data_chunk) + \
539 sizeof(struct sctphdr) + \
540 sizeof(struct ip6_hdr))
542#define SCTP_MIN_OVERHEAD (sizeof(struct ip6_hdr) + \
543 sizeof(struct sctphdr))
546#define SCTP_MAX_OVERHEAD (sizeof(struct sctp_data_chunk) + \
547 sizeof(struct sctphdr) + \
548 sizeof(struct sctp_ecne_chunk) + \
549 sizeof(struct sctp_sack_chunk) + \
552#define SCTP_MED_OVERHEAD (sizeof(struct sctp_data_chunk) + \
553 sizeof(struct sctphdr) + \
556#define SCTP_MIN_OVERHEAD (sizeof(struct ip) + \
557 sizeof(struct sctphdr))
562#define SCTP_MED_V4_OVERHEAD (sizeof(struct sctp_data_chunk) + \
563 sizeof(struct sctphdr) + \
566#define SCTP_MIN_V4_OVERHEAD (sizeof(struct ip) + \
567 sizeof(struct sctphdr))
struct sctp_abort_chunk msg
struct sctp_ipv6addr_param addrp
struct sctp_asconf_paramhdr aph
struct sctp_asconf_paramhdr aph
struct sctp_ipv4addr_param addrp
struct sctp_asconf_paramhdr aph
uint8_t data_bytes[SCTP_NUM_DB_TO_VERIFY]
struct sctp_state_cookie cookie
uint32_t num_pkts_since_cwr
uint32_t new_cumulative_tsn
struct sctp_forward_tsn_chunk msg
struct sctp_heartbeat heartbeat
char address[SCTP_ADDRMAX]
struct sctp_heartbeat_info_param hb_info
char name[SCTP_ARRAY_MIN_LEN]
union sctp_idata::@32 ppid_fsn
struct sctp_init_chunk msg
uint16_t num_inbound_streams
uint16_t num_outbound_streams
uint8_t addr[SCTP_V6_ADDR_BYTES]
struct sctp_nr_sack nr_sack
uint16_t num_nr_gap_ack_blks
uint16_t num_gap_ack_blks
uint16_t num_gap_ack_blks
uint32_t cumulative_tsn_ack
struct sctp_state_cookie cookie
uint8_t reserved[SCTP_RESERVE_SPACE]
uint32_t address[SCTP_ADDRESS_SIZE]
struct timeval time_entered
uint32_t tie_tag_peer_vtag
uint8_t identification[SCTP_IDENTIFICATION_SIZE]
uint32_t laddress[SCTP_ADDRESS_SIZE]
uint16_t number_of_streams
uint16_t list_of_streams[]
uint32_t send_reset_at_tsn
uint16_t list_of_streams[]
struct sctp_stream_reset_response_tsn sr_resp
struct sctp_stream_reset_response sr_resp
uint32_t receivers_next_tsn
uint32_t senders_next_tsn
struct sctp_stream_reset_tsn_request sr_req