FD.io VPP  v19.01.3-6-g70449b9b9
Vector Packet Processing
sctp_packet.h File Reference
+ Include dependency graph for sctp_packet.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  sctp_header_t
 
struct  sctp_chunks_common_hdr_t
 
struct  sctp_full_hdr_t
 
struct  sctp_payload_data_chunk_t
 
struct  sctp_init_chunk_t
 
struct  sctp_opt_params_hdr_t
 
struct  sctp_state_cookie_param_t
 
struct  sctp_cookie_echo_chunk_t
 
struct  sctp_cookie_ack_chunk_t
 
struct  sctp_shutdown_complete_chunk_t
 
struct  sctp_ipv4_addr_param_t
 
struct  sctp_ipv6_addr_param_t
 
struct  sctp_cookie_preservative_param_t
 
struct  sctp_hostname_param_t
 
struct  sctp_supported_addr_types_param_t
 
struct  sctp_unrecognized_param_t
 
struct  sctp_selective_ack_chunk_t
 
struct  sctp_hb_info_param_t
 
struct  sctp_hb_req_chunk_t
 
struct  sctp_err_cause_param_t
 
struct  sctp_operation_error_t
 
struct  sctp_abort_chunk_t
 
struct  sctp_shutdown_association_chunk_t
 
struct  sctp_shutdown_ack_chunk_t
 

Macros

#define CHUNK_TYPE_MASK   0xFF000000
 
#define CHUNK_TYPE_SHIFT   24
 
#define CHUNK_FLAGS_MASK   0x00FF0000
 
#define CHUNK_FLAGS_SHIFT   16
 
#define CHUNK_UBIT_MASK   0x00040000
 
#define CHUNK_UBIT_SHIFT   18
 
#define CHUNK_BBIT_MASK   0x00020000
 
#define CHUNK_BBIT_SHIFT   17
 
#define CHUNK_EBIT_MASK   0x00010000
 
#define CHUNK_EBIT_SHIFT   16
 
#define CHUNK_LENGTH_MASK   0x0000FFFF
 
#define CHUNK_LENGTH_SHIFT   0
 
#define INBOUND_STREAMS_COUNT   1
 
#define OUTBOUND_STREAMS_COUNT   1
 
#define SHA1_OUTPUT_LENGTH   20
 
#define SCTP_IPV4_ADDRESS_TYPE   5
 
#define SCTP_IPV4_ADDRESS_TYPE_LENGTH   8
 
#define SCTP_IPV6_ADDRESS_TYPE   6
 
#define SCTP_IPV6_ADDRESS_TYPE_LENGTH   20
 
#define SCTP_STATE_COOKIE_TYPE   7
 
#define SCTP_UNRECOGNIZED_TYPE   8
 
#define SCTP_COOKIE_PRESERVATIVE_TYPE   9
 
#define SCTP_COOKIE_PRESERVATIVE_TYPE_LENGTH   8
 
#define SCTP_HOSTNAME_ADDRESS_TYPE   11
 
#define SCTP_SUPPORTED_ADDRESS_TYPES   12
 
#define FQDN_MAX_LENGTH   256
 
#define MAX_SUPPORTED_ADDRESS_TYPES   3
 
#define INVALID_STREAM_IDENTIFIER   1
 
#define MISSING_MANDATORY_PARAMETER   2
 
#define STALE_COOKIE_ERROR   3
 
#define OUT_OF_RESOURCE   4
 
#define UNRESOLVABLE_ADDRESS   5
 
#define UNRECOGNIZED_CHUNK_TYPE   6
 
#define INVALID_MANDATORY_PARAMETER   7
 
#define UNRECOGNIZED_PARAMETER   8
 
#define NO_USER_DATA   9
 
#define COOKIE_RECEIVED_WHILE_SHUTTING_DOWN   10
 
#define RESTART_OF_ASSOCIATION_WITH_NEW_ADDR   11
 
