Tor 0.4.9.8
Loading...
Searching...
No Matches
proto_control0.c File Reference

Code to detect the obsolete v0 control protocol. More...

Go to the source code of this file.

Functions

int peek_buf_has_control0_command (buf_t *buf)
 

Detailed Description

Code to detect the obsolete v0 control protocol.

Definition in file proto_control0.c.

Function Documentation

◆ peek_buf_has_control0_command()

int peek_buf_has_control0_command ( buf_t * buf)

Return 1 iff buf looks more like it has an (obsolete) v0 controller command on it than any valid v1 controller command.

Definition at line 19 of file proto_control0.c.

Referenced by peek_connection_has_control0_command().