Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
associola.c File Reference
#include <linux/types.h>
#include <linux/fcntl.h>
#include <linux/poll.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/in.h>
#include <net/ipv6.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

struct sctp_associationsctp_association_new (const struct sctp_endpoint *ep, const struct sock *sk, sctp_scope_t scope, gfp_t gfp)
 
void sctp_association_free (struct sctp_association *asoc)
 
void sctp_assoc_set_primary (struct sctp_association *asoc, struct sctp_transport *transport)
 
void sctp_assoc_rm_peer (struct sctp_association *asoc, struct sctp_transport *peer)
 
struct sctp_transportsctp_assoc_add_peer (struct sctp_association *asoc, const union sctp_addr *addr, const gfp_t gfp, const int peer_state)
 
void sctp_assoc_del_peer (struct sctp_association *asoc, const union sctp_addr *addr)
 
struct sctp_transportsctp_assoc_lookup_paddr (const struct sctp_association *asoc, const union sctp_addr *address)
 
void sctp_assoc_del_nonprimary_peers (struct sctp_association *asoc, struct sctp_transport *primary)
 
void sctp_assoc_control_transport (struct sctp_association *asoc, struct sctp_transport *transport, sctp_transport_cmd_t command, sctp_sn_error_t error)
 
void sctp_association_hold (struct sctp_association *asoc)
 
void sctp_association_put (struct sctp_association *asoc)
 
__u32 sctp_association_get_next_tsn (struct sctp_association *asoc)
 
int sctp_cmp_addr_exact (const union sctp_addr *ss1, const union sctp_addr *ss2)
 
struct sctp_chunksctp_get_ecne_prepend (struct sctp_association *asoc)
 
struct sctp_transportsctp_assoc_lookup_tsn (struct sctp_association *asoc, __u32 tsn)
 
struct sctp_transportsctp_assoc_is_match (struct sctp_association *asoc, struct net *net, const union sctp_addr *laddr, const union sctp_addr *paddr)
 
void sctp_assoc_migrate (struct sctp_association *assoc, struct sock *newsk)
 
void sctp_assoc_update (struct sctp_association *asoc, struct sctp_association *new)
 
void sctp_assoc_update_retran_path (struct sctp_association *asoc)
 
struct sctp_transportsctp_assoc_choose_alter_transport (struct sctp_association *asoc, struct sctp_transport *last_sent_to)
 
void sctp_assoc_sync_pmtu (struct sock *sk, struct sctp_association *asoc)
 
void sctp_assoc_rwnd_increase (struct sctp_association *asoc, unsigned int len)
 
void sctp_assoc_rwnd_decrease (struct sctp_association *asoc, unsigned int len)
 
int sctp_assoc_set_bind_addr_from_ep (struct sctp_association *asoc, sctp_scope_t scope, gfp_t gfp)
 
int sctp_assoc_set_bind_addr_from_cookie (struct sctp_association *asoc, struct sctp_cookie *cookie, gfp_t gfp)
 
int sctp_assoc_lookup_laddr (struct sctp_association *asoc, const union sctp_addr *laddr)
 
int sctp_assoc_set_id (struct sctp_association *asoc, gfp_t gfp)
 
void sctp_assoc_clean_asconf_ack_cache (const struct sctp_association *asoc)
 
struct sctp_chunksctp_assoc_lookup_asconf_ack (const struct sctp_association *asoc, __be32 serial)
 
void sctp_asconf_queue_teardown (struct sctp_association *asoc)
 

Macro Definition Documentation

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 51 of file associola.c.

Function Documentation

void sctp_asconf_queue_teardown ( struct sctp_association asoc)

Definition at line 1680 of file associola.c.

struct sctp_transport* sctp_assoc_add_peer ( struct sctp_association asoc,
const union sctp_addr addr,
const gfp_t  gfp,
const int  peer_state 
)
read

Definition at line 640 of file associola.c.

struct sctp_transport* sctp_assoc_choose_alter_transport ( struct sctp_association asoc,
struct sctp_transport last_sent_to 
)
read

Definition at line 1372 of file associola.c.

