Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
ipv6_route.h File Reference
#include <uapi/linux/ipv6_route.h>

Go to the source code of this file.

Macros

#define IPV6_EXTRACT_PREF(flag)   (((flag) & RTF_PREF_MASK) >> 27)
 
#define IPV6_DECODE_PREF(pref)   ((pref) ^ 2) /* 1:low,2:med,3:high */
 

Macro Definition Documentation

#define IPV6_DECODE_PREF (   pref)    ((pref) ^ 2) /* 1:low,2:med,3:high */

Definition at line 18 of file ipv6_route.h.

#define IPV6_EXTRACT_PREF (   flag)    (((flag) & RTF_PREF_MASK) >> 27)

Definition at line 17 of file ipv6_route.h.