#define USER_INITIATED_ABORT   12
 
#define PROTOCOL_VIOLATION   13
 

Typedefs

typedef sctp_init_chunk_t sctp_init_ack_chunk_t
 
typedef sctp_hb_req_chunk_t sctp_hb_ack_chunk_t
 

Enumerations

enum  sctp_chunk_type {
  DATA = 0, INIT, INIT_ACK, SACK,
  HEARTBEAT, HEARTBEAT_ACK, ABORT, SHUTDOWN,
  SHUTDOWN_ACK, OPERATION_ERROR, COOKIE_ECHO, COOKIE_ACK,
  ECNE, CWR, SHUTDOWN_COMPLETE, UNKNOWN
}
 

Functions

static void vnet_set_sctp_src_port (sctp_header_t *h, u16 src_port)
 
static u16 vnet_get_sctp_src_port (sctp_header_t *h)
 
static void vnet_set_sctp_dst_port (sctp_header_t *h, u16 dst_port)
 
static u16 vnet_get_sctp_dst_port (sctp_header_t *h)
 
static void vnet_set_sctp_verification_tag (sctp_header_t *h, u32 verification_tag)
 
static u32 vnet_get_sctp_verification_tag (sctp_header_t *h)
 
static void vnet_set_sctp_checksum (sctp_header_t *h, u32 checksum)
 
static u32 vnet_get_sctp_checksum (sctp_header_t *h)
 
static void vnet_sctp_common_hdr_params_host_to_net (sctp_chunks_common_hdr_t *h)
 
static void vnet_sctp_common_hdr_params_net_to_host (sctp_chunks_common_hdr_t *h)
 
static void vnet_sctp_set_ubit (sctp_chunks_common_hdr_t *h)
 
static u8 vnet_sctp_get_ubit (sctp_chunks_common_hdr_t *h)
 
static void vnet_sctp_set_bbit (sctp_chunks_common_hdr_t *h)
 
static u8 vnet_sctp_get_bbit (sctp_chunks_common_hdr_t *h)
 
static void vnet_sctp_set_ebit (sctp_chunks_common_hdr_t *h)
 
static u8 vnet_sctp_get_ebit (sctp_chunks_common_hdr_t *h)
 
static void vnet_sctp_set_chunk_type (sctp_chunks_common_hdr_t *h, sctp_chunk_type t)
 
static u8 vnet_sctp_get_chunk_type (sctp_chunks_common_hdr_t *h)
 
static void vnet_sctp_set_chunk_length (sctp_chunks_common_hdr_t *h, u16 length)
 
static u16 vnet_sctp_get_chunk_length (sctp_chunks_common_hdr_t *h)
 
static void vnet_sctp_set_tsn (sctp_payload_data_chunk_t *p, u32 tsn)
 
static u32 vnet_sctp_get_tsn (sctp_payload_data_chunk_t *p)
 
static void vnet_sctp_set_stream_id (sctp_payload_data_chunk_t *p, u16 stream_id)
 
static u16 vnet_sctp_get_stream_id (sctp_payload_data_chunk_t *p)
 
static void vnet_sctp_set_stream_seq (sctp_payload_data_chunk_t *p, u16 stream_seq)
 
static u16 vnet_sctp_get_stream_seq (sctp_payload_data_chunk_t *p)
 
static void vnet_sctp_set_payload_id (sctp_payload_data_chunk_t *p, u32 payload_id)
 
static u32 vnet_sctp_get_payload_id (sctp_payload_data_chunk_t *p)
 
static u16 vnet_sctp_calculate_padding (u16 base_length)
 
static void vnet_sctp_set_ipv4_address (sctp_ipv4_addr_param_t *a, ip4_address_t address)
 
static u32 vnet_sctp_get_ipv4_address (sctp_ipv4_addr_param_t *a)
 
