Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
input.c File Reference
#include <linux/types.h>
#include <linux/list.h>
#include <linux/socket.h>
#include <linux/ip.h>
#include <linux/time.h>
#include <linux/slab.h>
#include <net/ip.h>
#include <net/icmp.h>
#include <net/snmp.h>
#include <net/sock.h>
#include <net/xfrm.h>
#include <net/sctp/sctp.h>
#include <net/sctp/sm.h>
#include <net/sctp/checksum.h>
#include <net/net_namespace.h>

Go to the source code of this file.

Data Structures

struct  sctp_input_cb
 

Macros

#define SCTP_INPUT_CB(__skb)   ((struct sctp_input_cb *)&((__skb)->cb[0]))
 

Functions

int sctp_rcv (struct sk_buff *skb)
 
int sctp_backlog_rcv (struct sock *sk, struct sk_buff *skb)
 
void sctp_icmp_frag_needed (struct sock *sk, struct sctp_association *asoc, struct sctp_transport *t, __u32 pmtu)
 
void sctp_icmp_redirect (struct sock *sk, struct sctp_transport *t, struct sk_buff *skb)
 
void sctp_icmp_proto_unreachable (struct sock *sk, struct sctp_association *asoc, struct sctp_transport *t)
 
struct socksctp_err_lookup (struct net *net, int family, struct sk_buff *skb, struct sctphdr *sctphdr, struct sctp_association **app, struct sctp_transport **tpp)
 
void sctp_err_finish (struct sock *sk, struct sctp_association *asoc)
 
void sctp_v4_err (struct sk_buff *skb, __u32 info)
 
void sctp_hash_endpoint (struct sctp_endpoint *ep)
 
void sctp_unhash_endpoint (struct sctp_endpoint *ep)
 
void sctp_hash_established (struct sctp_association *asoc)
 
void sctp_unhash_established (struct sctp_association *asoc)
 
SCTP_STATIC struct
sctp_association
sctp_lookup_association (struct net *net, const union sctp_addr *laddr, const union sctp_addr *paddr, struct sctp_transport **transportp)
 
int sctp_has_association (struct net *net, const union sctp_addr *laddr, const union sctp_addr *paddr)
 

Macro Definition Documentation

#define SCTP_INPUT_CB (   __skb)    ((struct sctp_input_cb *)&((__skb)->cb[0]))

Definition at line 117 of file input.c.

Function Documentation

int sctp_backlog_rcv ( struct sock sk,
struct sk_buff skb 
)

Definition at line 315 of file input.c.

void sctp_err_finish ( struct sock sk,
struct sctp_association asoc 
)

Definition at line 561 of file input.c.

struct sock* sctp_err_lookup ( struct net net,
int  family,
struct sk_buff skb,
struct sctphdr sctphdr,
struct sctp_association **  app,
struct sctp_transport **  tpp 
)
read

Definition at line 483 of file input.c.

int sctp_has_association ( struct net net,
const union sctp_addr laddr,
const union sctp_addr paddr 
)

Definition at line 925 of file input.c.

void sctp_hash_endpoint ( struct sctp_endpoint ep)

Definition at line 748 of file input.c.

void sctp_hash_established ( struct sctp_association asoc)

Definition at line 829 of file input.c.

void sctp_icmp_frag_needed ( struct sock sk,
struct sctp_association asoc,
struct sctp_transport t,
__u32  pmtu 
)

Definition at line 401 of file input.c.

void sctp_icmp_proto_unreachable ( struct sock sk,
struct sctp_association asoc,
struct sctp_transport t 
)

Definition at line 453 of file input.c.

void sctp_icmp_redirect ( struct sock sk,
struct sctp_transport t,
struct sk_buff skb 
)

Definition at line 430 of file input.c.

SCTP_STATIC struct sctp_association* sctp_lookup_association ( struct net net,
const union sctp_addr laddr,
const union sctp_addr paddr,
struct sctp_transport **  transportp 
)
read

Definition at line 910 of file input.c.

int sctp_rcv ( struct sk_buff skb)

Definition at line 122 of file input.c.

void sctp_unhash_endpoint ( struct sctp_endpoint ep)

Definition at line 774 of file input.c.

void sctp_unhash_established ( struct sctp_association asoc)

Definition at line 859 of file input.c.

void sctp_v4_err ( struct sk_buff skb,
__u32  info 
)

Definition at line 583 of file input.c.