SMB2 OPLOCK_BREAK_NOTIFICATION.
*********************************************************/
+struct send_break_message_smb2_state {
+ struct files_struct *fsp;
+ int level;
+ uint32_t tcp_seqnum;
+};
+
void send_break_message_smb2(files_struct *fsp,
uint32_t break_from,
uint32_t break_to)
return NT_STATUS_OK;
}
+ if (e->ack.req != NULL && e->ack.started) {
+ struct tcp_info info;
+ socklen_t ilen = sizeof(info);
+
+ ret = getsockopt(xconn->transport.sock, IPPROTO_TCP,
+ TCP_INFO, (void *)&info, &ilen);
+ if (ret != 0) {
+ DEBUG(0,("%s:%s: errno[%d/%s]\n",
+ __location__, __func__,
+ errno, strerror(errno)));
+ ZERO_STRUCT(info);
+ } else {
+ DEBUG(0,("%s:%s: unacked[%u] sacked[%u]\n",
+ __location__, __func__,
+ (unsigned)info.tcpi_unacked,
+ (unsigned)info.tcpi_sacked));
+ }
+
+ //e->ack.seqnum >=info.tcpi_sacked + iov_buflen(e->vector, e->count);
+ tevent_wait_done(e->ack.req);
+ }
+
xconn->smb2.send_queue_len--;
DLIST_REMOVE(xconn->smb2.send_queue, e);