Home
last modified time | relevance | path

Searched refs:tok_type (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/mech/
H A Dutil_token.c159 void g_make_token_header(mech, body_size, buf, tok_type) in g_make_token_header() argument
163 int tok_type;
167 (tok_type == -1) ? 2 : (int) (4 + mech->length + body_size));
171 if (tok_type != -1) {
172 *(*buf)++ = (unsigned char) ((tok_type>>8)&0xff);
173 *(*buf)++ = (unsigned char) (tok_type&0xff);
186 gss_int32 g_verify_token_header(mech, body_size, buf_in, tok_type, toksize_in, in g_verify_token_header() argument
191 int tok_type;
233 if (tok_type != -1) {
237 if ((*buf++ != ((tok_type>>8)&0xff)) ||
[all …]
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb2_fsctl_odx.c77 uint32_t tok_type; /* big-endian on the wire */ member
197 uint32_t tok_type; in smb2_fsctl_odx_read() local
266 tok_type = STORAGE_OFFLOAD_TOKEN_TYPE_ZERO_DATA; in smb2_fsctl_odx_read()
316 tok_type = STORAGE_OFFLOAD_TOKEN_TYPE_NATIVE1; in smb2_fsctl_odx_read()
355 tok->tok_type = tok_type; in smb2_fsctl_odx_read()
497 switch (tok->tok_type) { in smb2_fsctl_odx_write()
873 &tok->tok_type, in smb_odx_get_token()
878 tok->tok_type = BSWAP_32(tok->tok_type); in smb_odx_get_token()
888 switch (tok->tok_type) { in smb_odx_get_token()
947 BSWAP_32(tok->tok_type), in smb_odx_put_token()
[all …]
/illumos-gate/usr/src/uts/common/gssapi/mechs/dummy/
H A Ddmech.c73 unsigned char **buf, int tok_type);
75 unsigned char **buf_in, int tok_type,
494 g_make_token_header(mech, body_size, buf, tok_type) in g_make_token_header() argument
498 int tok_type;
505 *(*buf)++ = (unsigned char) ((tok_type>>8)&0xff);
506 *(*buf)++ = (unsigned char) (tok_type&0xff);
510 g_verify_token_header(mech, body_size, buf_in, tok_type, toksize) in g_verify_token_header() argument
514 int tok_type;
558 if ((*buf++ != ((tok_type>>8)&0xff)) ||
559 (*buf++ != (tok_type&0xff)))
/illumos-gate/usr/src/lib/gss_mechs/mech_dummy/mech/
H A Ddmech.c107 unsigned char **buf, int tok_type);
109 unsigned char **buf_in, int tok_type,
1337 g_make_token_header(mech, body_size, buf, tok_type) in g_make_token_header() argument
1341 int tok_type;
1348 *(*buf)++ = (unsigned char) ((tok_type>>8)&0xff);
1349 *(*buf)++ = (unsigned char) (tok_type&0xff);
1353 g_verify_token_header(mech, body_size, buf_in, tok_type, toksize) in g_verify_token_header() argument
1357 int tok_type;
1401 if ((*buf++ != ((tok_type>>8)&0xff)) ||
1402 (*buf++ != (tok_type&0xff)))
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/include/
H A DgssapiP_generic.h197 unsigned char **buf, int tok_type);
201 unsigned char **buf, int tok_type,
/illumos-gate/usr/src/lib/gss_mechs/mech_spnego/mech/
H A Dspnego_mech.c3874 int tok_type, in g_verify_token_header() argument