diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-01-28 17:47:25 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-01-28 18:23:07 +0100 |
commit | 86a2a53b90e250c8473104d4540c4155c26bf1a3 (patch) | |
tree | 88cfaa165682eaf4954a0b1c8f51a6d5e705846f /include | |
parent | 122d604838a270fba131abbb2395f35b694df348 (diff) |
udp: Use link up/down signals from the MIB for the link
The mib was patched to send link up/down in case of failures,
only put a link service when the MIB tells us the link is
up, the failure case should only happen for remote links
failing. We will reset and go through link alignment.
Diffstat (limited to 'include')
-rw-r--r-- | include/udp_input.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/udp_input.h b/include/udp_input.h index 2d84fef..7c95384 100644 --- a/include/udp_input.h +++ b/include/udp_input.h @@ -38,6 +38,9 @@ #define UDP_DATA_RETR_PRIO_3 19 #define UDP_DATA_RETR_COMPL 32 #define UDP_DATA_RETR_IMPOS 33 +#define UDP_DATA_LINK_UP 34 +#define UDP_DATA_LINK_DOWN 35 + struct udp_data_hdr { uint8_t format_type; |