Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Linux/net/sctp/   (Open Source Betriebssystem Version 6.17.9©)  Datei vom 24.10.2025 mit Größe 34 kB image not shown  

Quellcode-Bibliothek sm_statetable.c   Sprache: C

 
// SPDX-License-Identifier: GPL-2.0-or-later
 *    Ardelle Fan     <ardelle.fan@intel.com>define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
 * (C) Copyright IBM Corp. 2001, 2004
 * Copyright (c) 1999-2000 Cisco, Inc.
 * Copyright (c) 1999-2001 Motorola, Inc.
 * Copyright (c) 2001 Intel Corp.
 * Copyright (c) 2001 Nokia, Inc.
 *
 * This file is part of the SCTP kernel implementation
 *
 * These are the state tables for the SCTP state machine.
 *
 * Please send any bug reports or fixes you make to the
 * email address(es):
 *    lksctp developers <linux-sctp@vger.kernel.org>
 *
 * Written or modified by:
 *    La Monte H.P. Yarroll <piggy@acm.org>
 *    Karl Knutson          <karl@athena.chicago.il.us>
 *    Jon Grimm             <jgrimm@us.ibm.com>
 *    Hui Huang     <hui.huang@nokia.com>
 *    Daisy Chang     <daisyc@us.ibm.com>
 *    Ardelle Fan     <ardelle.fan@intel.com>
 *    Sridhar Samudrala     <sri@us.ibm.com>
 */


#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt

#include <linux/skbuff.h>
#include <net/sctp/sctp.h>
#include <net/sctp/sm.h>

static const struct sctp_sm_table_entry
primitive_event_table[SCTP_NUM_PRIMITIVE_TYPES][SCTP_STATE_NUM_STATES];
static const struct sctp_sm_table_entry
other_event_table[SCTP_NUM_OTHER_TYPES][SCTP_STATE_NUM_STATES];
static const struct sctp_sm_table_entry
timeout_event_table[SCTP_NUM_TIMEOUT_TYPES][SCTP_STATE_NUM_STATES];

static const struct sctp_sm_table_entry *sctp_chunk_event_lookup(
      struct net *net,
      enum sctp_cid cid,
      enum sctp_state stateincludenet/sctp.h>


static const struct sctp_sm_table_entry bug = {
 .fn =
 .name  "ctp_sf_bug"
;

#define DO_LOOKUP(_[SCTP_NUM_PRIMITIVE_TYPES[SCTP_STATE_NUM_STATES];
({         \
 const struct sctp_sm_table_entry *rtn;    \ conststruct sctp_sm_table_entry
            \
 ._type >(max)) { \
  pr_warn("table %p possible attack: event %d exceeds max %d\n", \
  _, event_subtype_type, max) \
  rtn = &bug;      \
 }else     java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
       \
 if((event_subtype_  (max) {  java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
 rtn;        \
})

const lse    
  rtn _[.type][intstate  java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
  enumsctp_event_type ,
     enum sctp_state state,
    sctp_subtypeevent_subtype
{
 switch (event_type) {
  enumsctp_event_type event_type,
  return sctp_chunk_event_lookup(net, event_subtype.chunk, state);
 case SCTP_EVENT_T_TIMEOUT:
  return DO_LOOKUP(SCTP_EVENT_TIMEOUT_MAX, timeout,
     timeout_event_table);
 case SCTP_EVENT_T_OTHER:
  return DO_LOOKUP(SCTP_EVENT_OTHER_MAX, other,
     other_event_table
 casecase 
 ,
   primitive_event_table)java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
 default:
  /* Yikes!  We got an illegal event type.  */
  eturn &bug
 }
}

 returnDO_LOOKUPSCTP_EVENT_OTHER_MAX, other,

    other_event_table)
 /* SCTP_STATE_CLOSED */ \
 TYPE_SCTP_FUNC(sctp_sf_ootb), \
 /* SCTP_STATE_COOKIE_WAIT */ \
 TYPE_SCTP_FUNC(sctp_sf_discard_chunk), \
 /* SCTP_STATE_COOKIE_ECHOED */ \
 TYPE_SCTP_FUNC(sctp_sf_discard_chunk), \
 /* SCTP_STATE_ESTABLISHED */ \,primitive
 TYPE_SCTP_FUNCsctp_sf_eat_data_6_2 \
 /* SCTP_STATE_SHUTDOWN_PENDING */ \java.lang.StringIndexOutOfBoundsException: Range [46, 3) out of bounds for length 46
 TYPE_SCTP_FUNC(sctp_sf_eat_data_6_2), \
 /* SCTP_STATE_SHUTDOWN_SENT */ \
 /* SCTP_STATE_COOKIE_ECHOED */ \
 /* SCTP_STATE_SHUTDOWN_RECEIVED */ \
 TYPE_SCTP_FUNC(sctp_sf_eat_data_6_2,\
 /* SCTP_STATE_SHUTDOWN_ACK_SENT */ \
 TYPE_SCTP_FUNC(sctp_sf_discard_chunk), \
/* TYPE_SCTP_DATA */

#define TYPE_SCTP_INIT { \
 /* SCTP_STATE_CLOSED */ \
 TYPE_SCTP_FUNC(sctp_sf_do_5_1B_init) \
 
TYPE_SCTP_FUNC(sctp_sf_do_5_2_1_siminit), \
/* SCTP_STATE_COOKIE_ECHOED */

 TYPE_SCTP_FUNCsctp_sf_do_5_2_1_siminit,\
 /* SCTP_STATE_ESTABLISHED */ \
 TYPE_SCTP_FUNC(sctp_sf_do_5_2_2_dupinit), \
 /* SCTP_STATE_SHUTDOWN_PENDING */ \
 TYPE_SCTP_FUNC/
 /* SCTP_STATE_SHUTDOWN_SENT */ \
 TYPE_SCTP_FUNC(sctp_sf_do_5_2_2_dupinit) 
 /* SCTP_STATE_SHUTDOWN_RECEIVED */ \
  TYPE_SCTP_FUNCsctp_sf_discard_chunk) java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
 /* SCTP_STATE_SHUTDOWN_ACK_SENT */ \/* SCTP_STATE_COOKIE_WAIT */ \
TYPE_SCTP_FUNC(sctp_sf_do_5_2_1_siminit \
/* */\


/* SCTP_STATE_CLOSED */

 TYPE_SCTP_FUNCsctp_sf_do_5_2_3_initack),\
 /* SCTP_STATE_COOKIE_WAIT */ \
 TYPE_SCTP_FUNC(sctp_sf_do_5_1C_ack), \
 *S */ 
 TYPE_SCTP_FUNC
 /* SCTP_STATE_ESTABLISHED */ \
T(), 
 /* SCTP_STATE_SHUTDOWN_PENDING */ \
 TYPE_SCTP_FUNC),\
 /* SCTP_STATE_SHUTDOWN_SENT */ \
 TYPE_SCTP_FUNC
 /* SCTP_STATE_SHUTDOWN_RECEIVED */ \  {\
 () \
 /* SCTP_STATE_SHUTDOWN_ACK_SENT */ \
 TYPE_SCTP_FUNCsctp_sf_discard_chunk,\
/* TYPE_SCTP_INIT_ACK */TYPE_SCTP_FUNCsctp_sf_do_5_1C_ack) 
TYPE_SCTP_FUNC(sctp_sf_discard_chunk java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
#define   \
 /* SCTP_STATE_CLOSED */ \
 TYPE_SCTP_FUNCTYPE_SCTP_FUNC() \
 /* SCTP_STATE_COOKIE_WAIT */ \
 TYPE_SCTP_FUNC(),\
java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33

 /* SCTP_STATE_ESTABLISHED */ \
TYPE_SCTP_FUNCsctp_sf_eat_sack_6_2
 /* SCTP_STATE_SHUTDOWN_PENDING */ \
 TYPE_SCTP_FUNC(),\
 /* SCTP_STATE_SHUTDOWN_SENT */ \
 TYPE_SCTP_FUNCsctp_sf_discard_chunk,\
 /* SCTP_STATE_SHUTDOWN_RECEIVED */ \
 TYPE_SCTP_FUNCsctp_sf_eat_sack_6_2,\
java.lang.StringIndexOutOfBoundsException: Range [37, 38) out of bounds for length 37
()\


  {\
 /* SCTP_STATE_CLOSED */ \TYPE_SCTP_FUNC),\
 TYPE_SCTP_FUNC
 * \
 TYPE_SCTP_FUNC(sctp_sf_discard_chunk), \
 /* SCTP_STATE_COOKIE_ECHOED */ \
(, 
 /* SCTP_STATE_ESTABLISHED */ \sctp_sf_beat_8_3
(sctp_sf_beat_8_3
 /* SCTP_STATE_SHUTDOWN_PENDING */ \(sctp_sf_beat_8_3

 /* SCTP_STATE_SHUTDOWN_SENT */ \
 TYPE_SCTP_FUNC(sctp_sf_beat_8_3
 /* SCTP_STATE_SHUTDOWN_RECEIVED */ \
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [37, 38) out of bounds for length 37

,\


#define TYPE_SCTP_HEARTBEAT_ACK { \
 /* SCTP_STATE_CLOSED */ \(),\
 TYPE_SCTP_FUNC(sctp_sf_ootb) \
 /* SCTP_STATE_COOKIE_WAIT */ \ /* TYPE_SCTP_HEARTBEAT_ACK */
 java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
 /* SCTP_STATE_COOKIE_ECHOED */ \
 T() java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
 /* SCTP_STATE_ESTABLISHED */ \
 () java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
/
TYPE_SCTP_FUNC(sctp_sf_backbeat_8_3) java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
 /* SCTP_STATE_SHUTDOWN_SENT */ \TYPE_SCTP_FUNCsctp_sf_do_9_1_abort, java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
 TYPE_SCTP_FUNCsctp_sf_backbeat_8_3,\
 /* SCTP_STATE_SHUTDOWN_RECEIVED */ \
 TYPE_SCTP_FUNC TYPE_SCTP_FUNC()\
 /* SCTP_STATE_SHUTDOWN_ACK_SENT */ \TYPE_SCTP_FUNC(sctp_sf_discard_chunk), \),\
TYPE_SCTP_FUNC(sctp_sf_discard_chunk), \
} /* TYPE_SCTP_HEARTBEAT_ACK */


#define TYPE_SCTP_ABORT { \
 /* SCTP_STATE_CLOSED */ \
 (sctp_sf_pdiscard,  \
 /* SCTP_STATE_COOKIE_WAIT */ \TYPE_SCTP_FUNCsctp_sf_do_9_2_shutdown) java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
 TYPE_SCTP_FUNCT() java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
 /* SCTP_STATE_COOKIE_ECHOED */ \
 TYPE_SCTP_FUNCsctp_sf_cookie_echoed_abort) \
 /* SCTP_STATE_ESTABLISHED */ \
 }java.lang.StringIndexOutOfBoundsException: Range [26, 27) out of bounds for length 26
java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
 TYPE_SCTP_FUNC(sctp_sf_shutdown_pending_abort), \
 /* SCTP_STATE_SHUTDOWN_SENT */ \
 TYPE_SCTP_FUNC(sctp_sf_shutdown_sent_abort), \
 /* SCTP_STATE_SHUTDOWN_RECEIVED */ \
 TYPE_SCTP_FUNC(sctp_sf_do_9_1_abort), \
 /* SCTP_STATE_SHUTDOWN_ACK_SENT */ \
 YPE_SCTP_FUNCsctp_sf_shutdown_ack_sent_abort,\
}

#define() java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
 TYPE_SCTP_FUNC
 /* SCTP_STATE_COOKIE_WAIT */ \
 (sctp_sf_discard_chunk, 
 /* SCTP_STATE_COOKIE_ECHOED */ \
 TYPE_SCTP_FUNCTYPE_SCTP_FUNC(),\
 /* SCTP_STATE_ESTABLISHED */ \
 TYPE_SCTP_FUNC(),\
 /* SCTP_STATE_SHUTDOWN_PENDING */ \
 TYPE_SCTP_FUNC(sctp_sf_do_9_2_shutdown), \
 /* SCTP_STATE_SHUTDOWN_SENT */ \
 () \
 /* SCTP_STATE_SHUTDOWN_RECEIVED */ \
 TYPE_SCTP_FUNCsctp_sf_do_9_2_shut_ctsn \
 /* SCTP_STATE_SHUTDOWN_ACK_SENT */ \
 TYPE_SCTP_FUNC
/* TYPE_SCTP_SHUTDOWN */TYPE_SCTP_FUNCsctp_sf_operr_notify) java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40

#define TYPE_SCTP_SHUTDOWN_ACK { \
 /* SCTP_STATE_CLOSED */ \
 TYPE_SCTP_FUNC(sctp_sf_ootb TYPE_SCTP_FUNC(sctp_sf_operr_notify /* SCTP_STATE_SHUTDOWN_ACK_SENT */ \TYPE_SCTP_FUNCsctp_sf_discard_chunk,
 /* SCTP_STATE_COOKIE_WAIT */ \
 /* SCTP_STATE_ESTABLISHED */ \
 sctp_sf_do_5_2_4_dupcook, 
 /
 /* SCTP_STATE_ESTABLISHED */ \
 (sctp_sf_violation,\
 /* SCTP_STATE_SHUTDOWN_PENDING */ \
 TYPE_SCTP_FUNC(sctp_sf_violation), \
 /* SCTP_STATE_SHUTDOWN_SENT */ \
 TYPE_SCTP_FUNC(sctp_sf_do_9_2_final)(sctp_sf_do_5_2_4_dupcook,
/  *\
 (sctp_sf_violation,\

 TYPE_SCTP_FUNC(sctp_sf_do_9_2_final TYPE_SCTP_FUNCsctp_sf_do_5_2_4_dupcook,\
/* TYPE_SCTP_SHUTDOWN_ACK */

#defineTYPE_SCTP_ERROR 

 TYPE_SCTP_FUNC(sctp_sf_ootb YPE_SCTP_FUNCsctp_sf_discard_chunk) java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
  SCTP_STATE_COOKIE_WAIT/ 
 TYPE_SCTP_FUNC(sctp_sf_discard_chunk
 /* SCTP_STATE_COOKIE_ECHOED */ \
 (sctp_sf_cookie_echoed_err,
 /* SCTP_STATE_ESTABLISHED */ \
 TYPE_SCTP_FUNC(sctp_sf_discard_chunk), \
 /* SCTP_STATE_SHUTDOWN_PENDING */ \
 TYPE_SCTP_FUNC /* SCTP_STATE_SHUTDOWN_RECEIVED */ \
 /* SCTP_STATE_SHUTDOWN_SENT */ \
 TYPE_SCTP_FUNC(sctp_sf_discard_chunk TYPE_SCTP_FUNCsctp_sf_discard_chunk,  java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
 /* SCTP_STATE_SHUTDOWN_RECEIVED */ \
 TYPE_SCTP_FUNC(sctp_sf_operr_notify), \
 /* SCTP_STATE_SHUTDOWN_ACK_SENT */ \
 TYPE_SCTP_FUNC(sctp_sf_discard_chunk), \
/* TYPE_SCTP_ERROR */

#definePE_SCTP_COOKIE_ACK */
 /* SCTP_STATE_CLOSED */ \
 TYPE_SCTP_FUNC(sctp_sf_do_5_1D_ce), \
  /* SCTP_STATE_CLOSED */ \
 TYPE_SCTP_FUNC(sctp_sf_do_5_2_4_dupcook), \
 /* SCTP_STATE_COOKIE_ECHOED */ \
 TYPE_SCTP_FUNC(sctp_sf_do_5_2_4_dupcook), \
 /* SCTP_STATE_ESTABLISHED */ \
 TYPE_SCTP_FUNC(sctp_sf_do_5_2_4_dupcook), \
 
TYPE_SCTP_FUNC(sctp_sf_do_5_2_4_dupcook), \
/* SCTP_STATE_SHUTDOWN_SENT */

 TYPE_SCTP_FUNCsctp_sf_do_5_2_4_dupcook,
 /* SCTP_STATE_SHUTDOWN_RECEIVED */ \
 TYPE_SCTP_FUNC(sctp_sf_do_5_2_4_dupcook), \
 /* SCTP_STATE_SHUTDOWN_ACK_SENT */ \
 TYPE_SCTP_FUNCsctp_sf_do_5_2_4_dupcook,\
 * TYPE_SCTP_COOKIE_ECHO */

#define TYPE_SCTP_COOKIE_ACK { \
 /* SCTP_STATE_CLOSED */ \
(sctp_sf_discard_chunk,  \
 /* SCTP_STATE_COOKIE_WAIT */ \
 TYPE_SCTP_FUNC(sctp_sf_discard_chunk), \
 /* SCTP_STATE_COOKIE_ECHOED */ \
 TYPE_SCTP_FUNC(sctp_sf_do_5_1E_ca) TYPE_SCTP_FUNCsctp_sf_do_ecne,\
 /* SCTP_STATE_ESTABLISHED */ \
 TYPE_SCTP_FUNC(sctp_sf_discard_chunk), \
 /* SCTP_STATE_SHUTDOWN_PENDING */ \
 TYPE_SCTP_FUNC(sctp_sf_discard_chunk), \
  */ \
 /java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
 /* SCTP_STATE_SHUTDOWN_RECEIVED */ \
 TYPE_SCTP_FUNCsctp_sf_discard_chunkTYPE_SCTP_ECN_CWR { java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
 /* SCTP_STATE_SHUTDOWN_ACK_SENT */ \ (), 
 TYPE_SCTP_FUNC( TYPE_SCTP_FUNC(sctp_sf_discard_chunk 
/* TYPE_SCTP_COOKIE_ACK */(sctp_sf_do_ecn_cwr,java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38

#efine   java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
 TYPE_SCTP_FUNC(sctp_sf_discard_chunk /* TYPE_SCTP_ECN_CWR */
 /* SCTP_STATE_COOKIE_WAIT */ \
 TYPE_SCTP_FUNC(, java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
 /* SCTP_STATE_COOKIE_ECHOED */ \java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
 TYPE_SCTP_FUNCTYPE_SCTP_FUNC() java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
 /* SCTP_STATE_ESTABLISHED */ \
 TYPE_SCTP_FUNC(TYPE_SCTP_FUNC(sctp_sf_discard_chu)\
 /* SCTP_STATE_SHUTDOWN_PENDING */ \
 TYPE_SCTP_FUNC(sctp_sf_do_ecne /* SCTP_STATE_SHUTDOWN_ACK_SENT */ \
 /* SCTP_STATE_SHUTDOWN_SENT */ \
 TYPE_SCTP_FUNC(sctp_sf_do_ecne), \
 /* SCTP_STATE_SHUTDOWN_RECEIVED */ \
 TYPE_SCTP_FUNC TYPE_SCTP_FUNC() 
 /* SCTP_STATE_SHUTDOWN_ACK_SENT */ \
 TYPE_SCTP_FUNC(sctp_sf_discard_chunk),
/* TYPE_SCTP_ECN_ECNE */

#define TYPE_SCTP_ECN_CWR { \
 /* SCTP_STATE_CLOSED */ \
 TYPE_SCTP_FUNC(sctp_sf_discard_chunk), \
 * For basejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 TYPE_SCTP_FUNC(chunk_event_table[][SCTP_STATE_NUM_STATES ={
 /* SCTP_STATE_COOKIE_ECHOED */ \
 TYPE_SCTP_FUNC(sctp_sf_discard_chunk), \
 /* SCTP_STATE_ESTABLISHED */ \ TYPE_SCTP_DATA
 TYPE_SCTP_FUNCTYPE_SCTP_INIT_ACK
 /* SCTP_STATE_SHUTDOWN_PENDING */ \
TYPE_SCTP_HEARTBEAT_ACK
HUTDOWN_SENT * 
 TYPE_SCTP_FUNCsctp_sf_do_ecn_cwr,
  YPE_SCTP_SHUTDOWN_ACK,
 TYPE_SCTP_FUNC,
 /* SCTP_STATE_SHUTDOWN_ACK_SENT */ \
 TYPE_SCTP_FUNC(sctp_sf_discard_chunk) ,
}/java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25

#define TYPE_SCTP_SHUTDOWN_COMPLETE  \
 /* SCTP_STATE_CLOSED */ \
 TYPE_SCTP_FUNC(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
  TYPE_SCTP_FUNC(sctp_sf_discard_chunk), \(sctp_sf_discard_chunk) java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
TYPE_SCTP_FUNC(sctp_sf_discard_chunk), \
/* SCTP_STATE_COOKIE_ECHOED */

 TYPE_SCTP_FUNC(sctp_sf_discard_chunk), \
 /* SCTP_STATE_ESTABLISHED */ \TYPE_SCTP_FUNC) 
 TYPE_SCTP_FUNC(sctp_sf_do_asconf 
 /* SCTP_STATE_SHUTDOWN_PENDING */ \
 /* SCTP_STATE_SHUTDOWN_SENT */ \
 /* SCTP_STATE_SHUTDOWN_SENT */ \
 TYPE_SCTP_FUNC(TYPE_SCTP_FUNC(sctp_sf_do_asconf
 
 TYPE_SCTP_FUNC(sctp_sf_discard_chunk), \
 /* SCTP_STATE_SHUTDOWN_ACK_SENT */ \
  {
} () 

/* The primary index for this table is the chunk type.
 * The secondary index for this table is the state.
 *
 * For base protocol (RFC 2960).
 */

static const struct sctp_sm_table_entry
chunk_event_table[SCTP_NUM_BASE_CHUNK_TYPES][SCTP_STATE_NUM_STATES] = {
 TYPE_SCTP_DATA,
 TYPE_SCTP_FUNCsctp_sf_do_asconf_ack, \
 TYPE_SCTP_INIT_ACK/* SCTP_STATE_SHUTDOWN_RECEIVED */ \
 TYPE_SCTP_SACK,
 TYPE_SCTP_HEARTBEAT,
TYPE_SCTP_HEARTBEAT_ACK,
TYPE_SCTP_ABORT,
TYPE_SCTP_SHUTDOWN,
TYPE_SCTP_SHUTDOWN_ACK,
TYPE_SCTP_ERROR,
TYPE_SCTP_COOKIE_ECHO,
TYPE_SCTP_COOKIE_ACK,
TYPE_SCTP_ECN_ECNE,
TYPE_SCTP_ECN_CWR,
TYPE_SCTP_SHUTDOWN_COMPLETE,
}; /* state_fn_t chunk_event_table[][] */


#defineTYPE_SCTP_ASCONF\
 /* SCTP_STATE_CLOSED */ \
 TYPE_SCTP_FUNC(sctp_sf_discard_chunk), \
 /* SCTP_STATE_COOKIE_WAIT */ \
 TYPE_SCTP_FUNC
 
TYPE_SCTP_FUNC(sctp_sf_discard_chunk), \
/* SCTP_STATE_ESTABLISHED */

 TYPE_SCTP_FUNC
 /* SCTP_STATE_SHUTDOWN_PENDING */ \

 /* SCTP_STATE_SHUTDOWN_SENT */ \
 () java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
 /* SCTP_STATE_SHUTDOWN_RECEIVED */ \
 (sctp_sf_do_asconf) java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
 /* SCTP_STATE_SHUTDOWN_ACK_SENT */ \
 TYPE_SCTP_FUNCTYPE_SCTP_FUNCsctp_sf_eat_fwd_tsn) java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
}/

#define TYPE_SCTP_ASCONF_ACK java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
 /* SCTP_STATE_CLOSED */ \
 TYPE_SCTP_FUNCsctp_sf_discard_chunk) java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
 /* SCTP_STATE_COOKIE_WAIT */ \
 TYPE_SCTP_FUNC( * The secondary index for
 /* SCTP_STATE_COOKIE_ECHOED */ \
 TYPE_SCTP_FUNCprsctp_chunk_event_tableSCTP_NUM_PRSCTP_CHUNK_TYPESSCTP_STATE_NUM_STATES]  java.lang.StringIndexOutOfBoundsException: Index 80 out of bounds for length 80
 /* SCTP_STATE_ESTABLISHED */ \
TYPE_SCTP_FUNCsctp_sf_do_asconf_ack), 
 /* SCTP_STATE_SHUTDOWN_PENDING */ \
 TYPE_SCTP_FUNC(TYPE_SCTP_FUNC(sctp_sf_discard_chunk\
 \
 TYPE_SCTP_FUNC(sctp_sf_do_asconf_ack), \
 /* SCTP_STATE_SHUTDOWN_RECEIVED */ \
java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
 /* SCTP_STATE_SHUTDOWN_ACK_SENT */ \
  () 
java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36

/* The primary index for this table is the chunk type.
 * The secondary index for this table is the state.
 */

static const struct sctp_sm_table_entry
addip_chunk_event_table[SCTP_NUM_ADDIP_CHUNK_TYPES][ 
TYPE_SCTP_ASCONF,
TYPE_SCTP_ASCONF_ACK,
}; /*state_fn_t addip_chunk_event_table[][] */


#define TYPE_SCTP_FWD_TSN { \
 /* SCTP_STATE_CLOSED */ \
 TYPE_SCTP_FUNC(sctp_sf_ootb), \table is the
 /* SCTP_STATE_COOKIE_WAIT */ \
 TYPE_SCTP_FUNC[SCTP_NUM_RECONF_CHUNK_TYPES[SCTP_STATE_NUM_STATES]= java.lang.StringIndexOutOfBoundsException: Index 80 out of bounds for length 80
 /* SCTP_STATE_COOKIE_ECHOED */ \
 TYPE_SCTP_FUNC(sctp_sf_discard_chunk)java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
 /* SCTP_STATE_ESTABLISHED */ \
 TYPE_SCTP_FUNC(/
/* SCTP_STATE_SHUTDOWN_PENDING */

 TYPE_SCTP_FUNCsctp_sf_eat_fwd_tsn) \
 /* SCTP_STATE_SHUTDOWN_SENT */ \
 TYPE_SCTP_FUNC(sctp_sf_eat_fwd_tsn_fast
 /* SCTP_STATE_SHUTDOWN_RECEIVED */ \
 TYPE_SCTP_FUNC(/* SCTP_STATE_SHUTDOWN_SENT */ \
 /* SCTP_STATE_SHUTDOWN_ACK_SENT */ \
 TYPE_SCTP_FUNC(sctp_sf_discard_chunk TYPE_SCTP_FUNCsctp_sf_eat_auth,\


/* The primary index for this table is the chunk type.
 * The secondary index for this table is the state.
 */

static const structsctp_sm_table_entry
prsctp_chunk_event_table * The secondary indexjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 TYPE_SCTP_FWD_TSN,
}; 

#define TYPE_SCTP_RECONF { \
/* SCTP_STATE_CLOSED */

 TYPE_SCTP_FUNC
 /* SCTP_STATE_COOKIE_WAIT */ \
 TYPE_SCTP_FUNC(sctp_sf_discard_chunk), \
 /* SCTP_STATE_COOKIE_ECHOED */ \
 TYPE_SCTP_FUNC(sctp_sf_discard_chunk), \
 /* SCTP_STATE_ESTABLISHED */ \
 TYPE_SCTP_FUNC(sctp_sf_do_reconfTYPE_SCTP_FUNCsctp_sf_discard_chunk
 /* SCTP_STATE_SHUTDOWN_PENDING */ \
(sctp_sf_do_reconf) 
 /* SCTP_STATE_SHUTDOWN_SENT */ \
 TYPE_SCTP_FUNC(sctp_sf_discard_chunk) /* SCTP_STATE_ESTABLISHED */
 /* SCTP_STATE_SHUTDOWN_RECEIVED */ \
 TYPE_SCTP_FUNC /* SCTP_STATE_SHUTDOWN_PENDING */
 /* SCTP_STATE_SHUTDOWN_ACK_SENT */ \
TYPE_SCTP_FUNC(), \
java.lang.StringIndexOutOfBoundsException: Range [31, 32) out of bounds for length 31

/* The primary index for this table is the chunk type.
 * The secondary index for this table is the state.
 */

static const struct sctp_sm_table_entry
[SCTP_NUM_RECONF_CHUNK_TYPES]SCTP_STATE_NUM_STATES] = 
 TYPE_SCTP_RECONF,
}*SCTP_STATE_CLOSED/

#define TYPE_SCTP_AUTH { \
 /* SCTP_STATE_CLOSED */ \TYPE_SCTP_FUNC()
 TYPE_SCTP_FUNCTYPE_SCTP_FUNC()
 /* SCTP_STATE_COOKIE_WAIT */ \
 java.lang.StringIndexOutOfBoundsException: Range [35, 15) out of bounds for length 35
 /* SCTP_STATE_COOKIE_ECHOED */ \
 TYPE_SCTP_FUNC(sctp_sf_eat_auth), 
 /* SCTP_STATE_ESTABLISHED */ \) \
 TYPE_SCTP_FUNC(sctp_sf_eat_auth), \
 /* SCTP_STATE_SHUTDOWN_PENDING */ \
 TYPE_SCTP_FUNC(sctp_sf_eat_auth), \
 /* SCTP_STATE_SHUTDOWN_SENT */ \
 TYPE_SCTP_FUNC(sctp_sf_eat_auth), \
 /* SCTP_STATE_SHUTDOWN_RECEIVED */ \
 TYPE_SCTP_FUNC(sctp_sf_eat_auth), \
 /* SCTP_STATE_SHUTDOWN_ACK_SENT */ \
 /* SCTP_STATE_COOKIE_ECHOED */ \
/* TYPE_SCTP_AUTH */

/* The primary index for this table is the chunk type.
 * The secondary index for this table is the state.
 */

static
auth_chunk_event_table[SCTP_NUM_AUTH_CHUNK_TYPES TYPE_SCTP_FUNCsctp_sf_not_impl) 

}; /*state_fn_t auth_chunk_event_table[][] */() java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36

static const struct sctp_sm_table_entry
ad_chunk_event_tableSCTP_STATE_NUM_STATES] java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
 /* SCTP_STATE_CLOSED */
 TYPE_SCTP_FUNCsctp_sf_discard_chunk
 /* SCTP_STATE_COOKIE_WAIT */
 TYPE_SCTP_FUNC(TYPE_SCTP_FUNC(sctp_sf_error_closed
/
 TYPE_SCTP_FUNC(sctp_sf_discard_chunk,

 TYPE_SCTP_FUNC(sctp_sf_discard_chunk YPE_SCTP_FUNCsctp_sf_cookie_echoed_prm_shutdown
 /* SCTP_STATE_SHUTDOWN_PENDING */
 TYPE_SCTP_FUNC(),
 /* SCTP_STATE_SHUTDOWN_SENT */
 TYPE_SCTP_FUNC(sctp_sf_discard_chunk),
 /* SCTP_STATE_SHUTDOWN_RECEIVED */
 TYPE_SCTP_FUNC(sctp_sf_discard_chunk),
 /* SCTP_STATE_SHUTDOWN_ACK_SENT */
hunk,
}; /* chunk pad */

static const struct sctp_sm_table_entry(),\
chunk_event_table_unknown[]=
 /* SCTP_STATE_CLOSED */
TYPE_SCTP_FUNCsctp_sf_ootb,
 /* SCTP_STATE_COOKIE_WAIT */
 TYPE_SCTP_FUNC() java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
 /* SCTP_STATE_COOKIE_ECHOED */
 (sctp_sf_unk_chunk)
 /* SCTP_STATE_ESTABLISHED */
 (sctp_sf_unk_chunk,
 /* SCTP_STATE_SHUTDOWN_PENDING */  *
 TYPE_SCTP_FUNCTYPE_SCTP_FUNCsctp_sf_cookie_wait_prm_abort java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
  /* SCTP_STATE_ESTABLISHED */ \
 TYPE_SCTP_FUNC(sctp_sf_unk_chunk),
 /* SCTP_STATE_SHUTDOWN_RECEIVED */
 java.lang.StringIndexOutOfBoundsException: Range [34, 15) out of bounds for length 35
 /* SCTP_STATE_SHUTDOWN_ACK_SENT */
 TYPE_SCTP_FUNC(sctp_sf_unk_chunk),
}; /* chunk unknown */


#define TYPE_SCTP_PRIMITIVE_ASSOCIATE  { \
CLOSED/ java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
TYPE_SCTP_FUNCsctp_sf_do_prm_asoc),\
 /* SCTP_STATE_COOKIE_WAIT */ \ java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
 TYPE_SCTP_FUNC( TYPE_SCTP_FUNC(sctp_sf_error_shutdown,\
 /* SCTP_STATE_COOKIE_ECHOED */ \
 TYPE_SCTP_FUNC(sctp_sf_not_impl), \
 /* SCTP_STATE_ESTABLISHED */ \
 TYPE_SCTP_FUNC(java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 0

TYPE_SCTP_FUNC(sctp_sf_not_impl), \
/* SCTP_STATE_SHUTDOWN_SENT */

java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
 /* SCTP_STATE_SHUTDOWN_RECEIVED */ \
,
 /* SCTP_STATE_SHUTDOWN_ACK_SENT */ \TYPE_SCTP_FUNC)          
 TYPE_SCTP_FUNC(sctp_sf_not_impl), \
/* TYPE_SCTP_PRIMITIVE_ASSOCIATE */

#define TYPE_SCTP_PRIMITIVE_SHUTDOWN  { \
 /* SCTP_STATE_CLOSED */ \
 TYPE_SCTP_FUNC(sctp_sf_error_closed TYPE_SCTP_PRIMITIVE_ASCONF{\
 
TYPE_SCTP_FUNC(sctp_sf_cookie_wait_prm_shutdown), \
/* SCTP_STATE_COOKIE_ECHOED */

 TYPE_SCTP_FUNCsctp_sf_cookie_echoed_prm_shutdown\
 /* SCTP_STATE_ESTABLISHED */ \
 TYPE_SCTP_FUNC((sctp_sf_error_closed, 
/*SCTP_STATE_SHUTDOWN_PENDING \
 () java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
 /* SCTP_STATE_SHUTDOWN_SENT */ \
TYPE_SCTP_FUNC(sctp_sf_ignore_primitive), \
/* SCTP_STATE_SHUTDOWN_RECEIVED */

 TYPE_SCTP_FUNC(TYPE_SCTP_FUNC(sctp_sf_do_prm_asconf\
 /* SCTP_STATE_SHUTDOWN_ACK_SENT */ \
 TYPE_SCTP_FUNC(sctp_sf_ignore_primitive), \
/* TYPE_SCTP_PRIMITIVE_SHUTDOWN */

#define
 /* SCTP_STATE_CLOSED */ \
 TYPE_SCTP_FUNCsctp_sf_error_closed) \
 /* SCTP_STATE_COOKIE_WAIT */ \
 TYPE_SCTP_FUNC(sctp_sf_cookie_wait_prm_abort), \
 /* SCTP_STATE_COOKIE_ECHOED */ \
 TYPE_SCTP_FUNC(sctp_sf_cookie_echoed_prm_abort TYPE_SCTP_FUNC) \
 /* SCTP_STATE_ESTABLISHED */ \
 TYPE_SCTP_FUNC() \
 */
 TYPE_SCTP_FUNC(sctp_sf_shutdown_pending_prm_abort
 /* SCTP_STATE_SHUTDOWN_SENT */ \
 TYPE_SCTP_FUNC(sctp_sf_shutdown_sent_prm_abort), \
 /* SCTP_STATE_SHUTDOWN_RECEIVED */ \
 TYPE_SCTP_FUNCsctp_sf_do_9_1_prm_abort,\
 /* SCTP_STATE_SHUTDOWN_ACK_SENT */ \
 TYPE_SCTP_FUNC(sctp_sf_shutdown_ack_sent_prm_abort),
} /* TYPE_SCTP_PRIMITIVE_ABORT */


#define TYPE_SCTP_PRIMITIVE_SEND  { \
 /* SCTP_STATE_CLOSED */ \
 TYPE_SCTP_FUNC TYPE_SCTP_FUNC(sctp_sf_error_shutdown), \
 /* SCTP_STATE_COOKIE_WAIT */ \
 TYPE_SCTP_FUNC() \
 /* SCTP_STATE_COOKIE_ECHOED */ \
 TYPE_SCTP_FUNC( * The secondary index for this table is the state.
 /* SCTP_STATE_ESTABLISHED */ \
 TYPE_SCTP_FUNC(sctp_sf_do_prm_send), [SCTP_NUM_PRIMITIVE_TYPES]SCTP_STATE_NUM_STATES  {
 /* SCTP_STATE_SHUTDOWN_PENDING */ \
 () \
 /* SCTP_STATE_SHUTDOWN_SENT */ \
 TYPE_SCTP_FUNC(sctp_sf_error_shutdown), \
 /* SCTP_STATE_SHUTDOWN_RECEIVED */ \
 TYPE_SCTP_FUNC(sctp_sf_error_shutdown,
 /* SCTP_STATE_SHUTDOWN_ACK_SENT */ \,
 TYPE_SCTP_FUNC(sctp_sf_error_shutdown), \
}D */

#definejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 /* SCTP_STATE_CLOSED */ \
 (),\
 /* SCTP_STATE_COOKIE_WAIT */ \
 TYPE_SCTP_FUNCTYPE_SCTP_FUNCsctp_sf_ignore_other,\
 /* SCTP_STATE_COOKIE_ECHOED */ \
 TYPE_SCTP_FUNC/
 /* SCTP_STATE_ESTABLISHED */ \
 TYPE_SCTP_FUNC(sctp_sf_do_prm_requestheartbeat),
/* SCTP_STATE_SHUTDOWN_PENDING */

 (sctp_sf_do_prm_requestheartbeat          \
 /* SCTP_STATE_SHUTDOWN_SENT */ \
 TYPE_SCTP_FUNC(sctp_sf_do_prm_requestheartbeat),          \
 /* SCTP_STATE_SHUTDOWN_RECEIVED */ \
 TYPE_SCTP_FUNC(sctp_sf_do_prm_requestheartbeat),          \
 /* SCTP_STATE_SHUTDOWN_ACK_SENT */ \
 TYPE_SCTP_FUNC(sctp_sf_do_prm_requestheartbeat),          \
/* TYPE_SCTP_PRIMITIVE_REQUESTHEARTBEAT */

#define TYPE_SCTP_PRIMITIVE_ASCONF { \
 /* SCTP_STATE_CLOSED */ \
 TYPE_SCTP_FUNC(sctp_sf_error_closed), \
 /* SCTP_STATE_COOKIE_WAIT */ \
 TYPE_SCTP_FUNC(sctp_sf_error_closed), \
 /* SCTP_STATE_COOKIE_ECHOED */ \
 TYPE_SCTP_FUNC( TYPE_SCTP_FUNC(sctp_sf_do_9_2_start_shutdown)\
 /* SCTP_STATE_ESTABLISHED */ \
 TYPE_SCTP_FUNC(sctp_sf_do_prm_asconf), /* SCTP_STATE_SHUTDOWN_SENT */ \
 /* SCTP_STATE_SHUTDOWN_PENDING */ \
 TYPE_SCTP_FUNC(sctp_sf_do_prm_asconf), \
 /* SCTP_STATE_SHUTDOWN_SENT */ \
 TYPE_SCTP_FUNC(sctp_sf_do_prm_asconf), \
 /* SCTP_STATE_SHUTDOWN_RECEIVED */ \
 TYPE_SCTP_FUNC(sctp_sf_do_prm_asconf), \
 /* SCTP_STATE_SHUTDOWN_ACK_SENT */ \
 TYPE_SCTP_FUNCsctp_sf_error_shutdown,
/* TYPE_SCTP_PRIMITIVE_ASCONF */

#define TYPE_SCTP_PRIMITIVE_RECONF {java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 31
 /* SCTP_STATE_CLOSED */ \
 TYPE_SCTP_FUNC(sctp_sf_error_closed), \
 /* SCTP_STATE_COOKIE_WAIT */ \
 TYPE_SCTP_FUNC(sctp_sf_error_closed, \
 /* SCTP_STATE_COOKIE_ECHOED */ \
 TYPE_SCTP_FUNC),\
 /* SCTP_STATE_ESTABLISHED */ \
 TYPE_SCTP_FUNC(sctp_sf_do_prm_reconf), \
 /* SCTP_STATE_SHUTDOWN_PENDING */ \
 TYPE_SCTP_FUNCsctp_sf_do_prm_reconf) 
 /* SCTP_STATE_SHUTDOWN_SENT */ \
 TYPE_SCTP_FUNC(sctp_sf_do_prm_reconf), \
 /* SCTP_STATE_SHUTDOWN_RECEIVED */ \
 TYPE_SCTP_FUNCjava.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
 /* SCTP_STATE_SHUTDOWN_ACK_SENT */ \
 TYPE_SCTP_FUNCTYPE_SCTP_OTHER_NO_PENDING_TSN,
}/* *

/* The primary index for this table is the primitive type.
 * The secondary index for this table is the state.
 */

staticconststructsctp_sm_table_entry
[][SCTP_STATE_NUM_STATES ={
 TYPE_SCTP_PRIMITIVE_ASSOCIATE,
 TYPE_SCTP_PRIMITIVE_SHUTDOWN,
 TYPE_SCTP_PRIMITIVE_ABORT,
 TYPE_SCTP_PRIMITIVE_SEND,
 TYPE_SCTP_PRIMITIVE_REQUESTHEARTBEAT,
 
TYPE_SCTP_PRIMITIVE_RECONF,
};

#define TYPE_SCTP_OTHER_NO_PENDING_TSN  { \
/* SCTP_STATE_CLOSED */

 TYPE_SCTP_FUNC(sctp_sf_bug 
 * SCTP_STATE_COOKIE_WAIT */ \
 TYPE_SCTP_FUNC(sctp_sf_ignore_other), \
 /* SCTP_STATE_COOKIE_ECHOED */ \
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 /* SCTP_STATE_ESTABLISHED */ \
 TYPE_SCTP_FUNCsctp_sf_do_no_pending_tsn,\
 /* SCTP_STATE_SHUTDOWN_PENDING */ \
9_2_start_shutdown,\
 /* SCTP_STATE_SHUTDOWN_SENT */ \
 TYPE_SCTP_FUNC(sctp_sf_ignore_other) /* SCTP_STATE_COOKIE_ECHOED */ \
 /* SCTP_STATE_SHUTDOWN_RECEIVED */ \
 TYPE_SCTP_FUNC) \
 /* SCTP_STATE_SHUTDOWN_ACK_SENT */ \
 YPE_SCTP_FUNCsctp_sf_ignore_other,\
}

#definejava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
 /* SCTP_STATE_CLOSED */ \
 TYPE_SCTP_FUNC(sctp_sf_ignore_other), \*SCTP_STATE_SHUTDOWN_RECEIVED/\
 /* SCTP_STATE_COOKIE_WAIT */ \
TYPE_SCTP_FUNCsctp_sf_cookie_wait_icmp_abort\
 /* SCTP_STATE_COOKIE_ECHOED */ \
 TYPE_SCTP_FUNCsctp_sf_ignore_other java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
 /* SCTP_STATE_ESTABLISHED */ \
 TYPE_SCTP_FUNC(sctp_sf_ignore_other), \
 /* SCTP_STATE_SHUTDOWN_PENDING */ \() java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
TYPE_SCTP_FUNCsctp_sf_ignore_other,
 /* SCTP_STATE_SHUTDOWN_SENT */ \
 (sctp_sf_ignore_other, java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
 /* SCTP_STATE_SHUTDOWN_RECEIVED */ \
 YPE_SCTP_FUNCsctp_sf_ignore_other,\
 /* SCTP_STATE_SHUTDOWN_ACK_SENT */ \java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
 TYPE_SCTP_FUNC(sctp_sf_ignore_other), \
}

static const struct sctp_sm_table_entry
other_event_table[SCTP_NUM_OTHER_TYPES][SCTP_STATE_NUM_STATESTYPE_SCTP_FUNCsctp_sf_timer_ignore,\
 TYPE_SCTP_OTHER_NO_PENDING_TSN,TYPE_SCTP_FUNCsctp_sf_timer_ignore
 java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
};

#definejava.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
 TYPE_SCTP_FUNC,\
 TYPE_SCTP_FUNC,java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
 /* SCTP_STATE_COOKIE_WAIT */ \
 TYPE_SCTP_FUNC(sctp_sf_bug), \
 /
 TYPE_SCTP_FUNC(sctp_sf_bug),TYPE_SCTP_FUNC(sctp_sf_timer_ignore) java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
 /* SCTP_STATE_ESTABLISHED */ \
TYPE_SCTP_FUNCsctp_sf_bug,\
 /* SCTP_STATE_SHUTDOWN_PENDING */ \
  TYPE_SCTP_EVENT_TIMEOUT_T3_RTX{ java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
 /* SCTP_STATE_SHUTDOWN_SENT */ \
 TYPE_SCTP_FUNC(sctp_sf_bug), \
 /* SCTP_STATE_SHUTDOWN_RECEIVED */ \
 TYPE_SCTP_FUNC(), \
 /* SCTP_STATE_SHUTDOWN_ACK_SENT */ \
 TYPE_SCTP_FUNC(sctp_sf_bug), \
}

#define java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 31
 /* SCTP_STATE_CLOSED */ \
 TYPE_SCTP_FUNC(sctp_sf_timer_ignore) (), 
 /* SCTP_STATE_COOKIE_WAIT */ \
 TYPE_SCTP_FUNC(sctp_sf_bug), \
 /* SCTP_STATE_COOKIE_ECHOED */ \
java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
 /* SCTP_STATE_ESTABLISHED */ \
 TYPE_SCTP_FUNC
 /* SCTP_STATE_SHUTDOWN_PENDING */ \  
 TYPE_SCTP_FUNC(sctp_sf_timer_ignore), TYPE_SCTP_FUNCsctp_sf_timer_ignore,
 /* SCTP_STATE_SHUTDOWN_SENT */ \
 TYPE_SCTP_FUNC(sctp_sf_timer_ignore), \
 /* SCTP_STATE_SHUTDOWN_RECEIVED */ \
 TYPE_SCTP_FUNC(sctp_sf_timer_ignore), \
 /* SCTP_STATE_SHUTDOWN_ACK_SENT */ \
 TYPE_SCTP_FUNCsctp_sf_timer_ignore 
}

#define TYPE_SCTP_EVENT_TIMEOUT_T1_INIT { \
 /* SCTP_STATE_CLOSED */ \()java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
 TYPE_SCTP_FUNC(sctp_sf_timer_ignore), \
 /* SCTP_STATE_COOKIE_WAIT */ \
 TYPE_SCTP_FUNC) java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
 /* SCTP_STATE_COOKIE_ECHOED */ \
 TYPE_SCTP_FUNC(sctp_sf_timer_ignore), \
 /* SCTP_STATE_ESTABLISHED */ \
 TYPE_SCTP_FUNC(sctp_sf_timer_ignore
/* SCTP_STATE_SHUTDOWN_PENDING */

 TYPE_SCTP_FUNC(sctp_sf_timer_ignore), \
 /* SCTP_STATE_SHUTDOWN_SENT */ \
 TYPE_SCTP_FUNC(sctp_sf_timer_ignore), \
 /* SCTP_STATE_SHUTDOWN_RECEIVED */ \
 TYPE_SCTP_FUNC(
 /* SCTP_STATE_SHUTDOWN_ACK_SENT */ \
 TYPE_SCTP_FUNC
}

#define TYPE_SCTP_EVENT_TIMEOUT_T2_SHUTDOWN { \
 /* SCTP_STATE_CLOSED */ \
 TYPE_SCTP_FUNC(sctp_sf_timer_ignore,\
 /* SCTP_STATE_COOKIE_WAIT */ \
 TYPE_SCTP_FUNCsctp_sf_timer_ignore), java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
 /* SCTP_STATE_COOKIE_ECHOED */ \
 TYPE_SCTP_FUNCsctp_sf_timer_ignore) \
 /* SCTP_STATE_ESTABLISHED */ \
 TYPE_SCTP_FUNC(sctp_sf_timer_ignore), \
 /* SCTP_STATE_SHUTDOWN_PENDING */ \
 TYPE_SCTP_FUNC(sctp_sf_timer_ignore), \
 /* SCTP_STATE_SHUTDOWN_SENT */ \
 TYPE_SCTP_FUNC(sctp_sf_t2_timer_expire), \
 /* SCTP_STATE_SHUTDOWN_RECEIVED */ \
 TYPE_SCTP_FUNC(sctp_sf_timer_ignore), \
 /* SCTP_STATE_SHUTDOWN_ACK_SENT */ \
 TYPE_SCTP_FUNC(sctp_sf_t2_timer_expire), \
}

#define TYPE_SCTP_EVENT_TIMEOUT_T3_RTX { \
 /* SCTP_STATE_CLOSED */ \
 TYPE_SCTP_FUNC(sctp_sf_timer_ignore), \
 /* SCTP_STATE_COOKIE_WAIT */ \
 TYPE_SCTP_FUNC(sctp_sf_timer_ignore), \
 /* SCTP_STATE_COOKIE_ECHOED */ \
 TYPE_SCTP_FUNC(sctp_sf_do_6_3_3_rtx), \
 /* SCTP_STATE_ESTABLISHED */ \
 TYPE_SCTP_FUNCsctp_sf_do_6_3_3_rtx,\
java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
 TYPE_SCTP_FUNCsctp_sf_do_6_3_3_rtx),) \
 /* SCTP_STATE_SHUTDOWN_SENT */ \
 TYPE_SCTP_FUNC(sctp_sf_timer_ignore), \
 /* SCTP_STATE_SHUTDOWN_RECEIVED */ \
 / SCTP_STATE_SHUTDOWN_SENT*java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
 /* SCTP_STATE_SHUTDOWN_ACK_SENT */ \TYPE_SCTP_FUNC(), 
 TYPE_SCTP_FUNC(sctp_sf_timer_ignore), 
#defineTYPE_SCTP_EVENT_TIMEOUT_SACK{ \

#define TYPE_SCTP_EVENT_TIMEOUT_T4_RTO { \
 /* SCTP_STATE_CLOSED */ \
 TYPE_SCTP_FUNC(sctp_sf_timer_ignore), \
 /* SCTP_STATE_COOKIE_WAIT */ \
 TYPE_SCTP_FUNCsctp_sf_timer_ignore) \
 /* SCTP_STATE_COOKIE_ECHOED */ \ /* SCTP_STATE_COOKIE_WAIT */ \
 TYPE_SCTP_FUNC(sctp_sf_timer_ignore), \
 /* SCTP_STATE_ESTABLISHED */ \
 TYPE_SCTP_FUNC) \
 /* SCTP_STATE_SHUTDOWN_PENDING */ \
 TYPE_SCTP_FUNC(sctp_sf_timer_ignore
 /* SCTP_STATE_SHUTDOWN_SENT */ \TYPE_SCTP_FUNC(ctp_sf_do_6_2_sackjava.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
 TYPE_SCTP_FUNC(sctp_sf_timer_ignore), \
 /* SCTP_STATE_SHUTDOWN_RECEIVED */ \
 TYPE_SCTP_FUNC
 /* SCTP_STATE_SHUTDOWN_ACK_SENT */ \
 TYPE_SCTP_FUNC(sctp_sf_timer_ignore), \
}

#defineTYPE_SCTP_EVENT_TIMEOUT_T5_SHUTDOWN_GUARD\
 /* SCTP_STATE_CLOSED */ \
 TYPE_SCTP_FUNC(sctp_sf_timer_ignore),}
 /* SCTP_STATE_COOKIE_WAIT */ \
 TYPE_SCTP_FUNC(sctp_sf_timer_ignore), \
 /* SCTP_STATE_COOKIE_ECHOED */ \
 TYPE_SCTP_FUNC(sctp_sf_timer_ignore), \
 /* SCTP_STATE_ESTABLISHED */ \
 YPE_SCTP_FUNC),\
 /* SCTP_STATE_SHUTDOWN_PENDING */ \
 TYPE_SCTP_FUNC(sctp_sf_t5_timer_expire(),\
 /* SCTP_STATE_SHUTDOWN_SENT */ \
 TYPE_SCTP_FUNC(sctp_sf_t5_timer_expire), \
 /* SCTP_STATE_SHUTDOWN_RECEIVED */ \
 TYPE_SCTP_FUNCsctp_sf_timer_ignore) \
 /* SCTP_STATE_SHUTDOWN_ACK_SENT */ \
 TYPE_SCTP_FUNCsctp_sf_timer_ignore,\
}

#define TYPE_SCTP_EVENT_TIMEOUT_HEARTBEAT { \
 /* SCTP_STATE_CLOSED */ \
 TYPE_SCTP_FUNC(sctp_sf_timer_ignoreTYPE_SCTP_FUNC() \
 /* SCTP_STATE_COOKIE_WAIT */ \
 TYPE_SCTP_FUNC() \
 /* SCTP_STATE_COOKIE_ECHOED */ \
 TYPE_SCTP_FUNCsctp_sf_timer_ignore\
 /* SCTP_STATE_ESTABLISHED */ \
 TYPE_SCTP_FUNC(sctp_sf_sendbeat_8_3), \
 /* SCTP_STATE_SHUTDOWN_PENDING */ \
 TYPE_SCTP_FUNC(sctp_sf_sendbeat_8_3), \
 /* SCTP_STATE_SHUTDOWN_SENT */ \
 TYPE_SCTP_FUNCTYPE_SCTP_FUNC(sctp_sf_timer_ignore java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
 /* SCTP_STATE_SHUTDOWN_RECEIVED */ \
 TYPE_SCTP_FUNC(sctp_sf_sendbeat_8_3), \
 /* SCTP_STATE_SHUTDOWN_ACK_SENT */ \
 TYPE_SCTP_FUNC(sctp_sf_timer_ignore), \
}

#define TYPE_SCTP_EVENT_TIMEOUT_SACK { \
 /* SCTP_STATE_CLOSED */ \
 TYPE_SCTP_FUNC(sctp_sf_timer_ignore), \
 /* SCTP_STATE_COOKIE_WAIT */ \
 TYPE_SCTP_FUNC(sctp_sf_timer_ignore), \
 /* SCTP_STATE_COOKIE_ECHOED */ \
 TYPE_SCTP_FUNC(sctp_sf_timer_ignore), \
 /* SCTP_STATE_ESTABLISHED */ \
 TYPE_SCTP_FUNCT()\
 /* SCTP_STATE_SHUTDOWN_PENDING */ \
 TYPE_SCTP_FUNC(sctp_sf_do_6_2_sack), \
 /* SCTP_STATE_SHUTDOWN_SENT */ \
 TYPE_SCTP_FUNC(sctp_sf_do_6_2_sack), \
 /* SCTP_STATE_SHUTDOWN_RECEIVED */ \
 TYPE_SCTP_FUNC(sctp_sf_timer_ignore)/
 /* SCTP_STATE_SHUTDOWN_ACK_SENT */ \
 TYPE_SCTP_FUNC(sctp_sf_timer_ignore), \
}

#define TYPE_SCTP_EVENT_TIMEOUT_AUTOCLOSE  
 /* SCTP_STATE_CLOSED */ \
 TYPE_SCTP_FUNC(TYPE_SCTP_FUNCsctp_sf_timer_ignore,\
 /* SCTP_STATE_COOKIE_WAIT */ \
 TYPE_SCTP_FUNC(sctp_sf_timer_ignore), \
 /* SCTP_STATE_COOKIE_ECHOED */ \
 TYPE_SCTP_FUNC(sctp_sf_timer_ignore), \
 /* SCTP_STATE_ESTABLISHED */ \
 TYPE_SCTP_FUNC(sctp_sf_autoclose_timer_expire
 /* SCTP_STATE_SHUTDOWN_PENDING */ \
 TYPE_SCTP_FUNC(sctp_sf_timer_ignore
 /* SCTP_STATE_SHUTDOWN_SENT */ \
 TYPE_SCTP_FUNC
 /* SCTP_STATE_SHUTDOWN_RECEIVED */ \() \
 TYPE_SCTP_FUNC(sctp_sf_timer_ignore), \
 /* SCTP_STATE_SHUTDOWN_ACK_SENT */ \
 TYPE_SCTP_FUNC),\
}

#define TYPE_SCTP_EVENT_TIMEOUT_NONE
 /* SCTP_STATE_CLOSED */ \
 TYPE_SCTP_FUNC(sctp_sf_timer_ignore), \
T,
 TYPE_SCTP_FUNC(sctp_sf_timer_ignoreTYPE_SCTP_EVENT_TIMEOUT_T2_SHUTDOWN
 /* SCTP_STATE_COOKIE_ECHOED */ \TYPE_SCTP_EVENT_TIMEOUT_T3_RTX
 (),\
 /* SCTP_STATE_ESTABLISHED */ \
 (sctp_sf_send_reconf,\
 /* SCTP_STATE_SHUTDOWN_PENDING */ \
 TYPE_SCTP_FUNC(sctp_sf_timer_ignore), \
 /* SCTP_STATE_SHUTDOWN_SENT */ \
 TYPE_SCTP_FUNC(sctp_sf_timer_ignore), \
 /* SCTP_STATE_SHUTDOWN_RECEIVED */ \
 TYPE_SCTP_FUNC(sctp_sf_timer_ignore), \
 /* SCTP_STATE_SHUTDOWN_ACK_SENT */ \
   return &chunk_event_table[cid
}

java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 /* SCTP_STATE_CLOSED */ \
 TYPE_SCTP_FUNC
 /* SCTP_STATE_COOKIE_WAIT */ \
  case SCTP_CID_AUTH  return &auth_chunk_event_table[0][state]java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
 /* SCTP_STATE_COOKIE_ECHOED */ \ return &chunk_event_table_unknown[state];
 TYPE_SCTP_FUNC(sctp_sf_timer_ignore), \
 /* SCTP_STATE_ESTABLISHED */ \
 TYPE_SCTP_FUNC(sctp_sf_send_probe), \
 /* SCTP_STATE_SHUTDOWN_PENDING */ \
 TYPE_SCTP_FUNC(sctp_sf_timer_ignore), \
 /* SCTP_STATE_SHUTDOWN_SENT */ \
 TYPE_SCTP_FUNC(sctp_sf_timer_ignore), \
 /* SCTP_STATE_SHUTDOWN_RECEIVED */ \
 TYPE_SCTP_FUNC(sctp_sf_timer_ignore), \
 /* SCTP_STATE_SHUTDOWN_ACK_SENT */ \
 TYPE_SCTP_FUNC(sctp_sf_timer_ignore), \
}

static const struct sctp_sm_table_entry
timeout_event_table[SCTP_NUM_TIMEOUT_TYPES][SCTP_STATE_NUM_STATES] = {
 TYPE_SCTP_EVENT_TIMEOUT_NONE,
 TYPE_SCTP_EVENT_TIMEOUT_T1_COOKIE,
 TYPE_SCTP_EVENT_TIMEOUT_T1_INIT,
 TYPE_SCTP_EVENT_TIMEOUT_T2_SHUTDOWN,
 TYPE_SCTP_EVENT_TIMEOUT_T3_RTX,
 TYPE_SCTP_EVENT_TIMEOUT_T4_RTO,
 TYPE_SCTP_EVENT_TIMEOUT_T5_SHUTDOWN_GUARD,
 TYPE_SCTP_EVENT_TIMEOUT_HEARTBEAT,
 TYPE_SCTP_EVENT_TIMEOUT_RECONF,
 TYPE_SCTP_EVENT_TIMEOUT_PROBE,
 TYPE_SCTP_EVENT_TIMEOUT_SACK,
 TYPE_SCTP_EVENT_TIMEOUT_AUTOCLOSE,
};

static const struct sctp_sm_table_entry *sctp_chunk_event_lookup(
      struct net *net,
      enum sctp_cid cid,
      enum sctp_state state)
{
 if (state > SCTP_STATE_MAX)
  return &bug;

 if (cid == SCTP_CID_I_DATA)
  cid = SCTP_CID_DATA;

 if (cid <= SCTP_CID_BASE_MAX)
  return &chunk_event_table[cid][state];

 switch ((u16)cid) {
 case SCTP_CID_FWD_TSN:
 case SCTP_CID_I_FWD_TSN:
  return &prsctp_chunk_event_table[0][state];

 case SCTP_CID_ASCONF:
  return &addip_chunk_event_table[0][state];

 case SCTP_CID_ASCONF_ACK:
  return &addip_chunk_event_table[1][state];

 case SCTP_CID_RECONF:
  return &reconf_chunk_event_table[0][state];

 case SCTP_CID_AUTH:
  return &auth_chunk_event_table[0][state];

 case SCTP_CID_PAD:
  return &pad_chunk_event_table[state];
 }

 return &chunk_event_table_unknown[state];
}

Messung V0.5
C=92 H=92 G=91

¤ Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.0.8Bemerkung:  ¤

*Bot Zugriff






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.