source: vendor/3.6.0/examples/pcap2nbench/readandxresponse.hpp

Last change on this file was 414, checked in by Herwig Bauernfeind, 15 years ago

Samba 3.5.0: Initial import

File size: 1.4 KB
Line 
1/*\
2 * pcap2nbench - Converts libpcap network traces to nbench input
3 * Copyright (C) 2004 Jim McDonough <jmcd@us.ibm.com>
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 3 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, see <http://www.gnu.org/licenses/>.
17 *
18 * Written by Anthony Liguori <aliguori@us.ibm.com>
19\*/
20
21#ifndef _READ_AND_X_RESPONSE_HPP
22#define _READ_AND_X_RESPONSE_HPP
23
24class ReadAndXResponse {
25 ReadAndXReponse(const uint8_t *data, size_t size);
26
27 uint8_t word_count;
28 uint8_t and_x_command;
29 uint8_t reserved;
30 uint16_t and_x_offset;
31 uint8_t oplock_level;
32 uint16_t fid;
33 uint32_t create_action;
34 uint64_t created_date;
35 uint64_t access_date;
36 uint64_t write_date;
37 uint64_t change_date;
38 uint32_t file_attributes;
39 uint64_t allocation_size;
40 uint64_t end_of_file;
41 uint16_t file_type;
42 uint16_t ipc_state;
43 uint8_t is_directory;
44 uint16_t byte_count;
45};
46
47#endif
Note: See TracBrowser for help on using the repository browser.