Lines Matching refs:mb2
230 struct mbdata mb2; /* 2nd part */ in ntlmssp_put_type1() local
235 if ((err = mb_init(&mb2)) != 0) in ntlmssp_put_type1()
237 mb2.mb_count = sizeof (hdr); in ntlmssp_put_type1()
273 (void) mb_put_sb_string(&mb2, &hdr.h_cldom, NULL, 0); in ntlmssp_put_type1()
274 (void) mb_put_sb_string(&mb2, &hdr.h_wksta, NULL, 0); in ntlmssp_put_type1()
286 err = mb_put_mbuf(out_mb, mb2.mb_top); in ntlmssp_put_type1()
417 struct mbdata mb2; /* payload */ in ntlmssp_put_type3() local
428 bzero(&mb2, sizeof (mb2)); in ntlmssp_put_type3()
433 if ((err = mb_init(&mb2)) != 0) in ntlmssp_put_type3()
435 mb2.mb_count = sizeof (hdr); in ntlmssp_put_type3()
512 err = mb_put_sb_data(&mb2, &hdr.h_lm_resp, lm_mbc.mb_top); in ntlmssp_put_type3()
516 err = mb_put_sb_data(&mb2, &hdr.h_nt_resp, nt_mbc.mb_top); in ntlmssp_put_type3()
524 err = mb_put_sb_string(&mb2, &hdr.h_domain, ctx->ct_domain, uc); in ntlmssp_put_type3()
527 err = mb_put_sb_string(&mb2, &hdr.h_user, ctx->ct_user, uc); in ntlmssp_put_type3()
530 err = mb_put_sb_string(&mb2, &hdr.h_wksta, ctx->ct_locname, uc); in ntlmssp_put_type3()
538 err = mb_put_sb_data(&mb2, &hdr.h_ssn_key, ek_mbc.mb_top); in ntlmssp_put_type3()
564 err = mb_put_mbuf(out_mb, mb2.mb_top); in ntlmssp_put_type3()
565 mb2.mb_top = NULL; /* consumed */ in ntlmssp_put_type3()
574 mb_done(&mb2); in ntlmssp_put_type3()