|
@@ -22,8 +22,6 @@
|
|
*/
|
|
*/
|
|
|
|
|
|
|
|
|
|
-#include <sys/types.h>
|
|
|
|
-#include <sys/socket.h>
|
|
|
|
#include <sys/poll.h>
|
|
#include <sys/poll.h>
|
|
#include <sys/utsname.h>
|
|
#include <sys/utsname.h>
|
|
#include <stdio.h>
|
|
#include <stdio.h>
|
|
@@ -34,7 +32,6 @@
|
|
#include <errno.h>
|
|
#include <errno.h>
|
|
#include <arpa/inet.h>
|
|
#include <arpa/inet.h>
|
|
#include <linux/hyperv.h>
|
|
#include <linux/hyperv.h>
|
|
-#include <linux/netlink.h>
|
|
|
|
#include <ifaddrs.h>
|
|
#include <ifaddrs.h>
|
|
#include <netdb.h>
|
|
#include <netdb.h>
|
|
#include <syslog.h>
|
|
#include <syslog.h>
|
|
@@ -99,10 +96,6 @@ static struct utsname uts_buf;
|
|
#define MAX_FILE_NAME 100
|
|
#define MAX_FILE_NAME 100
|
|
#define ENTRIES_PER_BLOCK 50
|
|
#define ENTRIES_PER_BLOCK 50
|
|
|
|
|
|
-#ifndef SOL_NETLINK
|
|
|
|
-#define SOL_NETLINK 270
|
|
|
|
-#endif
|
|
|
|
-
|
|
|
|
struct kvp_record {
|
|
struct kvp_record {
|
|
char key[HV_KVP_EXCHANGE_MAX_KEY_SIZE];
|
|
char key[HV_KVP_EXCHANGE_MAX_KEY_SIZE];
|
|
char value[HV_KVP_EXCHANGE_MAX_VALUE_SIZE];
|
|
char value[HV_KVP_EXCHANGE_MAX_VALUE_SIZE];
|