static void vnet_sctp_set_ipv6_address (sctp_ipv6_addr_param_t *a, ip6_address_t address)
 
static ip6_address_t vnet_sctp_get_ipv6_address (sctp_ipv6_addr_param_t *a)
 
static void vnet_sctp_set_cookie_preservative (sctp_cookie_preservative_param_t *c, u32 life_span_inc)
 
static u32 vnet_sctp_get_cookie_preservative (sctp_cookie_preservative_param_t *c)
 
static void vnet_sctp_set_hostname_address (sctp_hostname_param_t *h, char *hostname)
 
static void vnet_sctp_set_supported_address_types (sctp_supported_addr_types_param_t *s)
 
static void vnet_sctp_set_state_cookie (sctp_state_cookie_param_t *s)
 
static void vnet_sctp_set_unrecognized_param (sctp_unrecognized_param_t *u)
 
static void vnet_sctp_set_cumulative_tsn_ack (sctp_selective_ack_chunk_t *s, u32 cumulative_tsn_ack)
 
static u32 vnet_sctp_get_cumulative_tsn_ack (sctp_selective_ack_chunk_t *s)
 
static void vnet_sctp_set_arwnd (sctp_selective_ack_chunk_t *s, u32 a_rwnd)
 
static u32 vnet_sctp_get_arwnd (sctp_selective_ack_chunk_t *s)
 
static void vnet_sctp_set_gap_ack_blocks_count (sctp_selective_ack_chunk_t *s, u16 gap_ack_blocks_count)
 
static u16 vnet_sctp_get_gap_ack_blocks_count (sctp_selective_ack_chunk_t *s)
 
static void vnet_sctp_set_duplicate_tsn_count (sctp_selective_ack_chunk_t *s, u16 duplicate_tsn_count)
 
static u16 vnet_sctp_get_duplicate_tsn_count (sctp_selective_ack_chunk_t *s)
 
static void vnet_sctp_set_heartbeat_info (sctp_hb_info_param_t *h, u64 hb_info, u16 hb_info_length)
 
static void vnet_sctp_set_hb_request_info (sctp_hb_req_chunk_t *h, sctp_hb_info_param_t *hb_info)
 
static void vnet_sctp_set_hb_ack_info (sctp_hb_ack_chunk_t *h, sctp_hb_info_param_t *hb_info)
 
static void vnet_sctp_set_tbit (sctp_abort_chunk_t *a)
 
static void vnet_sctp_unset_tbit (sctp_abort_chunk_t *a)
 
static void vnet_sctp_set_tsn_last_received_chunk (sctp_shutdown_association_chunk_t *s, u32 tsn_last_chunk)
 
static void vnet_sctp_fill_shutdown_ack (sctp_shutdown_ack_chunk_t *s)
 

Macro Definition Documentation

◆ CHUNK_BBIT_MASK

#define CHUNK_BBIT_MASK   0x00020000

Definition at line 274 of file sctp_packet.h.

◆ CHUNK_BBIT_SHIFT

#define CHUNK_BBIT_SHIFT   17

Definition at line 275 of file sctp_packet.h.

◆ CHUNK_EBIT_MASK

#define CHUNK_EBIT_MASK   0x00010000

Definition at line 277 of file sctp_packet.h.

◆ CHUNK_EBIT_SHIFT

#define CHUNK_EBIT_SHIFT   16

Definition at line 278 of file sctp_packet.h.

◆ CHUNK_FLAGS_MASK

#define CHUNK_FLAGS_MASK   0x00FF0000

Definition at line 268 of file sctp_packet.h.

◆ CHUNK_FLAGS_SHIFT

#define CHUNK_FLAGS_SHIFT   16

Definition at line 269 of file sctp_packet.h.

◆ CHUNK_LENGTH_MASK

#define CHUNK_LENGTH_MASK   0x0000FFFF

Definition at line 280 of file sctp_packet.h.

◆ CHUNK_LENGTH_SHIFT

