12 lines
179 B
C
12 lines
179 B
C
#pragma once
|
|
|
|
#include <limits.h>
|
|
#include <linux/if.h>
|
|
#include <netinet/in.h>
|
|
|
|
struct host {
|
|
char name[HOST_NAME_MAX];
|
|
char ip[INET_ADDRSTRLEN];
|
|
char interface[IFNAMSIZ];
|
|
};
|