missing: move one more network related definition to missing_network.h

This commit is contained in:
Yu Watanabe
2018-12-06 13:24:32 +01:00
parent 9cb6c6ecb0
commit 8f8495702e
2 changed files with 6 additions and 5 deletions
-5
View File
@@ -9,7 +9,6 @@
#include <linux/audit.h>
#include <linux/falloc.h>
#include <linux/oom.h>
#include <net/ethernet.h>
#include <stdlib.h>
#include <sys/resource.h>
#include <sys/socket.h>
@@ -264,10 +263,6 @@ struct sockaddr_vm {
#define KCMP_FILE 0
#endif
#ifndef ETHERTYPE_LLDP
#define ETHERTYPE_LLDP 0x88cc
#endif
#ifndef SOL_ALG
#define SOL_ALG 279
#endif
+6
View File
@@ -3,6 +3,7 @@
#include <linux/loop.h>
#include <linux/rtnetlink.h>
#include <net/ethernet.h>
#include "missing_ethtool.h"
#include "missing_fib_rules.h"
@@ -142,3 +143,8 @@
#ifndef LOOPBACK_IFINDEX
#define LOOPBACK_IFINDEX 1
#endif
/* Not exposed yet. Similar values are defined in net/ethernet.h */
#ifndef ETHERTYPE_LLDP
#define ETHERTYPE_LLDP 0x88cc
#endif