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

Go to the source code of this file.

Data Structures

struct  sctp_timer
 
struct  sctp_foo_stuff
 
struct  sctp_stream_reset_list
 
struct  sctp_iterator
 
struct  sctp_copy_all
 
struct  sctp_asconf_iterator
 
struct  iterator_control
 
struct  sctp_net_route
 
struct  htcp
 
struct  rtcc_cc
 
struct  sctp_nets
 
union  sctp_nets::cc_control_data
 
struct  sctp_data_chunkrec
 
struct  chk_id
 
struct  sctp_tmit_chunk
 
struct  sctp_queued_to_read
 
struct  sctp_stream_queue_pending
 
struct  sctp_stream_in
 
struct  scheduling_data
 
struct  ss_rr
 
struct  ss_prio
 
struct  ss_fb
 
struct  scheduling_parameters
 
struct  sctp_stream_out
 
struct  sctp_asconf_addr
 
struct  sctp_scoping
 
struct  sctp_tsn_log
 
struct  sctp_fs_spec_log
 
struct  sctp_nonpad_sndrcvinfo
 
struct  sctp_cc_functions
 
struct  sctp_ss_functions
 
struct  sctp_asconf
 
struct  sctp_asconf_ack
 
struct  sctp_association
 

Macros

#define _NETINET_SCTP_STRUCTS_H_
 
#define SCTP_PCB_ANY_FLAGS   0x00000000
 
#define SCTP_PCB_ANY_FEATURES   0x00000000
 
#define SCTP_ASOC_ANY_STATE   0x00000000
 
#define SCTP_ITERATOR_DO_ALL_INP   0x00000001
 
#define SCTP_ITERATOR_DO_SINGLE_INP   0x00000002
 
#define SCTP_ITERATOR_STOP_CUR_IT   0x00000004
 
#define SCTP_ITERATOR_STOP_CUR_INP   0x00000008
 
#define CHUNK_FLAGS_PR_SCTP_TTL   SCTP_PR_SCTP_TTL
 
#define CHUNK_FLAGS_PR_SCTP_BUF   SCTP_PR_SCTP_BUF
 
#define CHUNK_FLAGS_PR_SCTP_RTX   SCTP_PR_SCTP_RTX
 
#define CHUNK_FLAGS_FRAGMENT_OK   0x0100
 
#define SCTP_ON_ORDERED   1
 
#define SCTP_ON_UNORDERED   2
 
#define SCTP_STREAM_CLOSED   0x00
 
#define SCTP_STREAM_OPENING   0x01
 
#define SCTP_STREAM_OPEN   0x02
 
#define SCTP_STREAM_RESET_PENDING   0x03
 
#define SCTP_STREAM_RESET_IN_FLIGHT   0x04
 
#define SCTP_MAX_STREAMS_AT_ONCE_RESET   200
 
#define SCTP_TSN_LOG_SIZE   40
 
#define SCTP_FS_SPEC_LOG_SIZE   200
 

Typedefs

typedef void(* asoc_func) (struct sctp_inpcb *, struct sctp_tcb *, void *ptr, uint32_t val)
 
typedef int(* inp_func) (struct sctp_inpcb *, void *ptr, uint32_t val)
 
typedef void(* end_func) (void *ptr, uint32_t val)
 

Functions

 __FBSDID ("$FreeBSD$")
 
 TAILQ_HEAD (sctpnetlisthead, sctp_nets)
 
 TAILQ_HEAD (sctp_resethead, sctp_stream_reset_list)
 
 TAILQ_HEAD (sctpiterators, sctp_iterator)
 
 TAILQ_HEAD (sctpchunk_listhead, sctp_tmit_chunk)
 
 TAILQ_HEAD (sctpwheelunrel_listhead, sctp_stream_in)
 
 TAILQ_HEAD (sctpwheel_listhead, sctp_stream_out)
 
 TAILQ_HEAD (sctplist_listhead, sctp_stream_queue_pending)
 
 TAILQ_HEAD (sctp_asconf_addrhead, sctp_asconf_addr)
 
 TAILQ_HEAD (sctp_asconf_head, sctp_asconf)
 
 TAILQ_HEAD (sctp_asconf_ackhead, sctp_asconf_ack)
 

Macro Definition Documentation

◆ _NETINET_SCTP_STRUCTS_H_

#define _NETINET_SCTP_STRUCTS_H_

Definition at line 39 of file sctp_structs.h.

◆ CHUNK_FLAGS_FRAGMENT_OK

#define CHUNK_FLAGS_FRAGMENT_OK   0x0100

Definition at line 415 of file sctp_structs.h.

◆ CHUNK_FLAGS_PR_SCTP_BUF

#define CHUNK_FLAGS_PR_SCTP_BUF   SCTP_PR_SCTP_BUF

Definition at line 411 of file sctp_structs.h.

◆ CHUNK_FLAGS_PR_SCTP_RTX

#define CHUNK_FLAGS_PR_SCTP_RTX   SCTP_PR_SCTP_RTX

Definition at line 412 of file sctp_structs.h.

◆ CHUNK_FLAGS_PR_SCTP_TTL

