Lines Matching full:smb
36 #include "smb.h"
68 * SMB handler interface
71 "SMB", /* scheme */
126 /* Append a string to an SMB message */
133 /* Append a null-terminated string to an SMB message */
140 /* SMB is mostly little endian */
166 /* SMB request state */
178 /* SMB request data */
202 infof(data, "SMB conn %p state change from %s to %s", in conn_state()
212 struct smb_request *req = data->req.p.smb; in request_state()
228 infof(data, "SMB request %p state change from %s to %s", in request_state()
243 data->req.p.smb = req = calloc(1, sizeof(struct smb_request)); in smb_setup_connection()
270 connkeep(conn, "SMB default"); in smb_connect()
355 struct smb_request *req = data->req.p.smb; in smb_format_message()
520 struct smb_request *req = data->req.p.smb; in smb_send_open()
550 struct smb_request *req = data->req.p.smb; in smb_send_close()
571 struct smb_request *req = data->req.p.smb; in smb_send_read()
590 struct smb_request *req = data->req.p.smb; in smb_send_write()
677 connclose(conn, "SMB: failed to send negotiate message"); in smb_connection_state()
687 connclose(conn, "SMB: failed to communicate"); in smb_connection_state()
700 connclose(conn, "SMB: negotiation failed"); in smb_connection_state()
708 connclose(conn, "SMB: failed to send setup message"); in smb_connection_state()
716 connclose(conn, "SMB: authentication failed"); in smb_connection_state()
755 struct smb_request *req = data->req.p.smb; in smb_request_state()
766 failf(data, "SMB upload needs to know the size up front"); in smb_request_state()
774 connclose(conn, "SMB: failed to send tree connect message"); in smb_request_state()
784 connclose(conn, "SMB: failed to communicate"); in smb_request_state()
932 connclose(conn, "SMB: failed to send message"); in smb_request_state()
976 struct smb_request *req = data->req.p.smb; in smb_parse_url_path()
1000 failf(data, "missing share in URL path for SMB"); in smb_parse_url_path()