FreeBSD kernel IPv4 code
sctp_header.h File Reference
#include <sys/cdefs.h>
#include <sys/time.h>
#include <netinet/sctp.h>
#include <netinet/sctp_constants.h>
Include dependency graph for sctp_header.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  sctp_ipv4addr_param
 
struct  sctp_ipv6addr_param
 
struct  sctp_cookie_perserve_param
 
struct  sctp_host_name_param
 
struct  sctp_supported_addr_param
 
struct  sctp_heartbeat_info_param
 
struct  sctp_prsctp_supported_param
 
struct  sctp_asconf_paramhdr
 
struct  sctp_asconf_addr_param
 
struct  sctp_asconf_tag_param
 
struct  sctp_asconf_addrv4_param
 
struct  sctp_supported_chunk_types_param
 
struct  sctp_data
 
struct  sctp_data_chunk
 
struct  sctp_idata
 
struct  sctp_idata_chunk
 
struct  sctp_init
 
struct  sctp_state_cookie
 
struct  sctp_state_cookie_param
 
struct  sctp_init_chunk
 
struct  sctp_init_msg
 
struct  sctp_gap_ack_block
 
struct  sctp_sack
 
struct  sctp_sack_chunk
 
struct  sctp_nr_sack
 
struct  sctp_nr_sack_chunk
 
struct  sctp_heartbeat
 
struct  sctp_heartbeat_chunk
 
struct  sctp_abort_chunk
 
struct  sctp_abort_msg
 
struct  sctp_shutdown_chunk
 
struct  sctp_shutdown_ack_chunk
 
struct  sctp_error_chunk
 
struct  sctp_cookie_echo_chunk
 
struct  sctp_cookie_ack_chunk
 
struct  old_sctp_ecne_chunk
 
struct  sctp_ecne_chunk
 
struct  sctp_cwr_chunk
 
struct  sctp_shutdown_complete_chunk
 
struct  sctp_adaptation_layer_indication
 
struct  sctp_asconf_chunk
 
struct  sctp_asconf_ack_chunk
 
struct  sctp_forward_tsn_chunk
 
struct  sctp_strseq
 
struct  sctp_strseq_mid
 
struct  sctp_forward_tsn_msg
 
struct  sctp_chunk_desc
 
struct  sctp_pktdrop_chunk
 
struct  sctp_stream_reset_request
 
struct  sctp_stream_reset_out_request
 
struct  sctp_stream_reset_in_request
 
struct  sctp_stream_reset_tsn_request
 
struct  sctp_stream_reset_response
 
struct  sctp_stream_reset_response_tsn
 
struct  sctp_stream_reset_add_strm
 
struct  sctp_stream_reset_tsn_req
 
struct  sctp_stream_reset_resp
 
struct  sctp_stream_reset_resp_tsn
 
struct  sctp_auth_random
 
struct  sctp_auth_chunk_list
 
struct  sctp_auth_hmac_algo
 
struct  sctp_auth_chunk
 

Macros

#define _NETINET_SCTP_HEADER_H_
 
#define SCTP_PACKED   __attribute__((packed))
 
#define SCTP_V6_ADDR_BYTES   16
 
#define SCTP_ARRAY_MIN_LEN   1
 
#define SCTP_MAX_ADDR_PARAMS_SIZE   12
 
#define SCTP_MAX_SUPPORTED_EXT   256
 
#define SCTP_IDENTIFICATION_SIZE   16
 
#define SCTP_ADDRESS_SIZE   4
 
#define SCTP_RESERVE_SPACE   6
 
#define sctp_init_ack   sctp_init
 
#define sctp_init_ack_chunk   sctp_init_chunk
 
#define sctp_init_ack_msg   sctp_init_msg
 
#define sctp_heartbeat_ack   sctp_heartbeat
 
#define sctp_heartbeat_ack_chunk   sctp_heartbeat_chunk
 
#define SCTP_NUM_DB_TO_VERIFY   31
 
#define SCTP_STREAM_RESET_RESULT_NOTHING_TO_DO   0x00000000 /* XXX: unused */
 
#define SCTP_STREAM_RESET_RESULT_PERFORMED   0x00000001
 
#define SCTP_STREAM_RESET_RESULT_DENIED   0x00000002
 
#define SCTP_STREAM_RESET_RESULT_ERR__WRONG_SSN   0x00000003 /* XXX: unused */
 
#define SCTP_STREAM_RESET_RESULT_ERR_IN_PROGRESS   0x00000004
 
#define SCTP_STREAM_RESET_RESULT_ERR_BAD_SEQNO   0x00000005
 
#define SCTP_STREAM_RESET_RESULT_IN_PROGRESS   0x00000006 /* XXX: unused */
 
#define SCTP_RANDOM_MAX_SIZE   256
 
#define SCTP_MAX_OVERHEAD
 
#define SCTP_MED_OVERHEAD
 
#define SCTP_MIN_OVERHEAD
 
#define SCTP_MED_V4_OVERHEAD
 
#define SCTP_MIN_V4_OVERHEAD
 

Functions

 __FBSDID ("$FreeBSD$")
 

Variables

struct sctp_ipv4addr_param SCTP_PACKED
 

Macro Definition Documentation

◆ _NETINET_SCTP_HEADER_H_

#define _NETINET_SCTP_HEADER_H_

Definition at line 39 of file sctp_header.h.

◆ SCTP_ADDRESS_SIZE

#define SCTP_ADDRESS_SIZE   4

Definition at line 182 of file sctp_header.h.

