]> rtime.felk.cvut.cz Git - l4.git/blobdiff - l4/pkg/linux-26-headers/include/linux/neighbour.h
update
[l4.git] / l4 / pkg / linux-26-headers / include / linux / neighbour.h
index bd3bbf668cdb009292195056d2e8be292dd6e97e..adb068c53c4e964fc1ea950a61f188b9159bc178 100644 (file)
@@ -1,10 +1,10 @@
 #ifndef __LINUX_NEIGHBOUR_H
 #define __LINUX_NEIGHBOUR_H
 
+#include <linux/types.h>
 #include <linux/netlink.h>
 
-struct ndmsg
-{
+struct ndmsg {
        __u8            ndm_family;
        __u8            ndm_pad1;
        __u16           ndm_pad2;
@@ -14,13 +14,13 @@ struct ndmsg
        __u8            ndm_type;
 };
 
-enum
-{
+enum {
        NDA_UNSPEC,
        NDA_DST,
        NDA_LLADDR,
        NDA_CACHEINFO,
        NDA_PROBES,
+       NDA_VLAN,
        __NDA_MAX
 };
 
@@ -30,9 +30,13 @@ enum
  *     Neighbor Cache Entry Flags
  */
 
+#define NTF_USE                0x01
 #define NTF_PROXY      0x08    /* == ATF_PUBL */
 #define NTF_ROUTER     0x80
 
+#define NTF_SELF       0x02
+#define NTF_MASTER     0x04
+
 /*
  *     Neighbor Cache Entry States.
  */
@@ -54,8 +58,7 @@ enum
    NUD_PERMANENT is also cannot be deleted by garbage collectors.
  */
 
-struct nda_cacheinfo
-{
+struct nda_cacheinfo {
        __u32           ndm_confirmed;
        __u32           ndm_used;
        __u32           ndm_updated;
@@ -87,8 +90,7 @@ struct nda_cacheinfo
  * device.
  ****/
 
-struct ndt_stats
-{
+struct ndt_stats {
        __u64           ndts_allocs;
        __u64           ndts_destroys;
        __u64           ndts_hash_grows;
@@ -118,19 +120,18 @@ enum {
        NDTPA_PROXY_DELAY,              /* u64, msecs */
        NDTPA_PROXY_QLEN,               /* u32 */
        NDTPA_LOCKTIME,                 /* u64, msecs */
+       NDTPA_QUEUE_LENBYTES,           /* u32 */
        __NDTPA_MAX
 };
 #define NDTPA_MAX (__NDTPA_MAX - 1)
 
-struct ndtmsg
-{
+struct ndtmsg {
        __u8            ndtm_family;
        __u8            ndtm_pad1;
        __u16           ndtm_pad2;
 };
 
-struct ndt_config
-{
+struct ndt_config {
        __u16           ndtc_key_len;
        __u16           ndtc_entry_size;
        __u32           ndtc_entries;