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

Go to the source code of this file.

Macros

#define IP6_ECN_flow_init(label)
 
#define IP6_ECN_flow_xmit(sk, label)
 

Enumerations

enum  {
  INET_ECN_NOT_ECT = 0, INET_ECN_ECT_1 = 1, INET_ECN_ECT_0 = 2, INET_ECN_CE = 3,
  INET_ECN_MASK = 3
}
 

Variables

int sysctl_tunnel_ecn_log
 

Macro Definition Documentation

#define IP6_ECN_flow_init (   label)
Value:
do { \
(label) &= ~htonl(INET_ECN_MASK << 20); \
} while (0)

Definition at line 65 of file inet_ecn.h.

#define IP6_ECN_flow_xmit (   sk,
  label 
)
Value:
do { \
if (INET_ECN_is_capable(inet6_sk(sk)->tclass)) \
(label) |= htonl(INET_ECN_ECT_0 << 20); \
} while (0)

Definition at line 69 of file inet_ecn.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
INET_ECN_NOT_ECT 
INET_ECN_ECT_1 
INET_ECN_ECT_0 
INET_ECN_CE 
INET_ECN_MASK 

Definition at line 10 of file inet_ecn.h.

Variable Documentation

int sysctl_tunnel_ecn_log