◆ SCTP_ARRAY_MIN_LEN

#define SCTP_ARRAY_MIN_LEN   1

Definition at line 68 of file sctp_header.h.

◆ sctp_heartbeat_ack

#define sctp_heartbeat_ack   sctp_heartbeat

Definition at line 285 of file sctp_header.h.

◆ sctp_heartbeat_ack_chunk

#define sctp_heartbeat_ack_chunk   sctp_heartbeat_chunk

Definition at line 286 of file sctp_header.h.

◆ SCTP_IDENTIFICATION_SIZE

#define SCTP_IDENTIFICATION_SIZE   16

Definition at line 181 of file sctp_header.h.

◆ sctp_init_ack

#define sctp_init_ack   sctp_init

Definition at line 234 of file sctp_header.h.

◆ sctp_init_ack_chunk

#define sctp_init_ack_chunk   sctp_init_chunk

Definition at line 235 of file sctp_header.h.

◆ sctp_init_ack_msg

#define sctp_init_ack_msg   sctp_init_msg

Definition at line 236 of file sctp_header.h.

◆ SCTP_MAX_ADDR_PARAMS_SIZE

#define SCTP_MAX_ADDR_PARAMS_SIZE   12

Definition at line 79 of file sctp_header.h.

◆ SCTP_MAX_OVERHEAD

#define SCTP_MAX_OVERHEAD
Value:
(sizeof(struct sctp_data_chunk) + \
sizeof(struct sctphdr) + \
sizeof(struct sctp_ecne_chunk) + \
sizeof(struct sctp_sack_chunk) + \
sizeof(struct ip))
Definition: ip.h:51
Definition: sctp.h:48

Definition at line 546 of file sctp_header.h.

◆ SCTP_MAX_SUPPORTED_EXT

#define SCTP_MAX_SUPPORTED_EXT   256

Definition at line 128 of file sctp_header.h.

◆ SCTP_MED_OVERHEAD

#define SCTP_MED_OVERHEAD
Value:
(sizeof(struct sctp_data_chunk) + \
sizeof(struct sctphdr) + \
sizeof(struct ip))

Definition at line 552 of file sctp_header.h.

◆ SCTP_MED_V4_OVERHEAD

#define SCTP_MED_V4_OVERHEAD
Value:
(sizeof(struct sctp_data_chunk) + \
sizeof(struct sctphdr) + \
sizeof(struct ip))

Definition at line 562 of file sctp_header.h.

◆ SCTP_MIN_OVERHEAD

#define SCTP_MIN_OVERHEAD
Value:
(sizeof(struct ip) + \
sizeof(struct sctphdr))

Definition at line 556 of file sctp_header.h.

◆ SCTP_MIN_V4_OVERHEAD

#define SCTP_MIN_V4_OVERHEAD
Value:
(sizeof(struct ip) + \
sizeof(struct sctphdr))

Definition at line 566 of file sctp_header.h.

◆ SCTP_NUM_DB_TO_VERIFY

#define SCTP_NUM_DB_TO_VERIFY   31

Definition at line 399 of file sctp_header.h.

◆ SCTP_PACKED

#define SCTP_PACKED   __attribute__((packed))

Definition at line 45 of file sctp_header.h.

◆ SCTP_RANDOM_MAX_SIZE

#define SCTP_RANDOM_MAX_SIZE   256

Definition at line 499 of file sctp_header.h.

◆ SCTP_RESERVE_SPACE

#define SCTP_RESERVE_SPACE   6

Definition at line 183 of file sctp_header.h.

◆ SCTP_STREAM_RESET_RESULT_DENIED

#define SCTP_STREAM_RESET_RESULT_DENIED   0x00000002

Definition at line 465 of file sctp_header.h.

◆ SCTP_STREAM_RESET_RESULT_ERR__WRONG_SSN

#define SCTP_STREAM_RESET_RESULT_ERR__WRONG_SSN   0x00000003 /* XXX: unused */

Definition at line 466 of file sctp_header.h.

◆ SCTP_STREAM_RESET_RESULT_ERR_BAD_SEQNO

#define SCTP_STREAM_RESET_RESULT_ERR_BAD_SEQNO   0x00000005

Definition at line 468 of file sctp_header.h.

◆ SCTP_STREAM_RESET_RESULT_ERR_IN_PROGRESS

#define SCTP_STREAM_RESET_RESULT_ERR_IN_PROGRESS   0x00000004

Definition at line 467 of file sctp_header.h.

◆ SCTP_STREAM_RESET_RESULT_IN_PROGRESS

#define SCTP_STREAM_RESET_RESULT_IN_PROGRESS   0x00000006 /* XXX: unused */

Definition at line 469 of file sctp_header.h.

◆ SCTP_STREAM_RESET_RESULT_NOTHING_TO_DO

#define SCTP_STREAM_RESET_RESULT_NOTHING_TO_DO   0x00000000 /* XXX: unused */

Definition at line 463 of file sctp_header.h.

◆ SCTP_STREAM_RESET_RESULT_PERFORMED

#define SCTP_STREAM_RESET_RESULT_PERFORMED   0x00000001

Definition at line 464 of file sctp_header.h.

◆ SCTP_V6_ADDR_BYTES

#define SCTP_V6_ADDR_BYTES   16

Definition at line 55 of file sctp_header.h.

Function Documentation

◆ __FBSDID()

__FBSDID ( "$FreeBSD$"  )

Variable Documentation

◆ SCTP_PACKED

struct sctp_auth_chunk SCTP_PACKED