Line
Link Here
|
0 |
-- a/Port-linux/interface.c |
0 |
++ b/Port-linux/interface.c |
Lines 43-48
Link Here
|
43 |
#include <linux/sockios.h> |
43 |
#include <linux/sockios.h> |
44 |
#include <linux/if_ether.h> |
44 |
#include <linux/if_ether.h> |
45 |
|
45 |
|
|
|
46 |
int interface_auto_up; |
47 |
int interface_do_message; |
48 |
|
46 |
void daemon_log(int loglevel, const char *fmt,...) |
49 |
void daemon_log(int loglevel, const char *fmt,...) |
47 |
{ |
50 |
{ |
48 |
char buf[255]; |
51 |
char buf[255]; |
49 |
-- a/Port-linux/interface.h |
52 |
++ b/Port-linux/interface.h |
Lines 23-30
Link Here
|
23 |
extern "C" { |
23 |
extern "C" { |
24 |
#endif |
24 |
#endif |
25 |
|
25 |
|
26 |
int interface_auto_up; |
26 |
extern int interface_auto_up; |
27 |
int interface_do_message; |
27 |
extern int interface_do_message; |
28 |
|
28 |
|
29 |
typedef enum { IFSTATUS_UP, IFSTATUS_DOWN, IFSTATUS_ERR } interface_status_t; |
29 |
typedef enum { IFSTATUS_UP, IFSTATUS_DOWN, IFSTATUS_ERR } interface_status_t; |
30 |
|
30 |
|