Lines Matching defs:typemask
104 #define typemask(x) ((x) > 0 ? 1 << ((x)-1) : 0)
108 static int i_support_encrypt = typemask(TELOPT_ENCTYPE_DES_CFB64);
109 static int i_support_decrypt = typemask(TELOPT_ENCTYPE_DES_CFB64);
143 if (!(I_SUPPORT_ENCRYPT & remote_supports_decrypt & typemask(type)))
154 if (!(I_SUPPORT_DECRYPT & remote_supports_encrypt & typemask(type)))
199 i_support_encrypt |= typemask(ep->type);
200 i_support_decrypt |= typemask(ep->type);
201 if ((i_wont_support_decrypt & typemask(ep->type)) == 0)
260 i_wont_support_decrypt |= typemask(ep->type);
266 i_wont_support_encrypt |= typemask(ep->type);
294 i_wont_support_decrypt &= ~typemask(ep->type);
299 i_wont_support_encrypt &= ~typemask(ep->type);
512 (I_SUPPORT_ENCRYPT & typemask(type))) {
513 remote_supports_decrypt |= typemask(type);
545 remote_supports_encrypt |= typemask(type);