|
Lines 21-26
Link Here
|
| 21 |
#ifndef _PACKET_LIBVIRT_H_ |
21 |
#ifndef _PACKET_LIBVIRT_H_ |
| 22 |
# define _PACKET_LIBVIRT_H_ |
22 |
# define _PACKET_LIBVIRT_H_ |
| 23 |
|
23 |
|
|
|
24 |
# include "libvirt/libvirt.h" |
| 25 |
|
| 24 |
# ifndef LIBVIRT_PORT |
26 |
# ifndef LIBVIRT_PORT |
| 25 |
# define LIBVIRT_PORT 16509 |
27 |
# define LIBVIRT_PORT 16509 |
| 26 |
# endif |
28 |
# endif |
|
Lines 84-105
static const value_string status_strings[] = {
Link Here
|
| 84 |
{ -1, NULL } |
86 |
{ -1, NULL } |
| 85 |
}; |
87 |
}; |
| 86 |
|
88 |
|
| 87 |
/* TODO: These symbols will automatically included in generated headers in the feature */ |
|
|
| 88 |
# define VIR_SECURITY_MODEL_BUFLEN (256 + 1) |
| 89 |
# define VIR_SECURITY_LABEL_BUFLEN (4096 + 1) |
| 90 |
# define VIR_SECURITY_DOI_BUFLEN (256 + 1) |
| 91 |
# define VIR_UUID_BUFLEN (16) |
| 92 |
enum { |
| 93 |
VIR_TYPED_PARAM_INT = 1, /* integer case */ |
| 94 |
VIR_TYPED_PARAM_UINT = 2, /* unsigned integer case */ |
| 95 |
VIR_TYPED_PARAM_LLONG = 3, /* long long case */ |
| 96 |
VIR_TYPED_PARAM_ULLONG = 4, /* unsigned long long case */ |
| 97 |
VIR_TYPED_PARAM_DOUBLE = 5, /* double case */ |
| 98 |
VIR_TYPED_PARAM_BOOLEAN = 6, /* boolean(character) case */ |
| 99 |
VIR_TYPED_PARAM_STRING = 7, /* string case */ |
| 100 |
}; |
| 101 |
/* / */ |
| 102 |
|
| 103 |
# define VIR_ERROR_MESSAGE_DISSECTOR dissect_xdr_remote_error |
89 |
# define VIR_ERROR_MESSAGE_DISSECTOR dissect_xdr_remote_error |
| 104 |
|
90 |
|
| 105 |
static gboolean dissect_xdr_int(tvbuff_t *tvb, proto_tree *tree, XDR *xdrs, int hf); |
91 |
static gboolean dissect_xdr_int(tvbuff_t *tvb, proto_tree *tree, XDR *xdrs, int hf); |