Index: uspace/srv/hid/remcons/telnet.h
===================================================================
--- uspace/srv/hid/remcons/telnet.h	(revision 3806317addecfc44d41ef2b0a3f5739b6e683022)
+++ uspace/srv/hid/remcons/telnet.h	(revision f2b3d3ea3dc1fbb7a2312b326613bcc88a3bfaf5)
@@ -45,6 +45,12 @@
 
 #define TELNET_IAC 255
+
 #define TELNET_WILL 251
 #define TELNET_WONT 252
+#define TELNET_DO 253
+#define TELNET_DONT 254
+
+#define TELNET_IS_OPTION_CODE(code) (((code) >= 251) && ((code) <= 254))
+
 #define TELNET_ECHO 1
 #define TELNET_SUPPRESS_GO_AHEAD 3