#define CHUNK_LENGTH_SHIFT   0

Definition at line 281 of file sctp_packet.h.

◆ CHUNK_TYPE_MASK

#define CHUNK_TYPE_MASK   0xFF000000

Definition at line 265 of file sctp_packet.h.

◆ CHUNK_TYPE_SHIFT

#define CHUNK_TYPE_SHIFT   24

Definition at line 266 of file sctp_packet.h.

◆ CHUNK_UBIT_MASK

#define CHUNK_UBIT_MASK   0x00040000

Definition at line 271 of file sctp_packet.h.

◆ CHUNK_UBIT_SHIFT

#define CHUNK_UBIT_SHIFT   18

Definition at line 272 of file sctp_packet.h.

◆ COOKIE_RECEIVED_WHILE_SHUTTING_DOWN

#define COOKIE_RECEIVED_WHILE_SHUTTING_DOWN   10

Definition at line 1007 of file sctp_packet.h.

◆ FQDN_MAX_LENGTH

#define FQDN_MAX_LENGTH   256

Definition at line 914 of file sctp_packet.h.

◆ INBOUND_STREAMS_COUNT

#define INBOUND_STREAMS_COUNT   1

Definition at line 516 of file sctp_packet.h.

◆ INVALID_MANDATORY_PARAMETER

#define INVALID_MANDATORY_PARAMETER   7

Definition at line 1004 of file sctp_packet.h.

◆ INVALID_STREAM_IDENTIFIER

#define INVALID_STREAM_IDENTIFIER   1

Definition at line 998 of file sctp_packet.h.

◆ MAX_SUPPORTED_ADDRESS_TYPES

#define MAX_SUPPORTED_ADDRESS_TYPES   3

Definition at line 958 of file sctp_packet.h.

◆ MISSING_MANDATORY_PARAMETER

#define MISSING_MANDATORY_PARAMETER   2

Definition at line 999 of file sctp_packet.h.

◆ NO_USER_DATA

#define NO_USER_DATA   9

Definition at line 1006 of file sctp_packet.h.

◆ OUT_OF_RESOURCE

#define OUT_OF_RESOURCE   4

Definition at line 1001 of file sctp_packet.h.

◆ OUTBOUND_STREAMS_COUNT

#define OUTBOUND_STREAMS_COUNT   1

Definition at line 517 of file sctp_packet.h.

◆ PROTOCOL_VIOLATION

#define PROTOCOL_VIOLATION   13

Definition at line 1010 of file sctp_packet.h.

◆ RESTART_OF_ASSOCIATION_WITH_NEW_ADDR

#define RESTART_OF_ASSOCIATION_WITH_NEW_ADDR   11

Definition at line 1008 of file sctp_packet.h.

◆ SCTP_COOKIE_PRESERVATIVE_TYPE

#define SCTP_COOKIE_PRESERVATIVE_TYPE   9

Definition at line 782 of file sctp_packet.h.

◆ SCTP_COOKIE_PRESERVATIVE_TYPE_LENGTH

#define SCTP_COOKIE_PRESERVATIVE_TYPE_LENGTH   8

Definition at line 783 of file sctp_packet.h.

◆ SCTP_HOSTNAME_ADDRESS_TYPE

#define SCTP_HOSTNAME_ADDRESS_TYPE   11

Definition at line 784 of file sctp_packet.h.

◆ SCTP_IPV4_ADDRESS_TYPE

#define SCTP_IPV4_ADDRESS_TYPE   5

Definition at line 776 of file sctp_packet.h.

◆ SCTP_IPV4_ADDRESS_TYPE_LENGTH

#define SCTP_IPV4_ADDRESS_TYPE_LENGTH   8

Definition at line 777 of file sctp_packet.h.

◆ SCTP_IPV6_ADDRESS_TYPE

#define SCTP_IPV6_ADDRESS_TYPE   6

Definition at line 778 of file sctp_packet.h.