#define CHUNK_FLAGS_PR_SCTP_TTL   SCTP_PR_SCTP_TTL

Definition at line 410 of file sctp_structs.h.

◆ SCTP_ASOC_ANY_STATE

#define SCTP_ASOC_ANY_STATE   0x00000000

Definition at line 103 of file sctp_structs.h.

◆ SCTP_FS_SPEC_LOG_SIZE

#define SCTP_FS_SPEC_LOG_SIZE   200

Definition at line 668 of file sctp_structs.h.

◆ SCTP_ITERATOR_DO_ALL_INP

#define SCTP_ITERATOR_DO_ALL_INP   0x00000001

Definition at line 154 of file sctp_structs.h.

◆ SCTP_ITERATOR_DO_SINGLE_INP

#define SCTP_ITERATOR_DO_SINGLE_INP   0x00000002

Definition at line 155 of file sctp_structs.h.

◆ SCTP_ITERATOR_STOP_CUR_INP

#define SCTP_ITERATOR_STOP_CUR_INP   0x00000008

Definition at line 183 of file sctp_structs.h.

◆ SCTP_ITERATOR_STOP_CUR_IT

#define SCTP_ITERATOR_STOP_CUR_IT   0x00000004

Definition at line 182 of file sctp_structs.h.

◆ SCTP_MAX_STREAMS_AT_ONCE_RESET

#define SCTP_MAX_STREAMS_AT_ONCE_RESET   200

Definition at line 633 of file sctp_structs.h.

◆ SCTP_ON_ORDERED

#define SCTP_ON_ORDERED   1

Definition at line 488 of file sctp_structs.h.

◆ SCTP_ON_UNORDERED

#define SCTP_ON_UNORDERED   2

Definition at line 489 of file sctp_structs.h.

◆ SCTP_PCB_ANY_FEATURES

#define SCTP_PCB_ANY_FEATURES   0x00000000

Definition at line 102 of file sctp_structs.h.

◆ SCTP_PCB_ANY_FLAGS

#define SCTP_PCB_ANY_FLAGS   0x00000000

Definition at line 101 of file sctp_structs.h.

◆ SCTP_STREAM_CLOSED

#define SCTP_STREAM_CLOSED   0x00

Definition at line 603 of file sctp_structs.h.

◆ SCTP_STREAM_OPEN

#define SCTP_STREAM_OPEN   0x02

Definition at line 605 of file sctp_structs.h.

◆ SCTP_STREAM_OPENING

#define SCTP_STREAM_OPENING   0x01

Definition at line 604 of file sctp_structs.h.

◆ SCTP_STREAM_RESET_IN_FLIGHT

#define SCTP_STREAM_RESET_IN_FLIGHT   0x04

Definition at line 607 of file sctp_structs.h.

◆ SCTP_STREAM_RESET_PENDING

#define SCTP_STREAM_RESET_PENDING   0x03

Definition at line 606 of file sctp_structs.h.

◆ SCTP_TSN_LOG_SIZE

#define SCTP_TSN_LOG_SIZE   40

Definition at line 654 of file sctp_structs.h.

Typedef Documentation

◆ asoc_func

typedef void(* asoc_func) (struct sctp_inpcb *, struct sctp_tcb *, void *ptr, uint32_t val)

Definition at line 105 of file sctp_structs.h.

◆ end_func

typedef void(* end_func) (void *ptr, uint32_t val)

Definition at line 108 of file sctp_structs.h.

◆ inp_func

typedef int(* inp_func) (struct sctp_inpcb *, void *ptr, uint32_t val)

Definition at line 107 of file sctp_structs.h.

Function Documentation

◆ __FBSDID()

__FBSDID ( "$FreeBSD$"  )

◆ TAILQ_HEAD() [1/10]

TAILQ_HEAD ( sctp_asconf_ackhead  ,
sctp_asconf_ack   
)

◆ TAILQ_HEAD() [2/10]

TAILQ_HEAD ( sctp_asconf_addrhead  ,
sctp_asconf_addr   
)

◆ TAILQ_HEAD() [3/10]

TAILQ_HEAD ( sctp_asconf_head  ,
sctp_asconf   
)

◆ TAILQ_HEAD() [4/10]

TAILQ_HEAD ( sctp_resethead  ,
sctp_stream_reset_list   
)

◆ TAILQ_HEAD() [5/10]

TAILQ_HEAD ( sctpchunk_listhead  ,
sctp_tmit_chunk   
)

◆ TAILQ_HEAD() [6/10]

TAILQ_HEAD ( sctpiterators  ,
sctp_iterator   
)

◆ TAILQ_HEAD() [7/10]

TAILQ_HEAD ( sctplist_listhead  ,
sctp_stream_queue_pending   
)

◆ TAILQ_HEAD() [8/10]

TAILQ_HEAD ( sctpnetlisthead  ,
sctp_nets   
)

◆ TAILQ_HEAD() [9/10]

TAILQ_HEAD ( sctpwheel_listhead  ,
sctp_stream_out   
)

◆ TAILQ_HEAD() [10/10]

TAILQ_HEAD ( sctpwheelunrel_listhead  ,
sctp_stream_in   
)