mirror of
https://github.com/berlin-open-wireless-lab/DAWN.git
synced 2025-03-09 15:40:12 +00:00
ubus/uci/datastorage: add iface and hostname
The network overview now displays the interface name and hostname.
This commit is contained in:
parent
050c1d7fed
commit
ffa08dbccd
5 changed files with 62 additions and 2 deletions
|
@ -8,6 +8,7 @@
|
|||
#include <string.h>
|
||||
#include <time.h>
|
||||
#include <unistd.h>
|
||||
#include <limits.h>
|
||||
|
||||
#ifndef ETH_ALEN
|
||||
#define ETH_ALEN 6
|
||||
|
@ -183,6 +184,7 @@ void print_auth_entry(auth_entry entry);
|
|||
/* AP, Client */
|
||||
|
||||
#define SIGNATURE_LEN 1024
|
||||
#define MAX_INTERFACE_NAME 64
|
||||
|
||||
// ---------------- Structs ----------------
|
||||
typedef struct client_s {
|
||||
|
@ -221,6 +223,8 @@ typedef struct ap_s {
|
|||
uint32_t collision_domain;
|
||||
uint32_t bandwidth;
|
||||
uint32_t ap_weight;
|
||||
char iface[MAX_INTERFACE_NAME];
|
||||
char hostname[HOST_NAME_MAX];
|
||||
} ap;
|
||||
|
||||
// ---------------- Defines ----------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue