utils.c File Reference

Go to the source code of this file.

Defines

#define IN6PTON_XDIGIT   0x00010000
#define IN6PTON_DIGIT   0x00020000
#define IN6PTON_COLON_MASK   0x00700000
#define IN6PTON_COLON_1   0x00100000
#define IN6PTON_COLON_2   0x00200000
#define IN6PTON_COLON_1_2   0x00400000
#define IN6PTON_DOT   0x00800000
#define IN6PTON_DELIM   0x10000000
#define IN6PTON_NULL   0x20000000
#define IN6PTON_UNKNOWN   0x40000000

Functions

 DEFINE_RATELIMIT_STATE (net_ratelimit_state, 5 *HZ, 10)
 EXPORT_SYMBOL (net_msg_warn)
int net_ratelimit (void)
 EXPORT_SYMBOL (net_ratelimit)
__be32 in_aton (const char *str)
 EXPORT_SYMBOL (in_aton)
static int xdigit2bin (char c, int delim)
int in4_pton (const char *src, int srclen, u8 *dst, int delim, const char **end)
 EXPORT_SYMBOL (in4_pton)
int in6_pton (const char *src, int srclen, u8 *dst, int delim, const char **end)
 EXPORT_SYMBOL (in6_pton)
void inet_proto_csum_replace4 (__sum16 *sum, struct sk_buff *skb, __be32 from, __be32 to, int pseudohdr)
 EXPORT_SYMBOL (inet_proto_csum_replace4)

Variables

int net_msg_cost __read_mostly = 5*HZ


Define Documentation

#define IN6PTON_COLON_1   0x00100000

Definition at line 95 of file utils.c.

#define IN6PTON_COLON_1_2   0x00400000

Definition at line 97 of file utils.c.

#define IN6PTON_COLON_2   0x00200000

Definition at line 96 of file utils.c.

#define IN6PTON_COLON_MASK   0x00700000

Definition at line 94 of file utils.c.

#define IN6PTON_DELIM   0x10000000

Definition at line 99 of file utils.c.

#define IN6PTON_DIGIT   0x00020000

Definition at line 93 of file utils.c.

#define IN6PTON_DOT   0x00800000

Definition at line 98 of file utils.c.

#define IN6PTON_NULL   0x20000000

Definition at line 100 of file utils.c.

#define IN6PTON_UNKNOWN   0x40000000

Definition at line 101 of file utils.c.

#define IN6PTON_XDIGIT   0x00010000

Definition at line 92 of file utils.c.


Function Documentation

DEFINE_RATELIMIT_STATE ( net_ratelimit_state  ,
5 *  HZ,
10   
)

EXPORT_SYMBOL ( inet_proto_csum_replace4   ) 

EXPORT_SYMBOL ( in6_pton   ) 

EXPORT_SYMBOL ( in4_pton   ) 

EXPORT_SYMBOL ( in_aton   ) 

EXPORT_SYMBOL ( net_ratelimit   ) 

EXPORT_SYMBOL ( net_msg_warn   ) 

int in4_pton ( const char *  src,
int  srclen,
u8 *  dst,
int  delim,
const char **  end 
)

Definition at line 122 of file utils.c.

int in6_pton ( const char *  src,
int  srclen,
u8 *  dst,
int  delim,
const char **  end 
)

Definition at line 177 of file utils.c.

__be32 in_aton ( const char *  str  ) 

Definition at line 63 of file utils.c.

void inet_proto_csum_replace4 ( __sum16 *  sum,
struct sk_buff *  skb,
__be32  from,
__be32  to,
int  pseudohdr 
)

Definition at line 295 of file utils.c.

int net_ratelimit ( void   ) 

Definition at line 47 of file utils.c.

static int xdigit2bin ( char  c,
int  delim 
) [inline, static]

Definition at line 103 of file utils.c.


Variable Documentation

int net_msg_warn __read_mostly = 5*HZ

Definition at line 35 of file utils.c.


Generated on Wed Apr 11 06:39:16 2012 for DDE - The L4 Device Driver Environment by  doxygen 1.5.6