Lines Matching refs:secmode
120 if (s->secmode & NEGOTIATE_SECURITY_SIGNATURES_ENABLED)
122 if (s->secmode & NEGOTIATE_SECURITY_SIGNATURES_REQUIRED)
124 s->secmode = secmode2;
129 * initial s->newrq_func. Note that secmode is
132 * real secmode when the 2nd negotiate comes.
135 s->secmode = SMB2_NEGOTIATE_SIGNING_ENABLED;
198 &s->secmode, /* w */
252 uint16_t secmode;
258 * The caller stashed the client's secmode in s->secmode,
260 * secmode, which is all we care about after this.
262 secmode = SMB2_NEGOTIATE_SIGNING_ENABLED;
264 secmode |= SMB2_NEGOTIATE_SIGNING_REQUIRED;
266 if ((s->secmode & secmode) == 0) {
270 s->secmode = secmode;
304 s->secmode, /* w */
357 * The only tampering we need worry about is secmode, and
371 s->secmode, /* w */