Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
inetpeer.h File Reference
#include <linux/types.h>
#include <linux/init.h>
#include <linux/jiffies.h>
#include <linux/spinlock.h>
#include <linux/rtnetlink.h>
#include <net/ipv6.h>
#include <linux/atomic.h>

Go to the source code of this file.

Data Structures

struct  inetpeer_addr_base
 
struct  inetpeer_addr
 
struct  inet_peer
 
struct  inet_peer_base
 

Macros

#define INETPEER_BASE_BIT   0x1UL
 
#define INETPEER_METRICS_NEW   (~(u32) 0)
 

Functions

void inet_peer_base_init (struct inet_peer_base *)
 
void inet_initpeers (void) __init
 
struct inet_peerinet_getpeer (struct inet_peer_base *base, const struct inetpeer_addr *daddr, int create)
 
void inet_putpeer (struct inet_peer *p)
 
bool inet_peer_xrlim_allow (struct inet_peer *peer, int timeout)
 
void inetpeer_invalidate_tree (struct inet_peer_base *)
 
void inetpeer_invalidate_family (int family)
 

Macro Definition Documentation

#define INETPEER_BASE_BIT   0x1UL

Definition at line 69 of file inetpeer.h.

#define INETPEER_METRICS_NEW   (~(u32) 0)

Definition at line 127 of file inetpeer.h.

Function Documentation

struct inet_peer* inet_getpeer ( struct inet_peer_base base,
const struct inetpeer_addr daddr,
int  create 
)
read

Definition at line 459 of file inetpeer.c.

void inet_initpeers ( void  )

Definition at line 175 of file inetpeer.c.

void inet_peer_base_init ( struct inet_peer_base )

Definition at line 85 of file inetpeer.c.

bool inet_peer_xrlim_allow ( struct inet_peer peer,
int  timeout 
)

Definition at line 555 of file inetpeer.c.

void inet_putpeer ( struct inet_peer p)

Definition at line 529 of file inetpeer.c.

void inetpeer_invalidate_family ( int  family)

Definition at line 112 of file inetpeer.c.

void inetpeer_invalidate_tree ( struct inet_peer_base )

Definition at line 589 of file inetpeer.c.