File: landesc.h

package info (click to toggle)
iptraf-ng 1%3A1.1.4-6
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 2,856 kB
  • ctags: 1,289
  • sloc: ansic: 11,913; makefile: 367; sh: 31; awk: 1
file content (27 lines) | stat: -rw-r--r-- 454 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#ifndef IPTRAF_NG_LANDESC_H
#define IPTRAF_NG_LANDESC_H

/***

ethdesc.c	- Ethernet host description management module

***/

#include "list.h"

#define WITHETCETHERS 1
#define WITHOUTETCETHERS 0

struct eth_desc {
	struct list_head hd_list;
	char hd_mac[18];
	char *hd_desc;
};

struct eth_desc *load_eth_desc(unsigned link_type);

void free_eth_desc(struct eth_desc *hd);

void manage_eth_desc(unsigned int linktype);

#endif	/* IPTRAF_NG_LANDESC_H */