Lines Matching defs:DO

87 DO   = to_bytes([253])
226 """Manage a single telnet option, keeps track of DO/DONT WILL/WONT."""
256 """A DO/DONT/WILL/WONT was received for this option, update state and
399 TelnetOption(self, 'we-BINARY', BINARY, WILL, WONT, DO, DONT, INACTIVE),
400 TelnetOption(self, 'we-RFC2217', COM_PORT_OPTION, WILL, WONT, DO, DONT, REQUESTED),
404 TelnetOption(self, 'ECHO', ECHO, DO, DONT, WILL, WONT, REQUESTED),
405 TelnetOption(self, 'we-SGA', SGA, WILL, WONT, DO, DONT, REQUESTED),
406 TelnetOption(self, 'they-SGA', SGA, DO, DONT, WILL, WONT, REQUESTED),
407 TelnetOption(self, 'they-BINARY', BINARY, DO, DONT, WILL, WONT, INACTIVE),
408 TelnetOption(self, 'they-RFC2217', COM_PORT_OPTION, DO, DONT, WILL, WONT, REQUESTED),
732 elif byte in (DO, DONT, WILL, WONT):
740 elif mode == M_NEGOTIATE: # DO, DONT, WILL, WONT was received, option now following
751 """Process commands other than DO, DONT, WILL, WONT."""
757 """Process incoming DO, DONT, WILL, WONT."""
770 if command == WILL or command == DO:
817 """Send DO, DONT, WILL, WONT."""
927 TelnetOption(self, 'ECHO', ECHO, WILL, WONT, DO, DONT, REQUESTED),
928 TelnetOption(self, 'we-SGA', SGA, WILL, WONT, DO, DONT, REQUESTED),
929 TelnetOption(self, 'they-SGA', SGA, DO, DONT, WILL, WONT, INACTIVE),
930 TelnetOption(self, 'we-BINARY', BINARY, WILL, WONT, DO, DONT, INACTIVE),
931 TelnetOption(self, 'they-BINARY', BINARY, DO, DONT, WILL, WONT, REQUESTED),
932 TelnetOption(self, 'we-RFC2217', COM_PORT_OPTION, WILL, WONT, DO, DONT, REQUESTED, self._client_ok),
933 TelnetOption(self, 'they-RFC2217', COM_PORT_OPTION, DO, DONT, WILL, WONT, INACTIVE, self._client_ok),
965 """Send DO, DONT, WILL, WONT."""
1072 elif byte in (DO, DONT, WILL, WONT):
1080 elif self.mode == M_NEGOTIATE: # DO, DONT, WILL, WONT was received, option now following
1087 """Process commands other than DO, DONT, WILL, WONT."""
1093 """Process incoming DO, DONT, WILL, WONT."""
1106 if command == WILL or command == DO: