Searched refs:protocol_from_string (Results 1 – 2 of 2) sorted by relevance
302 static int protocol_from_string(const char *value) in protocol_from_string() function345 if ((new_version = protocol_from_string(value)) < 0) in min_max_proto()
809 static int protocol_from_string(const char *value) in protocol_from_string() function879 int ver = protocol_from_string(version); in set_protocol_version()1825 int version = protocol_from_string(should_negotiate); in main()