void sctp_assoc_clean_asconf_ack_cache ( const struct sctp_association asoc)

Definition at line 1641 of file associola.c.

void sctp_assoc_control_transport ( struct sctp_association asoc,
struct sctp_transport transport,
sctp_transport_cmd_t  command,
sctp_sn_error_t  error 
)

Definition at line 840 of file associola.c.

void sctp_assoc_del_nonprimary_peers ( struct sctp_association asoc,
struct sctp_transport primary 
)

Definition at line 822 of file associola.c.

void sctp_assoc_del_peer ( struct sctp_association asoc,
const union sctp_addr addr 
)

Definition at line 786 of file associola.c.

struct sctp_transport* sctp_assoc_is_match ( struct sctp_association asoc,
struct net net,
const union sctp_addr laddr,
const union sctp_addr paddr 
)
read

Definition at line 1093 of file associola.c.

struct sctp_chunk* sctp_assoc_lookup_asconf_ack ( const struct sctp_association asoc,
__be32  serial 
)
read

Definition at line 1661 of file associola.c.

int sctp_assoc_lookup_laddr ( struct sctp_association asoc,
const union sctp_addr laddr 
)

Definition at line 1571 of file associola.c.

struct sctp_transport* sctp_assoc_lookup_paddr ( const struct sctp_association asoc,
const union sctp_addr address 
)
read

Definition at line 804 of file associola.c.

struct sctp_transport* sctp_assoc_lookup_tsn ( struct sctp_association asoc,
__u32  tsn 
)
read

Definition at line 1037 of file associola.c.

void sctp_assoc_migrate ( struct sctp_association assoc,
struct sock newsk 
)

Definition at line 1179 of file associola.c.

void sctp_assoc_rm_peer ( struct sctp_association asoc,
struct sctp_transport peer 
)

Definition at line 549 of file associola.c.

void sctp_assoc_rwnd_decrease ( struct sctp_association asoc,
unsigned int  len 
)

Definition at line 1498 of file associola.c.

void sctp_assoc_rwnd_increase ( struct sctp_association asoc,
unsigned int  len 
)

Definition at line 1441 of file associola.c.

int sctp_assoc_set_bind_addr_from_cookie ( struct sctp_association asoc,
struct sctp_cookie cookie,
gfp_t  gfp 
)

Definition at line 1558 of file associola.c.

int sctp_assoc_set_bind_addr_from_ep ( struct sctp_association asoc,
sctp_scope_t  scope,
gfp_t  gfp 
)

Definition at line 1537 of file associola.c.

int sctp_assoc_set_id ( struct sctp_association asoc,
gfp_t  gfp 
)

Definition at line 1585 of file associola.c.

void sctp_assoc_set_primary ( struct sctp_association asoc,
struct sctp_transport transport 
)

Definition at line 492 of file associola.c.

void sctp_assoc_sync_pmtu ( struct sock sk,
struct sctp_association asoc 
)

Definition at line 1391 of file associola.c.

void sctp_assoc_update ( struct sctp_association asoc,
struct sctp_association new 
)

Definition at line 1210 of file associola.c.

void sctp_assoc_update_retran_path ( struct sctp_association asoc)

Definition at line 1312 of file associola.c.

void sctp_association_free ( struct sctp_association asoc)

Definition at line 386 of file associola.c.

__u32 sctp_association_get_next_tsn ( struct sctp_association asoc)

Definition at line 986 of file associola.c.

void sctp_association_hold ( struct sctp_association asoc)

Definition at line 969 of file associola.c.

struct sctp_association* sctp_association_new ( const struct sctp_endpoint ep,
const struct sock sk,
sctp_scope_t  scope,
gfp_t  gfp 
)
read

Definition at line 357 of file associola.c.

void sctp_association_put ( struct sctp_association asoc)

Definition at line 977 of file associola.c.

int sctp_cmp_addr_exact ( const union sctp_addr ss1,
const union sctp_addr ss2 
)

Definition at line 1003 of file associola.c.

struct sctp_chunk* sctp_get_ecne_prepend ( struct sctp_association asoc)
read

Definition at line 1019 of file associola.c.