16#ifndef __PACKET_NCP_INT_H__
17#define __PACKET_NCP_INT_H__
27 const char *first_string;
28 const char *repeat_string;
34 const sub_ptvc_record *sub_ptvc_rec;
36 unsigned int endianness;
37 unsigned int var_index : 2;
38 unsigned int repeat_index : 2;
39 unsigned int req_cond_index : 8;
53extern bool nds_defragment;
54extern bool nds_echo_eid;
55extern bool ncp_echo_err;
56extern bool ncp_echo_conn;
57extern bool ncp_echo_server;
58extern bool ncp_echo_file;
59extern bool ncp_newstyle;
64 const ptvc_record *ptvc_rec;
68 const char *dfilter_text;
80 uint8_t error_in_packet;
85typedef void (ncp_expert_handler)(ptvcursor_t *ptvc,
packet_info *pinfo,
const struct _ncp_record *ncp_rec,
bool request);
93 const ptvc_record *request_ptvc;
94 const ptvc_record *reply_ptvc;
96 const int *req_cond_indexes;
97 unsigned int req_cond_size_type;
98 ncp_expert_handler *expert_handler_func;
106 const ncp_record *ncp_rec;
107 bool *req_cond_results;
108 uint32_t req_frame_num;
111 uint32_t req_nds_flags;
112 uint32_t req_nds_prot_flags;
113 uint8_t nds_request_verb;
115 char object_name[256];
117 uint32_t nds_end_frag;
118 uint32_t nds_frag_num;
120 uint16_t req_mask_ext;
121 uint32_t nds_frag_flags;
128void dissect_ncp_request(tvbuff_t*,
packet_info*, uint32_t,
129 uint8_t, uint16_t,
bool, proto_tree *
volatile);
131void dissect_ncp_reply(tvbuff_t *,
packet_info*, uint32_t, uint8_t,
134void dissect_ping_req(tvbuff_t *,
packet_info*, uint32_t, uint8_t,
135 uint16_t, proto_tree*);
137void dissect_nds_request(tvbuff_t*,
packet_info*, uint32_t,
138 uint8_t, uint16_t, proto_tree*);
141 uint8_t, uint16_t, proto_tree*,
struct novell_tap*);
146extern int ett_nds_segments;
147extern int ett_nds_segment;
149extern dissector_handle_t nds_data_handle;
154#define NCP_ALLOCATE_SLOT 0x1111
155#define NCP_SERVICE_REQUEST 0x2222
156#define NCP_SERVICE_REPLY 0x3333
157#define NCP_WATCHDOG 0x3e3e
158#define NCP_DEALLOCATE_SLOT 0x5555
159#define NCP_BURST_MODE_XFER 0x7777
160#define NCP_POSITIVE_ACK 0x9999
161#define NCP_BROADCAST_SLOT 0xbbbb
162#define NCP_LIP_ECHO 0x4c69
struct _packet_info packet_info
Represents the metadata and indexing information for a single captured frame.
Definition packet-ncp-int.h:87
Definition packet-ncp-int.h:31
Definition packet-ncp-int.h:61
Definition packet-ncp-int.h:67
The compiled display filter object passed back to the user.
Definition dfilter-int.h:46
Definition packet-ncp-int.h:79
Definition packet-ncp-int.h:25
Definition packet-ncp-int.h:105
Definition packet-ncp-int.h:72
struct _value_string value_string
Mapping between a 32-bit integer value and its string representation.