|
Lines 34-39
Link Here
|
| 34 |
#endif |
34 |
#endif |
| 35 |
#include <rpc/xdr.h> |
35 |
#include <rpc/xdr.h> |
| 36 |
#include "packet-libvirt.h" |
36 |
#include "packet-libvirt.h" |
|
|
37 |
#include "internal.h" |
| 37 |
|
38 |
|
| 38 |
static int proto_libvirt = -1; |
39 |
static int proto_libvirt = -1; |
| 39 |
static int hf_libvirt_length = -1; |
40 |
static int hf_libvirt_length = -1; |
|
Lines 413-419
dissect_libvirt_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
Link Here
|
| 413 |
} |
414 |
} |
| 414 |
|
415 |
|
| 415 |
static guint32 |
416 |
static guint32 |
| 416 |
get_message_len(packet_info *pinfo __attribute__((unused)), tvbuff_t *tvb, int offset) |
417 |
get_message_len(packet_info *pinfo ATTRIBUTE_UNUSED, tvbuff_t *tvb, int offset) |
| 417 |
{ |
418 |
{ |
| 418 |
return tvb_get_ntohl(tvb, offset); |
419 |
return tvb_get_ntohl(tvb, offset); |
| 419 |
} |
420 |
} |