Lines Matching refs:isDTLS
1695 func (c *Config) minVersion(isDTLS bool) uint16 {
1700 if isDTLS {
1713 func (c *Config) maxVersion(isDTLS bool) uint16 {
1718 if isDTLS {
1752 func wireToVersion(vers uint16, isDTLS bool) (uint16, bool) {
1753 if isDTLS {
1773 func (c *Config) isSupportedVersion(wireVers uint16, isDTLS bool) (uint16, bool) {
1774 vers, ok := wireToVersion(wireVers, isDTLS)
1775 if !ok || c.minVersion(isDTLS) > vers || vers > c.maxVersion(isDTLS) {
1781 func (c *Config) supportedVersions(isDTLS bool) []uint16 {
1783 if isDTLS {
1788 if _, ok := c.isSupportedVersion(vers, isDTLS); ok {