missing: move one more network related definition to missing_network.h
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user