◆ SCTP_IPV6_ADDRESS_TYPE_LENGTH

#define SCTP_IPV6_ADDRESS_TYPE_LENGTH   20

Definition at line 779 of file sctp_packet.h.

◆ SCTP_STATE_COOKIE_TYPE

#define SCTP_STATE_COOKIE_TYPE   7

Definition at line 780 of file sctp_packet.h.

◆ SCTP_SUPPORTED_ADDRESS_TYPES

#define SCTP_SUPPORTED_ADDRESS_TYPES   12

Definition at line 785 of file sctp_packet.h.

◆ SCTP_UNRECOGNIZED_TYPE

#define SCTP_UNRECOGNIZED_TYPE   8

Definition at line 781 of file sctp_packet.h.

◆ SHA1_OUTPUT_LENGTH

#define SHA1_OUTPUT_LENGTH   20

Definition at line 699 of file sctp_packet.h.

◆ STALE_COOKIE_ERROR

#define STALE_COOKIE_ERROR   3

Definition at line 1000 of file sctp_packet.h.

◆ UNRECOGNIZED_CHUNK_TYPE

#define UNRECOGNIZED_CHUNK_TYPE   6

Definition at line 1003 of file sctp_packet.h.

◆ UNRECOGNIZED_PARAMETER

#define UNRECOGNIZED_PARAMETER   8

Definition at line 1005 of file sctp_packet.h.

◆ UNRESOLVABLE_ADDRESS

#define UNRESOLVABLE_ADDRESS   5

Definition at line 1002 of file sctp_packet.h.

◆ USER_INITIATED_ABORT

#define USER_INITIATED_ABORT   12

Definition at line 1009 of file sctp_packet.h.

Typedef Documentation

◆ sctp_hb_ack_chunk_t

Definition at line 1287 of file sctp_packet.h.

◆ sctp_init_ack_chunk_t

Definition at line 690 of file sctp_packet.h.

Enumeration Type Documentation

◆ sctp_chunk_type

Enumerator
DATA 
INIT 
INIT_ACK 
SACK 
HEARTBEAT 
HEARTBEAT_ACK 
ABORT 
SHUTDOWN 
SHUTDOWN_ACK 
OPERATION_ERROR 
COOKIE_ECHO 
COOKIE_ACK 
ECNE 
CWR 
SHUTDOWN_COMPLETE 
UNKNOWN 

Definition at line 150 of file sctp_packet.h.

Function Documentation

◆ vnet_get_sctp_checksum()

static u32 vnet_get_sctp_checksum ( sctp_header_t h)
inlinestatic

Definition at line 126 of file sctp_packet.h.

◆ vnet_get_sctp_dst_port()

static u16 vnet_get_sctp_dst_port ( sctp_header_t h)
inlinestatic

Definition at line 102 of file sctp_packet.h.

◆ vnet_get_sctp_src_port()

static u16 vnet_get_sctp_src_port ( sctp_header_t h)
inlinestatic

Definition at line 90 of file sctp_packet.h.

◆ vnet_get_sctp_verification_tag()

static u32 vnet_get_sctp_verification_tag ( sctp_header_t h)
inlinestatic

Definition at line 114 of file sctp_packet.h.

◆ vnet_sctp_calculate_padding()

static u16 vnet_sctp_calculate_padding ( u16  base_length)
inlinestatic

Definition at line 508 of file sctp_packet.h.

+ Here is the caller graph for this function:

◆ vnet_sctp_common_hdr_params_host_to_net()

static void vnet_sctp_common_hdr_params_host_to_net ( sctp_chunks_common_hdr_t h)
inlinestatic

Definition at line 284 of file sctp_packet.h.

+ Here is the caller graph for this function:

◆ vnet_sctp_common_hdr_params_net_to_host()

static void vnet_sctp_common_hdr_params_net_to_host ( sctp_chunks_common_hdr_t h)
inlinestatic

