Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
inet_timewait_sock.c File Reference
#include <linux/kernel.h>
#include <linux/kmemcheck.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <net/inet_hashtables.h>
#include <net/inet_timewait_sock.h>
#include <net/ip.h>

Go to the source code of this file.

Functions

int inet_twsk_unhash (struct inet_timewait_sock *tw)
 
int inet_twsk_bind_unhash (struct inet_timewait_sock *tw, struct inet_hashinfo *hashinfo)
 
void inet_twsk_put (struct inet_timewait_sock *tw)
 
 EXPORT_SYMBOL_GPL (inet_twsk_put)
 
void __inet_twsk_hashdance (struct inet_timewait_sock *tw, struct sock *sk, struct inet_hashinfo *hashinfo)
 
 EXPORT_SYMBOL_GPL (__inet_twsk_hashdance)
 
struct inet_timewait_sockinet_twsk_alloc (const struct sock *sk, const int state)
 
 EXPORT_SYMBOL_GPL (inet_twsk_alloc)
 
void inet_twdr_hangman (unsigned long data)
 
 EXPORT_SYMBOL_GPL (inet_twdr_hangman)
 
void inet_twdr_twkill_work (struct work_struct *work)
 
 EXPORT_SYMBOL_GPL (inet_twdr_twkill_work)
 
void inet_twsk_deschedule (struct inet_timewait_sock *tw, struct inet_timewait_death_row *twdr)
 
 EXPORT_SYMBOL (inet_twsk_deschedule)
 
void inet_twsk_schedule (struct inet_timewait_sock *tw, struct inet_timewait_death_row *twdr, const int timeo, const int timewait_len)
 
 EXPORT_SYMBOL_GPL (inet_twsk_schedule)
 
void inet_twdr_twcal_tick (unsigned long data)
 
 EXPORT_SYMBOL_GPL (inet_twdr_twcal_tick)
 
void inet_twsk_purge (struct inet_hashinfo *hashinfo, struct inet_timewait_death_row *twdr, int family)
 
 EXPORT_SYMBOL_GPL (inet_twsk_purge)
 

Function Documentation

void __inet_twsk_hashdance ( struct inet_timewait_sock tw,
struct sock sk,
struct inet_hashinfo hashinfo 
)

Definition at line 126 of file inet_timewait_sock.c.

EXPORT_SYMBOL ( inet_twsk_deschedule  )
EXPORT_SYMBOL_GPL ( inet_twsk_put  )
EXPORT_SYMBOL_GPL ( __inet_twsk_hashdance  )
EXPORT_SYMBOL_GPL ( inet_twsk_alloc  )
EXPORT_SYMBOL_GPL ( inet_twdr_hangman  )
EXPORT_SYMBOL_GPL ( inet_twdr_twkill_work  )
EXPORT_SYMBOL_GPL ( inet_twsk_schedule  )
EXPORT_SYMBOL_GPL ( inet_twdr_twcal_tick  )
EXPORT_SYMBOL_GPL ( inet_twsk_purge  )
void inet_twdr_hangman ( unsigned long  data)

Definition at line 263 of file inet_timewait_sock.c.

void inet_twdr_twcal_tick ( unsigned long  data)

Definition at line 421 of file inet_timewait_sock.c.

void inet_twdr_twkill_work ( struct work_struct work)

Definition at line 292 of file inet_timewait_sock.c.

struct inet_timewait_sock* inet_twsk_alloc ( const struct sock sk,
const int  state 
)
read

Definition at line 173 of file inet_timewait_sock.c.

int inet_twsk_bind_unhash ( struct inet_timewait_sock tw,
struct inet_hashinfo hashinfo 
)

inet_twsk_bind_unhash - unhash a timewait socket from bind hash : timewait socket : hashinfo pointer

unhash a timewait socket from bind hash, if hashed. bind hash lock must be held by caller. Returns 1 if caller should call inet_twsk_put() after lock release.

Definition at line 51 of file inet_timewait_sock.c.

void inet_twsk_deschedule ( struct inet_timewait_sock tw,
struct inet_timewait_death_row twdr 
)

Definition at line 327 of file inet_timewait_sock.c.

void inet_twsk_purge ( struct inet_hashinfo hashinfo,
struct inet_timewait_death_row twdr,
int  family 
)

Definition at line 481 of file inet_timewait_sock.c.

void inet_twsk_put ( struct inet_timewait_sock tw)

Definition at line 114 of file inet_timewait_sock.c.

void inet_twsk_schedule ( struct inet_timewait_sock tw,
struct inet_timewait_death_row twdr,
const int  timeo,
const int  timewait_len 
)

Definition at line 341 of file inet_timewait_sock.c.

int inet_twsk_unhash ( struct inet_timewait_sock tw)

inet_twsk_unhash - unhash a timewait socket from established hash : timewait socket

unhash a timewait socket from established hash, if hashed. ehash lock must be held by caller. Returns 1 if caller should call inet_twsk_put() after lock release.

Definition at line 28 of file inet_timewait_sock.c.