Stub out ax25/if.h
This commit is contained in:
parent
754f6a039f
commit
24c7d00394
1 changed files with 32 additions and 0 deletions
32
include/patty/ax25/if.h
Normal file
32
include/patty/ax25/if.h
Normal file
|
@ -0,0 +1,32 @@
|
|||
#ifndef _PATTY_AX25_IF
|
||||
#define _PATTY_AX25_IF
|
||||
|
||||
#include <stdint.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <patty/kiss.h>
|
||||
#include <patty/dict.h>
|
||||
|
||||
typedef struct _patty_ax25_if_stats {
|
||||
size_t frame_tx;
|
||||
size_t frame_rx;
|
||||
size_t frame_drop;
|
||||
} patty_ax25_if_stats;
|
||||
|
||||
typedef struct _patty_ax25_if_port {
|
||||
patty_ax25_address address;
|
||||
patty_ax25_if_stats stats;
|
||||
} patty_ax25_if_port;
|
||||
|
||||
typedef struct _patty_ax25_if_link {
|
||||
patty_ax25_if_port local;
|
||||
patty_ax25_if_port remote;
|
||||
} patty_ax25_if_link;
|
||||
|
||||
typedef struct _patty_ax25_if {
|
||||
patty_dict * ports;
|
||||
patty_kiss_tnc * tnc;
|
||||
patty_ax25_if_stats stats;
|
||||
} patty_ax25_if;
|
||||
|
||||
#endif /* _PATTY_AX25_IF */
|
Loading…
Add table
Reference in a new issue