~ubuntu-branches/ubuntu/quantal/linux-linaro-mx51/quantal

« back to all changes in this revision

Viewing changes to include/net/sctp/constants.h

  • Committer: Package Import Robot
  • Author(s): John Rigby, John Rigby
  • Date: 2011-09-26 10:44:23 UTC
  • Revision ID: package-import@ubuntu.com-20110926104423-3o58a3c1bj7x00rs
Tags: 3.0.0-1007.9
[ John Rigby ]

Enable crypto modules and remove crypto-modules from
exclude-module files
LP: #826021

Show diffs side-by-side

added added

removed removed

Lines of Context:
150
150
SCTP_SUBTYPE_CONSTRUCTOR(PRIMITIVE,     sctp_event_primitive_t, primitive)
151
151
 
152
152
 
153
 
#define sctp_chunk_is_control(a) (a->chunk_hdr->type != SCTP_CID_DATA)
154
153
#define sctp_chunk_is_data(a) (a->chunk_hdr->type == SCTP_CID_DATA)
155
154
 
156
155
/* Calculate the actual data size in a data chunk */
188
187
/* SCTP state defines for internal state machine */
189
188
typedef enum {
190
189
 
191
 
        SCTP_STATE_EMPTY                = 0,
192
 
        SCTP_STATE_CLOSED               = 1,
193
 
        SCTP_STATE_COOKIE_WAIT          = 2,
194
 
        SCTP_STATE_COOKIE_ECHOED        = 3,
195
 
        SCTP_STATE_ESTABLISHED          = 4,
196
 
        SCTP_STATE_SHUTDOWN_PENDING     = 5,
197
 
        SCTP_STATE_SHUTDOWN_SENT        = 6,
198
 
        SCTP_STATE_SHUTDOWN_RECEIVED    = 7,
199
 
        SCTP_STATE_SHUTDOWN_ACK_SENT    = 8,
 
190
        SCTP_STATE_CLOSED               = 0,
 
191
        SCTP_STATE_COOKIE_WAIT          = 1,
 
192
        SCTP_STATE_COOKIE_ECHOED        = 2,
 
193
        SCTP_STATE_ESTABLISHED          = 3,
 
194
        SCTP_STATE_SHUTDOWN_PENDING     = 4,
 
195
        SCTP_STATE_SHUTDOWN_SENT        = 5,
 
196
        SCTP_STATE_SHUTDOWN_RECEIVED    = 6,
 
197
        SCTP_STATE_SHUTDOWN_ACK_SENT    = 7,
200
198
 
201
199
} sctp_state_t;
202
200