Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
chunk.c File Reference
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/net.h>
#include <linux/inet.h>
#include <linux/skbuff.h>
#include <linux/slab.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
 

Functions

SCTP_STATIC struct sctp_datamsgsctp_datamsg_new (gfp_t gfp)
 
void sctp_datamsg_free (struct sctp_datamsg *msg)
 
void sctp_datamsg_put (struct sctp_datamsg *msg)
 
struct sctp_datamsgsctp_datamsg_from_user (struct sctp_association *asoc, struct sctp_sndrcvinfo *sinfo, struct msghdr *msgh, int msg_len)
 
int sctp_chunk_abandoned (struct sctp_chunk *chunk)
 
void sctp_chunk_fail (struct sctp_chunk *chunk, int error)
 

Macro Definition Documentation

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 40 of file chunk.c.

Function Documentation

int sctp_chunk_abandoned ( struct sctp_chunk chunk)

Definition at line 354 of file chunk.c.

void sctp_chunk_fail ( struct sctp_chunk chunk,
int  error 
)

Definition at line 368 of file chunk.c.

void sctp_datamsg_free ( struct sctp_datamsg msg)

Definition at line 80 of file chunk.c.

struct sctp_datamsg* sctp_datamsg_from_user ( struct sctp_association asoc,
struct sctp_sndrcvinfo sinfo,
struct msghdr msgh,
int  msg_len 
)
read

Definition at line 172 of file chunk.c.

SCTP_STATIC struct sctp_datamsg* sctp_datamsg_new ( gfp_t  gfp)
read

Definition at line 69 of file chunk.c.

void sctp_datamsg_put ( struct sctp_datamsg msg)

Definition at line 151 of file chunk.c.