Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
udp.h File Reference
#include <net/inet_sock.h>
#include <linux/skbuff.h>
#include <net/netns/hash.h>
#include <uapi/linux/udp.h>

Go to the source code of this file.

Data Structures

struct  udp_sock
 

Macros

#define UDP_HTABLE_SIZE_MIN   (CONFIG_BASE_SMALL ? 128 : 256)
 
#define udp_port_hash   inet.sk.__sk_common.skc_u16hashes[0]
 
#define udp_portaddr_hash   inet.sk.__sk_common.skc_u16hashes[1]
 
#define udp_portaddr_node   inet.sk.__sk_common.skc_portaddr_node
 
#define UDPLITE_BIT   0x1 /* set by udplite proto init function */
 
#define UDPLITE_SEND_CC   0x2 /* set via udplite setsockopt */
 
#define UDPLITE_RECV_CC   0x4 /* set via udplite setsocktopt */
 
#define udp_portaddr_for_each_entry(__sk, node, list)   hlist_nulls_for_each_entry(__sk, node, list, __sk_common.skc_portaddr_node)
 
#define udp_portaddr_for_each_entry_rcu(__sk, node, list)   hlist_nulls_for_each_entry_rcu(__sk, node, list, __sk_common.skc_portaddr_node)
 
#define IS_UDPLITE(__sk)   (udp_sk(__sk)->pcflag)
 

Macro Definition Documentation

#define IS_UDPLITE (   __sk)    (udp_sk(__sk)->pcflag)

Definition at line 79 of file udp.h.

#define UDP_HTABLE_SIZE_MIN   (CONFIG_BASE_SMALL ? 128 : 256)

Definition at line 30 of file udp.h.

#define udp_port_hash   inet.sk.__sk_common.skc_u16hashes[0]

Definition at line 40 of file udp.h.

#define udp_portaddr_for_each_entry (   __sk,
  node,
  list 
)    hlist_nulls_for_each_entry(__sk, node, list, __sk_common.skc_portaddr_node)

Definition at line 73 of file udp.h.

#define udp_portaddr_for_each_entry_rcu (   __sk,
  node,
  list 
)    hlist_nulls_for_each_entry_rcu(__sk, node, list, __sk_common.skc_portaddr_node)

Definition at line 76 of file udp.h.

#define udp_portaddr_hash   inet.sk.__sk_common.skc_u16hashes[1]

Definition at line 41 of file udp.h.

#define udp_portaddr_node   inet.sk.__sk_common.skc_portaddr_node

Definition at line 42 of file udp.h.

#define UDPLITE_BIT   0x1 /* set by udplite proto init function */

Definition at line 57 of file udp.h.

#define UDPLITE_RECV_CC   0x4 /* set via udplite setsocktopt */

Definition at line 59 of file udp.h.

#define UDPLITE_SEND_CC   0x2 /* set via udplite setsockopt */

Definition at line 58 of file udp.h.