Definition at line 290 of file sctp_packet.h.

+ Here is the caller graph for this function:

◆ vnet_sctp_fill_shutdown_ack()

static void vnet_sctp_fill_shutdown_ack ( sctp_shutdown_ack_chunk_t s)
inlinestatic

Definition at line 1456 of file sctp_packet.h.

+ Here is the call graph for this function:

◆ vnet_sctp_get_arwnd()

static u32 vnet_sctp_get_arwnd ( sctp_selective_ack_chunk_t s)
inlinestatic

Definition at line 1149 of file sctp_packet.h.

◆ vnet_sctp_get_bbit()

static u8 vnet_sctp_get_bbit ( sctp_chunks_common_hdr_t h)
inlinestatic

Definition at line 316 of file sctp_packet.h.

+ Here is the caller graph for this function:

◆ vnet_sctp_get_chunk_length()

static u16 vnet_sctp_get_chunk_length ( sctp_chunks_common_hdr_t h)
inlinestatic

Definition at line 355 of file sctp_packet.h.

+ Here is the caller graph for this function:

◆ vnet_sctp_get_chunk_type()

static u8 vnet_sctp_get_chunk_type ( sctp_chunks_common_hdr_t h)
inlinestatic

Definition at line 342 of file sctp_packet.h.

+ Here is the caller graph for this function:

◆ vnet_sctp_get_cookie_preservative()

static u32 vnet_sctp_get_cookie_preservative ( sctp_cookie_preservative_param_t c)
inlinestatic

Definition at line 909 of file sctp_packet.h.

◆ vnet_sctp_get_cumulative_tsn_ack()

static u32 vnet_sctp_get_cumulative_tsn_ack ( sctp_selective_ack_chunk_t s)
inlinestatic

Definition at line 1136 of file sctp_packet.h.

◆ vnet_sctp_get_duplicate_tsn_count()

static u16 vnet_sctp_get_duplicate_tsn_count ( sctp_selective_ack_chunk_t s)
inlinestatic

Definition at line 1184 of file sctp_packet.h.

◆ vnet_sctp_get_ebit()

static u8 vnet_sctp_get_ebit ( sctp_chunks_common_hdr_t h)
inlinestatic

Definition at line 329 of file sctp_packet.h.

+ Here is the caller graph for this function:

◆ vnet_sctp_get_gap_ack_blocks_count()

static u16 vnet_sctp_get_gap_ack_blocks_count ( sctp_selective_ack_chunk_t s)
inlinestatic

Definition at line 1170 of file sctp_packet.h.

◆ vnet_sctp_get_ipv4_address()

static u32 vnet_sctp_get_ipv4_address ( sctp_ipv4_addr_param_t a)
inlinestatic

Definition at line 817 of file sctp_packet.h.

◆ vnet_sctp_get_ipv6_address()

static ip6_address_t vnet_sctp_get_ipv6_address ( sctp_ipv6_addr_param_t a)
inlinestatic

Definition at line 856 of file sctp_packet.h.

◆ vnet_sctp_get_payload_id()

static u32 vnet_sctp_get_payload_id ( sctp_payload_data_chunk_t p)
inlinestatic

Definition at line 502 of file sctp_packet.h.

◆ vnet_sctp_get_stream_id()

static u16 vnet_sctp_get_stream_id ( sctp_payload_data_chunk_t p)
inlinestatic

Definition at line 478 of file sctp_packet.h.

◆ vnet_sctp_get_stream_seq()

static u16 vnet_sctp_get_stream_seq ( sctp_payload_data_chunk_t p)
inlinestatic

Definition at line 490 of file sctp_packet.h.

◆ vnet_sctp_get_tsn()

static u32 vnet_sctp_get_tsn ( sctp_payload_data_chunk_t p)
inlinestatic

Definition at line 466 of file sctp_packet.h.

◆ vnet_sctp_get_ubit()

static u8 vnet_sctp_get_ubit ( sctp_chunks_common_hdr_t h)
inlinestatic

Definition at line 303 of file sctp_packet.h.

◆ vnet_sctp_set_arwnd()

static void vnet_sctp_set_arwnd ( sctp_selective_ack_chunk_t s,
u32  a_rwnd 
)
inlinestatic

Definition at line 1142 of file sctp_packet.h.

+ Here is the call graph for this function:

◆ vnet_sctp_set_bbit()

static void vnet_sctp_set_bbit ( sctp_chunks_common_hdr_t h)
inlinestatic

Definition at line 309 of file sctp_packet.h.

+ Here is the caller graph for this function:

◆ vnet_sctp_set_chunk_length()

static void vnet_sctp_set_chunk_length ( sctp_chunks_common_hdr_t h,
u16  length 
)
inlinestatic

Definition at line 348 of file sctp_packet.h.

+ Here is the caller graph for this function:

◆ vnet_sctp_set_chunk_type()

static void vnet_sctp_set_chunk_type ( sctp_chunks_common_hdr_t h,
sctp_chunk_type  t 
)
inlinestatic

Definition at line 335 of file sctp_packet.h.

+ Here is the caller graph for this function:

◆ vnet_sctp_set_cookie_preservative()

static void vnet_sctp_set_cookie_preservative ( sctp_cookie_preservative_param_t c,
u32  life_span_inc 
)
inlinestatic

Definition at line 900 of file sctp_packet.h.

◆ vnet_sctp_set_cumulative_tsn_ack()

static void vnet_sctp_set_cumulative_tsn_ack ( sctp_selective_ack_chunk_t s,
u32  cumulative_tsn_ack 
)
inlinestatic

Definition at line 1128 of file sctp_packet.h.

+ Here is the call graph for this function:

◆ vnet_sctp_set_duplicate_tsn_count()

static void vnet_sctp_set_duplicate_tsn_count ( sctp_selective_ack_chunk_t s,
u16  duplicate_tsn_count 
)
inlinestatic

Definition at line 1176 of file sctp_packet.h.

+ Here is the call graph for this function:

◆ vnet_sctp_set_ebit()

static void vnet_sctp_set_ebit ( sctp_chunks_common_hdr_t h)
inlinestatic

Definition at line 322 of file sctp_packet.h.

+ Here is the caller graph for this function:

◆ vnet_sctp_set_gap_ack_blocks_count()

static void vnet_sctp_set_gap_ack_blocks_count ( sctp_selective_ack_chunk_t s,
u16  gap_ack_blocks_count 
)
inlinestatic

Definition at line 1155 of file sctp_packet.h.

+ Here is the call graph for this function:

◆ vnet_sctp_set_hb_ack_info()

static void vnet_sctp_set_hb_ack_info ( sctp_hb_ack_chunk_t h,
sctp_hb_info_param_t hb_info 
)
inlinestatic

Definition at line 1290 of file sctp_packet.h.

+ Here is the call graph for this function:

◆ vnet_sctp_set_hb_request_info()

static void vnet_sctp_set_hb_request_info ( sctp_hb_req_chunk_t h,
sctp_hb_info_param_t hb_info 
)
inlinestatic

Definition at line 1260 of file sctp_packet.h.

+ Here is the call graph for this function:

◆ vnet_sctp_set_heartbeat_info()

static void vnet_sctp_set_heartbeat_info ( sctp_hb_info_param_t h,
u64  hb_info,
u16  hb_info_length 
)
inlinestatic

Definition at line 1223 of file sctp_packet.h.

◆ vnet_sctp_set_hostname_address()

static void vnet_sctp_set_hostname_address ( sctp_hostname_param_t h,
char *  hostname 
)
inlinestatic

Definition at line 950 of file sctp_packet.h.

+ Here is the call graph for this function:

◆ vnet_sctp_set_ipv4_address()

static void vnet_sctp_set_ipv4_address ( sctp_ipv4_addr_param_t a,
ip4_address_t  address 
)
inlinestatic

Definition at line 809 of file sctp_packet.h.

◆ vnet_sctp_set_ipv6_address()

static void vnet_sctp_set_ipv6_address ( sctp_ipv6_addr_param_t a,
ip6_address_t  address 
)
inlinestatic

Definition at line 847 of file sctp_packet.h.

◆ vnet_sctp_set_payload_id()

static void vnet_sctp_set_payload_id ( sctp_payload_data_chunk_t p,
u32  payload_id 
)
inlinestatic

Definition at line 496 of file sctp_packet.h.

◆ vnet_sctp_set_state_cookie()

static void vnet_sctp_set_state_cookie ( sctp_state_cookie_param_t s)
inlinestatic

Definition at line 1013 of file sctp_packet.h.

◆ vnet_sctp_set_stream_id()

static void vnet_sctp_set_stream_id ( sctp_payload_data_chunk_t p,
u16  stream_id 
)
inlinestatic

Definition at line 472 of file sctp_packet.h.

◆ vnet_sctp_set_stream_seq()

static void vnet_sctp_set_stream_seq ( sctp_payload_data_chunk_t p,
u16  stream_seq 
)
inlinestatic

Definition at line 484 of file sctp_packet.h.

◆ vnet_sctp_set_supported_address_types()

static void vnet_sctp_set_supported_address_types ( sctp_supported_addr_types_param_t s)
inlinestatic

Definition at line 984 of file sctp_packet.h.

◆ vnet_sctp_set_tbit()

static void vnet_sctp_set_tbit ( sctp_abort_chunk_t a)
inlinestatic

Definition at line 1380 of file sctp_packet.h.

+ Here is the call graph for this function:

◆ vnet_sctp_set_tsn()

static void vnet_sctp_set_tsn ( sctp_payload_data_chunk_t p,
u32  tsn 
)
inlinestatic

Definition at line 460 of file sctp_packet.h.

◆ vnet_sctp_set_tsn_last_received_chunk()

static void vnet_sctp_set_tsn_last_received_chunk ( sctp_shutdown_association_chunk_t s,
u32  tsn_last_chunk 
)
inlinestatic

Definition at line 1429 of file sctp_packet.h.

+ Here is the call graph for this function:

◆ vnet_sctp_set_ubit()

static void vnet_sctp_set_ubit ( sctp_chunks_common_hdr_t h)
inlinestatic

Definition at line 296 of file sctp_packet.h.

◆ vnet_sctp_set_unrecognized_param()

static void vnet_sctp_set_unrecognized_param ( sctp_unrecognized_param_t u)
inlinestatic

Definition at line 1029 of file sctp_packet.h.

◆ vnet_sctp_unset_tbit()

static void vnet_sctp_unset_tbit ( sctp_abort_chunk_t a)
inlinestatic

Definition at line 1387 of file sctp_packet.h.

+ Here is the call graph for this function:

◆ vnet_set_sctp_checksum()

static void vnet_set_sctp_checksum ( sctp_header_t h,
u32  checksum 
)
inlinestatic

Definition at line 120 of file sctp_packet.h.

◆ vnet_set_sctp_dst_port()

static void vnet_set_sctp_dst_port ( sctp_header_t h,
u16  dst_port 
)
inlinestatic

Definition at line 96 of file sctp_packet.h.

◆ vnet_set_sctp_src_port()

static void vnet_set_sctp_src_port ( sctp_header_t h,
u16  src_port 
)
inlinestatic

Definition at line 84 of file sctp_packet.h.

◆ vnet_set_sctp_verification_tag()

static void vnet_set_sctp_verification_tag ( sctp_header_t h,
u32  verification_tag 
)
inlinestatic

Definition at line 108 of file sctp_packet.h.