Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
sm_sideeffect.c File Reference
#include <linux/skbuff.h>
#include <linux/types.h>
#include <linux/socket.h>
#include <linux/ip.h>
#include <linux/gfp.h>
#include <net/sock.h>
#include <net/sctp/sctp.h>
#include <net/sctp/sm.h>

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 
#define DEBUG_PRE
 
#define DEBUG_POST
 
#define DEBUG_POST_SFX
 

Functions

void sctp_generate_t3_rtx_event (unsigned long peer)
 
void sctp_generate_heartbeat_event (unsigned long data)
 
void sctp_generate_proto_unreach_event (unsigned long data)
 
int sctp_do_sm (struct net *net, sctp_event_t event_type, sctp_subtype_t subtype, sctp_state_t state, struct sctp_endpoint *ep, struct sctp_association *asoc, void *event_arg, gfp_t gfp)
 

Variables

sctp_timer_event_tsctp_timer_events [SCTP_NUM_TIMEOUT_TYPES]
 

Macro Definition Documentation

#define DEBUG_POST
Value:
SCTP_DEBUG_PRINTK("sctp_do_sm postfn: " \
"asoc %p, status: %s\n", \

Definition at line 1083 of file sm_sideeffect.c.

#define DEBUG_POST_SFX
Value:
SCTP_DEBUG_PRINTK("sctp_do_sm post sfx: error %d, asoc %p[%s]\n", \
error, asoc, \
sctp_state_tbl[(asoc && sctp_id2assoc(ep->base.sk, \
sctp_assoc2id(asoc)))?asoc->state:SCTP_STATE_CLOSED])

Definition at line 1088 of file sm_sideeffect.c.

#define DEBUG_PRE
Value:
SCTP_DEBUG_PRINTK("sctp_do_sm prefn: " \
"ep %p, %s, %s, asoc %p[%s], %s\n", \
(*debug_fn)(subtype), asoc, \

Definition at line 1076 of file sm_sideeffect.c.

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 50 of file sm_sideeffect.c.

Function Documentation

int sctp_do_sm ( struct net net,
sctp_event_t  event_type,
sctp_subtype_t  subtype,
sctp_state_t  state,
struct sctp_endpoint ep,
struct sctp_association asoc,
void event_arg,
gfp_t  gfp 
)

Definition at line 1100 of file sm_sideeffect.c.

void sctp_generate_heartbeat_event ( unsigned long  data)

Definition at line 371 of file sm_sideeffect.c.

void sctp_generate_proto_unreach_event ( unsigned long  data)

Definition at line 410 of file sm_sideeffect.c.

void sctp_generate_t3_rtx_event ( unsigned long  peer)

Definition at line 249 of file sm_sideeffect.c.

Variable Documentation

Initial value:
= {
sctp_generate_t1_cookie_event,
sctp_generate_t1_init_event,
sctp_generate_t2_shutdown_event,
sctp_generate_t4_rto_event,
sctp_generate_t5_shutdown_guard_event,
sctp_generate_sack_event,
sctp_generate_autoclose_event,
}

Definition at line 450 of file sm_sideeffect.c.