diff options
author | Håkon Nessjøen <haakon.nessjoen@gmail.com> | 2013-01-13 18:26:15 +0100 |
---|---|---|
committer | Håkon Nessjøen <haakon.nessjoen@gmail.com> | 2013-01-13 18:26:15 +0100 |
commit | dcb176155767156662c1177592016508376dadcd (patch) | |
tree | 449abe444d09284e9fedf64d164d3c898a6f9a4a /protocol.h | |
parent | 9c6a8fd84ff7dddf01d5e1b33a6a6d935816795b (diff) | |
download | MAC-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.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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; }; |