Lines Matching refs:vers
289 vers uint16 // SSL/TLS version negotiated for the session member
1883 func wireToVersion(vers uint16, isDTLS bool) (uint16, bool) {
1885 switch vers {
1892 switch vers {
1894 return vers, true
1905 vers, ok := wireToVersion(wireVers, isDTLS)
1906 if !ok || c.minVersion(isDTLS) > vers || vers > c.maxVersion(isDTLS) {
1909 return vers, true
1918 for _, vers := range versions {
1919 if _, ok := c.isSupportedVersion(vers, isDTLS); ok {
1920 ret = append(ret, vers)