Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
ulpevent.c File Reference
#include <linux/slab.h>
#include <linux/types.h>
#include <linux/skbuff.h>
#include <net/sctp/structs.h>
#include <net/sctp/sctp.h>
#include <net/sctp/sm.h>

Go to the source code of this file.

Functions

SCTP_STATIC void sctp_ulpevent_init (struct sctp_ulpevent *event, int msg_flags, unsigned int len)
 
SCTP_STATIC struct sctp_ulpeventsctp_ulpevent_new (int size, int msg_flags, gfp_t gfp)
 
int sctp_ulpevent_is_notification (const struct sctp_ulpevent *event)
 
struct sctp_ulpeventsctp_ulpevent_make_assoc_change (const struct sctp_association *asoc, __u16 flags, __u16 state, __u16 error, __u16 outbound, __u16 inbound, struct sctp_chunk *chunk, gfp_t gfp)
 
struct sctp_ulpeventsctp_ulpevent_make_peer_addr_change (const struct sctp_association *asoc, const struct sockaddr_storage *aaddr, int flags, int state, int error, gfp_t gfp)
 
struct sctp_ulpeventsctp_ulpevent_make_remote_error (const struct sctp_association *asoc, struct sctp_chunk *chunk, __u16 flags, gfp_t gfp)
 
struct sctp_ulpeventsctp_ulpevent_make_send_failed (const struct sctp_association *asoc, struct sctp_chunk *chunk, __u16 flags, __u32 error, gfp_t gfp)
 
struct sctp_ulpeventsctp_ulpevent_make_shutdown_event (const struct sctp_association *asoc, __u16 flags, gfp_t gfp)
 
struct sctp_ulpeventsctp_ulpevent_make_adaptation_indication (const struct sctp_association *asoc, gfp_t gfp)
 
struct sctp_ulpeventsctp_ulpevent_make_rcvmsg (struct sctp_association *asoc, struct sctp_chunk *chunk, gfp_t gfp)
 
struct sctp_ulpeventsctp_ulpevent_make_pdapi (const struct sctp_association *asoc, __u32 indication, gfp_t gfp)
 
struct sctp_ulpeventsctp_ulpevent_make_authkey (const struct sctp_association *asoc, __u16 key_id, __u32 indication, gfp_t gfp)
 
struct sctp_ulpeventsctp_ulpevent_make_sender_dry_event (const struct sctp_association *asoc, gfp_t gfp)
 
__u16 sctp_ulpevent_get_notification_type (const struct sctp_ulpevent *event)
 
void sctp_ulpevent_read_sndrcvinfo (const struct sctp_ulpevent *event, struct msghdr *msghdr)
 
void sctp_ulpevent_free (struct sctp_ulpevent *event)
 
unsigned int sctp_queue_purge_ulpevents (struct sk_buff_head *list)
 

Function Documentation

unsigned int sctp_queue_purge_ulpevents ( struct sk_buff_head list)

Definition at line 1086 of file ulpevent.c.

void sctp_ulpevent_free ( struct sctp_ulpevent event)

Definition at line 1075 of file ulpevent.c.

__u16 sctp_ulpevent_get_notification_type ( const struct sctp_ulpevent event)

Definition at line 899 of file ulpevent.c.

SCTP_STATIC void sctp_ulpevent_init ( struct sctp_ulpevent event,
int  msg_flags,
unsigned int  len 
)

Definition at line 60 of file ulpevent.c.

int sctp_ulpevent_is_notification ( const struct sctp_ulpevent event)

Definition at line 90 of file ulpevent.c.

struct sctp_ulpevent* sctp_ulpevent_make_adaptation_indication ( const struct sctp_association asoc,
gfp_t  gfp 
)
read

Definition at line 647 of file ulpevent.c.

struct sctp_ulpevent* sctp_ulpevent_make_assoc_change ( const struct sctp_association asoc,
__u16  flags,
__u16  state,
__u16  error,
__u16  outbound,
__u16  inbound,
struct sctp_chunk chunk,
gfp_t  gfp 
)
read

Definition at line 133 of file ulpevent.c.

struct sctp_ulpevent* sctp_ulpevent_make_authkey ( const struct sctp_association asoc,
__u16  key_id,
__u32  indication,
gfp_t  gfp 
)
read

Definition at line 831 of file ulpevent.c.

struct sctp_ulpevent* sctp_ulpevent_make_pdapi ( const struct sctp_association asoc,
__u32  indication,
gfp_t  gfp 
)
read

Definition at line 779 of file ulpevent.c.

struct sctp_ulpevent* sctp_ulpevent_make_peer_addr_change ( const struct sctp_association asoc,
const struct sockaddr_storage aaddr,
int  flags,
int  state,
int  error,
gfp_t  gfp 
)
read

Definition at line 262 of file ulpevent.c.

struct sctp_ulpevent* sctp_ulpevent_make_rcvmsg ( struct sctp_association asoc,
struct sctp_chunk chunk,
gfp_t  gfp 
)
read

Definition at line 683 of file ulpevent.c.

struct sctp_ulpevent* sctp_ulpevent_make_remote_error ( const struct sctp_association asoc,
struct sctp_chunk chunk,
__u16  flags,
gfp_t  gfp 
)
read

Definition at line 376 of file ulpevent.c.

struct sctp_ulpevent* sctp_ulpevent_make_send_failed ( const struct sctp_association asoc,
struct sctp_chunk chunk,
__u16  flags,
__u32  error,
gfp_t  gfp 
)
read

Definition at line 474 of file ulpevent.c.

struct sctp_ulpevent* sctp_ulpevent_make_sender_dry_event ( const struct sctp_association asoc,
gfp_t  gfp 
)
read

Definition at line 871 of file ulpevent.c.

struct sctp_ulpevent* sctp_ulpevent_make_shutdown_event ( const struct sctp_association asoc,
__u16  flags,
gfp_t  gfp 
)
read

Definition at line 583 of file ulpevent.c.

SCTP_STATIC struct sctp_ulpevent* sctp_ulpevent_new ( int  size,
int  msg_flags,
gfp_t  gfp 
)
read

Definition at line 70 of file ulpevent.c.

void sctp_ulpevent_read_sndrcvinfo ( const struct sctp_ulpevent event,
struct msghdr msghdr 
)

Definition at line 910 of file ulpevent.c.