summaryrefslogtreecommitdiff
path: root/protocol.h
diff options
context:
space:
mode:
authorHåkon Nessjøen <haakon.nessjoen@gmail.com>2013-01-13 18:26:15 +0100
committerHåkon Nessjøen <haakon.nessjoen@gmail.com>2013-01-13 18:26:15 +0100
commitdcb176155767156662c1177592016508376dadcd (patch)
tree449abe444d09284e9fedf64d164d3c898a6f9a4a /protocol.h
parent9c6a8fd84ff7dddf01d5e1b33a6a6d935816795b (diff)
downloadMAC-Telnet-dcb176155767156662c1177592016508376dadcd.tar.gz
MAC-Telnet-dcb176155767156662c1177592016508376dadcd.zip
Added "batch-mode" output for mactelnet -l option. Added interface info to mndp packets.
Diffstat (limited to 'protocol.h')
-rw-r--r--protocol.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/protocol.h b/protocol.h
index 28e0345..65ffd5b 100644
--- a/protocol.h
+++ b/protocol.h
@@ -75,7 +75,8 @@ enum mt_mndp_attrtype {
MT_MNDPTYPE_PLATFORM = 0x0008,
MT_MNDPTYPE_TIMESTAMP = 0x000a,
MT_MNDPTYPE_SOFTID = 0x000b,
- MT_MNDPTYPE_HARDWARE = 0x000c
+ MT_MNDPTYPE_HARDWARE = 0x000c,
+ MT_MNDPTYPE_IFNAME = 0x0010
};
/* MNDP packet header */
@@ -111,6 +112,7 @@ struct mt_mndp_info {
char platform[MT_MNDP_MAX_STRING_LENGTH];
char hardware[MT_MNDP_MAX_STRING_LENGTH];
char softid[MT_MNDP_MAX_STRING_LENGTH];
+ char ifname[MT_MNDP_MAX_STRING_LENGTH];
unsigned int uptime;
};