summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2015-02-06 14:04:01 -0500
committerBill Meier <wmeier@newsguy.com>2015-02-06 21:50:47 +0000
commitff6d50325829182dbc752df20f632a7b38c66d1d (patch)
tree348eed56bcbeed5cd3694e223a3abb4d760871e7
parent49c27d3de9ef842430c28ddcd203c24449087016 (diff)
downloadwireshark-ff6d50325829182dbc752df20f632a7b38c66d1d.tar.gz
qnet6: Cleanup
- Remove some boilerplate comments; - Use a consistent indent style (gnu); - Use a consistent format for hf[] entries; - Whitespace; - Long lines; - Rename a generic macro; Change-Id: Ic2edcf8a8c0151d63a0d0ad901ddea9d7443ad19 Reviewed-on: https://code.wireshark.org/review/6994 Reviewed-by: Bill Meier <wmeier@newsguy.com>
-rw-r--r--epan/dissectors/packet-qnet6.c3774
1 files changed, 1797 insertions, 1977 deletions
diff --git a/epan/dissectors/packet-qnet6.c b/epan/dissectors/packet-qnet6.c
index e87ec0305a..4eabd5cb9b 100644
--- a/epan/dissectors/packet-qnet6.c
+++ b/epan/dissectors/packet-qnet6.c
@@ -475,7 +475,7 @@ static int hf_qnet6_nr_remote_req_name = -1;
static int hf_qnet6_nr_remote_rep_spare = -1;
static int hf_qnet6_nr_remote_rep_id = -1; /* remote_answer id */
static int hf_qnet6_nr_remote_rep_nd = -1; /* remote_answer nd */
-static int hf_qnet6_nr_remote_rep_status = -1; /* remote_error * status */
+static int hf_qnet6_nr_remote_rep_status = -1; /* remote_error * status */
/*
* Initialize the subtree pointers
@@ -546,7 +546,7 @@ struct qnet6_kif_hdr
enum _msg_bases_qnx
{
QNX_IO_BASE = 0x100,
- QNX_IO_MAX = 0x1FF
+ QNX_IO_MAX = 0x1FF
};
enum _io__Uint16types
@@ -554,11 +554,11 @@ enum _io__Uint16types
QNX_IO_CONNECT = QNX_IO_BASE,
QNX_IO_READ,
QNX_IO_WRITE,
- QNX_IO_RSVD_CLOSE_OCB, /* Place holder in jump table */
+ QNX_IO_RSVD_CLOSE_OCB, /* Place holder in jump table */
QNX_IO_STAT,
QNX_IO_NOTIFY,
QNX_IO_DEVCTL,
- QNX_IO_RSVD_UNBLOCK, /* Place holder in jump table */
+ QNX_IO_RSVD_UNBLOCK, /* Place holder in jump table */
QNX_IO_PATHCONF,
QNX_IO_LSEEK,
QNX_IO_CHMOD,
@@ -574,7 +574,7 @@ enum _io__Uint16types
QNX_IO_RSVD,
QNX_IO_DUP,
QNX_IO_CLOSE,
- QNX_IO_RSVD_LOCK_OCB, /* Place holder in jump table */
+ QNX_IO_RSVD_LOCK_OCB, /* Place holder in jump table */
QNX_IO_RSVD_UNLOCK_OCB, /* Place holder in jump table */
QNX_IO_SYNC,
QNX_IO_POWER
@@ -584,7 +584,7 @@ enum _io__Uint16types
*/
enum _io_connect_subtypes
{
- QNX_IO_CONNECT_COMBINE, /* Combine with IO msg */
+ QNX_IO_CONNECT_COMBINE, /* Combine with IO msg */
QNX_IO_CONNECT_COMBINE_CLOSE, /* Combine with IO msg and always close */
QNX_IO_CONNECT_OPEN,
QNX_IO_CONNECT_UNLINK,
@@ -592,7 +592,7 @@ enum _io_connect_subtypes
QNX_IO_CONNECT_MKNOD,
QNX_IO_CONNECT_READLINK,
QNX_IO_CONNECT_LINK,
- QNX_IO_CONNECT_RSVD_UNBLOCK, /* Place holder in jump table */
+ QNX_IO_CONNECT_RSVD_UNBLOCK, /* Place holder in jump table */
QNX_IO_CONNECT_MOUNT
};
@@ -624,29 +624,28 @@ static const value_string qnet6_ver_vals[] = {
{0, NULL}
};
-#define QNET_L4_TYPE_USER_DATA 0x0
-#define QNET_L4_TYPE_TCS_INIT 0x1
-#define QNET_L4_TYPE_TCS_REM_UP 0x2
-#define QNET_L4_TYPE_TCS_UP 0x3
-#define QNET_L4_TYPE_TCS_DOWN 0x4
-#define QNET_L4_TYPE_TCS_REM_DOWN 0x5
+#define QNET_L4_TYPE_USER_DATA 0x0
+#define QNET_L4_TYPE_TCS_INIT 0x1
+#define QNET_L4_TYPE_TCS_REM_UP 0x2
+#define QNET_L4_TYPE_TCS_UP 0x3
+#define QNET_L4_TYPE_TCS_DOWN 0x4
+#define QNET_L4_TYPE_TCS_REM_DOWN 0x5
#define QNET_L4_TYPE_USER 0x8
#define QNET_L4_TYPE_ACK 0x9
#define QNET_L4_TYPE_NACK 0xa
#define QNET_L4_TYPE_LRES 0xb
static const value_string qnet6_type_vals[] = {
- {QNET_L4_TYPE_USER_DATA, "LWL4 user data packet"},
- {QNET_L4_TYPE_TCS_INIT, "LWL4 TX establishing connection"},
- {QNET_L4_TYPE_TCS_REM_UP, "LWL4 RX node UP"},
- {QNET_L4_TYPE_TCS_UP, "LWL4 TX node UP"},
- {QNET_L4_TYPE_TCS_DOWN, "LWL4 RX tears connection down"},
+ {QNET_L4_TYPE_USER_DATA, "LWL4 user data packet"},
+ {QNET_L4_TYPE_TCS_INIT, "LWL4 TX establishing connection"},
+ {QNET_L4_TYPE_TCS_REM_UP, "LWL4 RX node UP"},
+ {QNET_L4_TYPE_TCS_UP, "LWL4 TX node UP"},
+ {QNET_L4_TYPE_TCS_DOWN, "LWL4 RX tears connection down"},
{QNET_L4_TYPE_TCS_REM_DOWN, "LWL4 RX tears connection down"},
- {QNET_L4_TYPE_USER, "LWL4 Data packet"},
- {QNET_L4_TYPE_ACK, "LWL4 Ack packet"},
- {QNET_L4_TYPE_NACK, "LWL4 Nack packet"},
- {QNET_L4_TYPE_LRES, "LWL4 Lan Resolver packets"},
-
+ {QNET_L4_TYPE_USER, "LWL4 Data packet"},
+ {QNET_L4_TYPE_ACK, "LWL4 Ack packet"},
+ {QNET_L4_TYPE_NACK, "LWL4 Nack packet"},
+ {QNET_L4_TYPE_LRES, "LWL4 Lan Resolver packets"},
{0, NULL}
};
@@ -660,8 +659,8 @@ static const value_string qnet6_type_vals[] = {
#define QNET_L4_LAYER_SEQ 3
static const value_string qnet6_layer_vals[] = {
{QNET_L4_LAYER_KIF, "Kernel Interface"},
- {QNET_L4_LAYER_NR, "Node Resolver"},
- {QNET_L4_LAYER_LR, "Lan Resolver"},
+ {QNET_L4_LAYER_NR, "Node Resolver"},
+ {QNET_L4_LAYER_LR, "Lan Resolver"},
{QNET_L4_LAYER_SEQ, "Sequence"},
{0, NULL}
};
@@ -672,9 +671,9 @@ static const value_string qnet6_layer_vals[] = {
#define QNET_L4_QOS_TYPE_PREFERRED 3
static const value_string qnet6_qos_type_vals[] = {
{QNET_L4_QOS_TYPE_LOADBALANCE, "Load balance"},
- {QNET_L4_QOS_TYPE_REDUDANT, "Redudant"},
- {QNET_L4_QOS_TYPE_EXCLUSIVE, "Exclusive or Sequential"},
- {QNET_L4_QOS_TYPE_PREFERRED, "Preferred link"},
+ {QNET_L4_QOS_TYPE_REDUDANT, "Redudant"},
+ {QNET_L4_QOS_TYPE_EXCLUSIVE, "Exclusive or Sequential"},
+ {QNET_L4_QOS_TYPE_PREFERRED, "Preferred link"},
{0, NULL}
};
@@ -687,8 +686,7 @@ static const value_string qnet6_lr_ver_vals[] = {
#define QNET_LR_TYPE_REPLY 0x2
static const value_string qnet6_lr_type_vals[] = {
{QNET_LR_TYPE_REQUEST, "Request"},
- {QNET_LR_TYPE_REPLY, "Reply"},
-
+ {QNET_LR_TYPE_REPLY, "Reply"},
{0, NULL}
};
@@ -725,113 +723,111 @@ enum QNET_KIF_MSGTYPE
*/
enum QNX_DCMD_DEF
{
- QNX_DCMD_ALL = 0x01,
- QNX_DCMD_FSYS = 0x02,
- QNX_DCMD_BLK = QNX_DCMD_FSYS,
- QNX_DCMD_CHR = 0x03,
- QNX_DCMD_NET = 0x04,
- QNX_DCMD_MISC = 0x05,
- QNX_DCMD_IP = 0x06,
- QNX_DCMD_MIXER = 0x07,
- QNX_DCMD_PROC = 0x08,
- QNX_DCMD_MEM = 0x09,
- QNX_DCMD_INPUT = 0x0A,
- QNX_DCMD_PHOTON = 0x0B,
- QNX_DCMD_CAM = 0x0C,
- QNX_DCMD_USB = 0x0D,
- QNX_DCMD_MEDIA = 0x0E,
- QNX_DCMD_CAM_SIM = 0x0F,
- QNX_DCMD_MEMCLASS = 0x10,
+ QNX_DCMD_ALL = 0x01,
+ QNX_DCMD_FSYS = 0x02,
+ QNX_DCMD_BLK = QNX_DCMD_FSYS,
+ QNX_DCMD_CHR = 0x03,
+ QNX_DCMD_NET = 0x04,
+ QNX_DCMD_MISC = 0x05,
+ QNX_DCMD_IP = 0x06,
+ QNX_DCMD_MIXER = 0x07,
+ QNX_DCMD_PROC = 0x08,
+ QNX_DCMD_MEM = 0x09,
+ QNX_DCMD_INPUT = 0x0A,
+ QNX_DCMD_PHOTON = 0x0B,
+ QNX_DCMD_CAM = 0x0C,
+ QNX_DCMD_USB = 0x0D,
+ QNX_DCMD_MEDIA = 0x0E,
+ QNX_DCMD_CAM_SIM = 0x0F,
+ QNX_DCMD_MEMCLASS = 0x10,
QNX_DCMD_PARTITION = 0x11,
QNX_DCMD_IOCTL_TTY = 't',
- QNX_DCMD_CTTY = 'T',
- QNX_DCMD_FCTL = 'f'
+ QNX_DCMD_CTTY = 'T',
+ QNX_DCMD_FCTL = 'f'
};
enum qnx_mgr_types
{
- _IOMGR_FSYS = 0x02,
- _IOMGR_TCPIP = 0x06,
- _IOMGR_PHOTON = 0x0B,
- _IOMGR_CAM = 0x0C,
- _IOMGR_PCI = 0x0d,
- _IOMGR_NETMGR = 0x0e,
+ _IOMGR_FSYS = 0x02,
+ _IOMGR_TCPIP = 0x06,
+ _IOMGR_PHOTON = 0x0B,
+ _IOMGR_CAM = 0x0C,
+ _IOMGR_PCI = 0x0d,
+ _IOMGR_NETMGR = 0x0e,
_IOMGR_REGISTRY = 0x10,
- _IOMGR_PCCARD = 0x11,
- _IOMGR_USB = 0x12,
- _IOMGR_MEDIA = 0x13,
- _IOMGR_PMM = 0x14,
- _IOMGR_DISPLAY = 0x15,
- _IOMGR_INPUT = 0x16
+ _IOMGR_PCCARD = 0x11,
+ _IOMGR_USB = 0x12,
+ _IOMGR_MEDIA = 0x13,
+ _IOMGR_PMM = 0x14,
+ _IOMGR_DISPLAY = 0x15,
+ _IOMGR_INPUT = 0x16
};
static const value_string qnet6_kif_mgr_types_vals[] = {
- {_IOMGR_FSYS, "_IOMGR_FSYS"},
- {_IOMGR_TCPIP, "_IOMGR_TCPIP"},
- {_IOMGR_PHOTON, "_IOMGR_PHOTON"},
- {_IOMGR_CAM, "_IOMGR_CAM"},
- {_IOMGR_PCI, "_IOMGR_PCI"},
- {_IOMGR_NETMGR, "_IOMGR_NETMGR "},
+ {_IOMGR_FSYS, "_IOMGR_FSYS"},
+ {_IOMGR_TCPIP, "_IOMGR_TCPIP"},
+ {_IOMGR_PHOTON, "_IOMGR_PHOTON"},
+ {_IOMGR_CAM, "_IOMGR_CAM"},
+ {_IOMGR_PCI, "_IOMGR_PCI"},
+ {_IOMGR_NETMGR, "_IOMGR_NETMGR "},
{_IOMGR_REGISTRY, "_IOMGR_REGISTRY"},
- {_IOMGR_PCCARD, "_IOMGR_PCCARD"},
- {_IOMGR_USB, "_IOMGR_USB"},
- {_IOMGR_MEDIA, "_IOMGR_MEDIA"},
- {_IOMGR_PMM, "_IOMGR_PMM"},
- {_IOMGR_DISPLAY, "_IOMGR_DISPLAY"},
- {_IOMGR_INPUT, "_IOMGR_INPUT"},
+ {_IOMGR_PCCARD, "_IOMGR_PCCARD"},
+ {_IOMGR_USB, "_IOMGR_USB"},
+ {_IOMGR_MEDIA, "_IOMGR_MEDIA"},
+ {_IOMGR_PMM, "_IOMGR_PMM"},
+ {_IOMGR_DISPLAY, "_IOMGR_DISPLAY"},
+ {_IOMGR_INPUT, "_IOMGR_INPUT"},
{0, NULL}
};
static const value_string qnet6_kif_msgtype_vals[] = {
- {QNET_KIF_MSGTYPE_CONNECT, "Connect"},
+ {QNET_KIF_MSGTYPE_CONNECT, "Connect"},
{QNET_KIF_MSGTYPE_CONNECT_MSGSEND, "Connect MsgSend"},
{QNET_KIF_MSGTYPE_CONNECT_SUCCESS, "Connect Success"},
- {QNET_KIF_MSGTYPE_CONNECT_FAIL, "Connect Fail"},
- {QNET_KIF_MSGTYPE_UNBLOCK, "Unblock"},
- {QNET_KIF_MSGTYPE_MSGSEND, "MsgSend"},
- {QNET_KIF_MSGTYPE_MSGREAD, "MsgRead"},
- {QNET_KIF_MSGTYPE_MSGREAD_XFER, "MsgRead_Xfer"},
- {QNET_KIF_MSGTYPE_MSGWRITE, "MsgWrite"},
- {QNET_KIF_MSGTYPE_MSGREPLY, "MsgReply"},
- {QNET_KIF_MSGTYPE_MSGERROR, "MsgError"},
- {QNET_KIF_MSGTYPE_EVENT, "Event"},
- {QNET_KIF_MSGTYPE_PULSE, "Pulse"},
- {QNET_KIF_MSGTYPE_SIGNAL, "Signal"},
- {QNET_KIF_MSGTYPE_DISCONNECT, "Disconnect"},
- {QNET_KIF_MSGTYPE_CONNECT_DEATH, "Connect Death"},
- {QNET_KIF_MSGTYPE_MSGREAD_ERROR, "MsgRead Error"},
- {QNET_KIF_MSGTYPE_CONNECT_PULSE, "Connect Pulse"},
-
+ {QNET_KIF_MSGTYPE_CONNECT_FAIL, "Connect Fail"},
+ {QNET_KIF_MSGTYPE_UNBLOCK, "Unblock"},
+ {QNET_KIF_MSGTYPE_MSGSEND, "MsgSend"},
+ {QNET_KIF_MSGTYPE_MSGREAD, "MsgRead"},
+ {QNET_KIF_MSGTYPE_MSGREAD_XFER, "MsgRead_Xfer"},
+ {QNET_KIF_MSGTYPE_MSGWRITE, "MsgWrite"},
+ {QNET_KIF_MSGTYPE_MSGREPLY, "MsgReply"},
+ {QNET_KIF_MSGTYPE_MSGERROR, "MsgError"},
+ {QNET_KIF_MSGTYPE_EVENT, "Event"},
+ {QNET_KIF_MSGTYPE_PULSE, "Pulse"},
+ {QNET_KIF_MSGTYPE_SIGNAL, "Signal"},
+ {QNET_KIF_MSGTYPE_DISCONNECT, "Disconnect"},
+ {QNET_KIF_MSGTYPE_CONNECT_DEATH, "Connect Death"},
+ {QNET_KIF_MSGTYPE_MSGREAD_ERROR, "MsgRead Error"},
+ {QNET_KIF_MSGTYPE_CONNECT_PULSE, "Connect Pulse"},
{0, NULL}
};
static const value_string qnet6_kif_msgsend_msgtype_vals[] = {
- {QNX_IO_CONNECT, "_IO_CONNECT"},
- {QNX_IO_READ, "_IO_READ"},
- {QNX_IO_WRITE, "_IO_WRITE"},
- {QNX_IO_RSVD_CLOSE_OCB, "_IO_CLOSE_OCB"},
- {QNX_IO_STAT, "_IO_STAT"},
- {QNX_IO_NOTIFY, "_IO_NOTIFY"},
- {QNX_IO_DEVCTL, "_IO_DEVCTL"},
- {QNX_IO_RSVD_UNBLOCK, "_IO_UNBLOCK"},
- {QNX_IO_PATHCONF, "_IO_PATHCONF"},
- {QNX_IO_LSEEK, "_IO_LSEEK"},
- {QNX_IO_CHMOD, "_IO_CHMOD"},
- {QNX_IO_CHOWN, "_IO_CHOWN"},
- {QNX_IO_UTIME, "_IO_UTIME"},
- {QNX_IO_OPENFD, "_IO_OPENFD"},
- {QNX_IO_FDINFO, "_IO_FDINFO"},
- {QNX_IO_LOCK, "_IO_LOCK"},
- {QNX_IO_SPACE, "_IO_SPACE"},
- {QNX_IO_SHUTDOWN, "_IO_SHUTDOWN"},
- {QNX_IO_MMAP, "_IO_MMAP"},
- {QNX_IO_MSG, "_IO_MSG"},
- {QNX_IO_RSVD, "_IO_RESERVED"},
- {QNX_IO_DUP, "_IO_DUP"},
- {QNX_IO_CLOSE, "_IO_CLOSE"},
- {QNX_IO_RSVD_LOCK_OCB, "_IO_LOCK_OCB"},
+ {QNX_IO_CONNECT, "_IO_CONNECT"},
+ {QNX_IO_READ, "_IO_READ"},
+ {QNX_IO_WRITE, "_IO_WRITE"},
+ {QNX_IO_RSVD_CLOSE_OCB, "_IO_CLOSE_OCB"},
+ {QNX_IO_STAT, "_IO_STAT"},
+ {QNX_IO_NOTIFY, "_IO_NOTIFY"},
+ {QNX_IO_DEVCTL, "_IO_DEVCTL"},
+ {QNX_IO_RSVD_UNBLOCK, "_IO_UNBLOCK"},
+ {QNX_IO_PATHCONF, "_IO_PATHCONF"},
+ {QNX_IO_LSEEK, "_IO_LSEEK"},
+ {QNX_IO_CHMOD, "_IO_CHMOD"},
+ {QNX_IO_CHOWN, "_IO_CHOWN"},
+ {QNX_IO_UTIME, "_IO_UTIME"},
+ {QNX_IO_OPENFD, "_IO_OPENFD"},
+ {QNX_IO_FDINFO, "_IO_FDINFO"},
+ {QNX_IO_LOCK, "_IO_LOCK"},
+ {QNX_IO_SPACE, "_IO_SPACE"},
+ {QNX_IO_SHUTDOWN, "_IO_SHUTDOWN"},
+ {QNX_IO_MMAP, "_IO_MMAP"},
+ {QNX_IO_MSG, "_IO_MSG"},
+ {QNX_IO_RSVD, "_IO_RESERVED"},
+ {QNX_IO_DUP, "_IO_DUP"},
+ {QNX_IO_CLOSE, "_IO_CLOSE"},
+ {QNX_IO_RSVD_LOCK_OCB, "_IO_LOCK_OCB"},
{QNX_IO_RSVD_UNLOCK_OCB, "_IO_UNLOCK_OCB"},
- {QNX_IO_SYNC, "_IO_SYNC"},
- {QNX_IO_POWER, "_IO_POWER"},
-
+ {QNX_IO_SYNC, "_IO_SYNC"},
+ {QNX_IO_POWER, "_IO_POWER"},
{0, NULL}
};
@@ -839,61 +835,58 @@ static value_string_ext qnet6_kif_msgsend_msgtype_vals_ext = VALUE_STRING_EXT_IN
static const value_string qnet6_kif_msgsend_msg_connect_subtype_vals[] = {
- {QNX_IO_CONNECT_COMBINE, "_IO_CONNECT_COMBINE"},
+ {QNX_IO_CONNECT_COMBINE, "_IO_CONNECT_COMBINE"},
{QNX_IO_CONNECT_COMBINE_CLOSE, "_IO_CONNECT_COMBINE_CLOSE"},
- {QNX_IO_CONNECT_OPEN, "_IO_CONNECT_OPEN"},
- {QNX_IO_CONNECT_UNLINK, "_IO_CONNECT_UNLINK"},
- {QNX_IO_CONNECT_RENAME, "_IO_CONNECT_RENAME"},
- {QNX_IO_CONNECT_MKNOD, "_IO_CONNECT_MKNOD"},
- {QNX_IO_CONNECT_READLINK, "_IO_CONNECT_READLINK"},
- {QNX_IO_CONNECT_LINK, "_IO_CONNECT_LINK"},
- {QNX_IO_CONNECT_RSVD_UNBLOCK, "_IO_CONNECT_UNBLOCK"},
- {QNX_IO_CONNECT_MOUNT, "_IO_CONNECT_MOUNT"},
+ {QNX_IO_CONNECT_OPEN, "_IO_CONNECT_OPEN"},
+ {QNX_IO_CONNECT_UNLINK, "_IO_CONNECT_UNLINK"},
+ {QNX_IO_CONNECT_RENAME, "_IO_CONNECT_RENAME"},
+ {QNX_IO_CONNECT_MKNOD, "_IO_CONNECT_MKNOD"},
+ {QNX_IO_CONNECT_READLINK, "_IO_CONNECT_READLINK"},
+ {QNX_IO_CONNECT_LINK, "_IO_CONNECT_LINK"},
+ {QNX_IO_CONNECT_RSVD_UNBLOCK, "_IO_CONNECT_UNBLOCK"},
+ {QNX_IO_CONNECT_MOUNT, "_IO_CONNECT_MOUNT"},
{0, NULL}
};
static const value_string qnet6_kif_msgsend_msg_connect_extratype_vals[] = {
- {QNX_IO_CONNECT_EXTRA_NONE, "_IO_CONNECT_EXTRA_NONE"},
- {QNX_IO_CONNECT_EXTRA_LINK, "_IO_CONNECT_EXTRA_LINK"},
- {QNX_IO_CONNECT_EXTRA_SYMLINK, "_IO_CONNECT_EXTRA_SYMLINK"},
- {QNX_IO_CONNECT_EXTRA_MQUEUE, "_IO_CONNECT_EXTRA_MQUEUE"},
- {QNX_IO_CONNECT_EXTRA_PHOTON, "_IO_CONNECT_EXTRA_PHOTON"},
- {QNX_IO_CONNECT_EXTRA_SOCKET, "_IO_CONNECT_EXTRA_SOCKET"},
- {QNX_IO_CONNECT_EXTRA_SEM, "_IO_CONNECT_EXTRA_SEM"},
- {QNX_IO_CONNECT_EXTRA_RESMGR_LINK, "_IO_CONNECT_EXTRA_RESMGR_LINK"},
+ {QNX_IO_CONNECT_EXTRA_NONE, "_IO_CONNECT_EXTRA_NONE"},
+ {QNX_IO_CONNECT_EXTRA_LINK, "_IO_CONNECT_EXTRA_LINK"},
+ {QNX_IO_CONNECT_EXTRA_SYMLINK, "_IO_CONNECT_EXTRA_SYMLINK"},
+ {QNX_IO_CONNECT_EXTRA_MQUEUE, "_IO_CONNECT_EXTRA_MQUEUE"},
+ {QNX_IO_CONNECT_EXTRA_PHOTON, "_IO_CONNECT_EXTRA_PHOTON"},
+ {QNX_IO_CONNECT_EXTRA_SOCKET, "_IO_CONNECT_EXTRA_SOCKET"},
+ {QNX_IO_CONNECT_EXTRA_SEM, "_IO_CONNECT_EXTRA_SEM"},
+ {QNX_IO_CONNECT_EXTRA_RESMGR_LINK, "_IO_CONNECT_EXTRA_RESMGR_LINK"},
{QNX_IO_CONNECT_EXTRA_PROC_SYMLINK, "_IO_CONNECT_EXTRA_PROC_SYMLINK"},
- {QNX_IO_CONNECT_EXTRA_RENAME, "_IO_CONNECT_EXTRA_RENAME"},
- {QNX_IO_CONNECT_EXTRA_MOUNT, "_IO_CONNECT_EXTRA_MOUNT"},
- {QNX_IO_CONNECT_EXTRA_MOUNT_OCB, "_IO_CONNECT_EXTRA_MOUNT_OCB"},
- {QNX_IO_CONNECT_EXTRA_TYMEM, "_IO_CONNECT_EXTRA_TYMEM"},
-
+ {QNX_IO_CONNECT_EXTRA_RENAME, "_IO_CONNECT_EXTRA_RENAME"},
+ {QNX_IO_CONNECT_EXTRA_MOUNT, "_IO_CONNECT_EXTRA_MOUNT"},
+ {QNX_IO_CONNECT_EXTRA_MOUNT_OCB, "_IO_CONNECT_EXTRA_MOUNT_OCB"},
+ {QNX_IO_CONNECT_EXTRA_TYMEM, "_IO_CONNECT_EXTRA_TYMEM"},
{0, NULL}
};
static const value_string qnet6_kif_msgsend_msg_devctl_cmd_class_vals[] = {
- {0, "QNX Reserved"},
- {QNX_DCMD_ALL, "All io servers"},
- {QNX_DCMD_FSYS, "Filesystem or io-blk"},
- {QNX_DCMD_CHR, "Character"},
- {QNX_DCMD_NET, "Network driver"},
- {QNX_DCMD_MISC, "Misc"},
- {QNX_DCMD_IP, "IP"},
- {QNX_DCMD_MIXER, "Mixer"},
- {QNX_DCMD_PROC, "Proc"},
- {QNX_DCMD_MEM, "Mem"},
- {QNX_DCMD_INPUT, "Input"},
- {QNX_DCMD_PHOTON, "Photon"},
- {QNX_DCMD_CAM, "Cam"},
- {QNX_DCMD_USB, "Usb"},
- {QNX_DCMD_MEDIA, "Media"},
- {QNX_DCMD_CAM_SIM, "CamSim"},
- {QNX_DCMD_MEMCLASS, "Memory Partition"},
+ {0, "QNX Reserved"},
+ {QNX_DCMD_ALL, "All io servers"},
+ {QNX_DCMD_FSYS, "Filesystem or io-blk"},
+ {QNX_DCMD_CHR, "Character"},
+ {QNX_DCMD_NET, "Network driver"},
+ {QNX_DCMD_MISC, "Misc"},
+ {QNX_DCMD_IP, "IP"},
+ {QNX_DCMD_MIXER, "Mixer"},
+ {QNX_DCMD_PROC, "Proc"},
+ {QNX_DCMD_MEM, "Mem"},
+ {QNX_DCMD_INPUT, "Input"},
+ {QNX_DCMD_PHOTON, "Photon"},
+ {QNX_DCMD_CAM, "Cam"},
+ {QNX_DCMD_USB, "Usb"},
+ {QNX_DCMD_MEDIA, "Media"},
+ {QNX_DCMD_CAM_SIM, "CamSim"},
+ {QNX_DCMD_MEMCLASS, "Memory Partition"},
{QNX_DCMD_PARTITION, "Adaptive Parition"},
- {QNX_DCMD_CTTY, "T"},
- {QNX_DCMD_FCTL, "f"},
+ {QNX_DCMD_CTTY, "T"},
+ {QNX_DCMD_FCTL, "f"},
{QNX_DCMD_IOCTL_TTY, "IOCTL_TTY"},
-
-
{0, NULL}
};
@@ -901,23 +894,23 @@ static value_string_ext qnet6_kif_msgsend_msg_devctl_cmd_class_vals_ext = VALUE_
enum QNX_DCMD_CC_DEF
{
- QNX_CCMD_DCMD_ALL_GETFLAGS = 0x101,
- QNX_CCMD_DCMD_ALL_SETFLAGS = 0x102,
- QNX_CCMD_DCMD_ALL_GETMOUNTFLAGS = 0x103,
- QNX_CCMD_DCMD_ALL_GETOWN = 0x104,
- QNX_CCMD_DCMD_ALL_SETOWN = 0x105,
- QNX_CCMD_DCMD_ALL_FADVISE = 0x106,
-
- QNX_CCMD_DCMD_PROC_SYSINFO = 0x800,
- QNX_CCMD_DCMD_PROC_INFO = 0x801,
- QNX_CCMD_DCMD_PROC_MAPINFO = 0x802,
- QNX_CCMD_DCMD_PROC_MAPDEBUG = 0x803,
+ QNX_CCMD_DCMD_ALL_GETFLAGS = 0x101,
+ QNX_CCMD_DCMD_ALL_SETFLAGS = 0x102,
+ QNX_CCMD_DCMD_ALL_GETMOUNTFLAGS = 0x103,
+ QNX_CCMD_DCMD_ALL_GETOWN = 0x104,
+ QNX_CCMD_DCMD_ALL_SETOWN = 0x105,
+ QNX_CCMD_DCMD_ALL_FADVISE = 0x106,
+
+ QNX_CCMD_DCMD_PROC_SYSINFO = 0x800,
+ QNX_CCMD_DCMD_PROC_INFO = 0x801,
+ QNX_CCMD_DCMD_PROC_MAPINFO = 0x802,
+ QNX_CCMD_DCMD_PROC_MAPDEBUG = 0x803,
QNX_CCMD_DCMD_PROC_MAPDEBUG_BASE,
QNX_CCMD_DCMD_PROC_SIGNAL,
QNX_CCMD_DCMD_PROC_STOP,
QNX_CCMD_DCMD_PROC_WAITSTOP,
QNX_CCMD_DCMD_PROC_STATUS,
- QNX_CCMD_DCMD_PROC_TIDSTATUS = QNX_CCMD_DCMD_PROC_STATUS,
+ QNX_CCMD_DCMD_PROC_TIDSTATUS = QNX_CCMD_DCMD_PROC_STATUS,
QNX_CCMD_DCMD_PROC_CURTHREAD,
QNX_CCMD_DCMD_PROC_RUN,
QNX_CCMD_DCMD_PROC_GETGREG,
@@ -931,7 +924,7 @@ enum QNX_DCMD_CC_DEF
QNX_CCMD_DCMD_PROC_SET_FLAG,
QNX_CCMD_DCMD_PROC_CLEAR_FLAG,
QNX_CCMD_DCMD_PROC_PAGEDATA,
- QNX_CCMD_DCMD_PROC_GETALTREG, /* 21 */
+ QNX_CCMD_DCMD_PROC_GETALTREG, /* 21 */
QNX_CCMD_DCMD_PROC_SETALTREG,
QNX_CCMD_DCMD_PROC_TIMERS,
QNX_CCMD_DCMD_PROC_IRQS,
@@ -943,69 +936,69 @@ enum QNX_DCMD_CC_DEF
QNX_CCMD_DCMD_PROC_GET_MEMPART_LIST, /* 30 */
QNX_CCMD_DCMD_PROC_ADD_MEMPARTID,
QNX_CCMD_DCMD_PROC_DEL_MEMPARTID,
- QNX_CCMD_DCMD_PROC_CHG_MEMPARTID, /* 33 */
+ QNX_CCMD_DCMD_PROC_CHG_MEMPARTID, /* 33 */
- QNX_CCMD_DCMD_BLK_PARTENTRY = 0x201,
- QNX_CCMD_DCMD_BLK_FORCE_RELEARN = 0x202,
+ QNX_CCMD_DCMD_BLK_PARTENTRY = 0x201,
+ QNX_CCMD_DCMD_BLK_FORCE_RELEARN = 0x202,
/*
* lib/io-char/public/sys/dcmd_chr.h
*/
- QNX_CCMD_DCMD_CHR_TTYINFO = 0x300 + 10,
- QNX_CCMD_DCMD_CHR_SERCTL = 0x300 + 20,
- QNX_CCMD_DCMD_CHR_TCINJECTC = 0x300 + 22,
- QNX_CCMD_DCMD_CHR_TCINJECTR = 0x300 + 23,
- QNX_CCMD_DCMD_CHR_ISATTY = 0x300 + 24,
- QNX_CCMD_DCMD_CHR_GETOBAND = 0x300 + 25,
- QNX_CCMD_DCMD_CHR_ISSIZE = 0x300 + 27,
- QNX_CCMD_DCMD_CHR_OSSIZE = 0x300 + 28,
- QNX_CCMD_DCMD_CHR_PARCTL = 0x300 + 98,
- QNX_CCMD_DCMD_CHR_PNPTEXT = 0x300 + 99,
-
- QNX_CCMD_DCMD_CHR_ISCHARS = ('f' << 0x8) + 127,
-
- QNX_CCMD_DCMD_CHR_TCFLOW = ('T' << 0x8) + 6,
-
- QNX_CCMD_DCMD_CHR_TCGETSID = ('t' << 0x8) + 7,
- QNX_CCMD_DCMD_CHR_TCSETSID = ('t' << 0x8) + 8,
- QNX_CCMD_DCMD_CHR_TCFLUSH = ('t' << 0x8) + 16,
- QNX_CCMD_DCMD_CHR_TCSETATTR = ('t' << 0x8) + 20,
- QNX_CCMD_DCMD_CHR_TCSETATTRD = ('t' << 0x8) + 21,
- QNX_CCMD_DCMD_CHR_TCSETATTRF = ('t' << 0x8) + 22,
- QNX_CCMD_DCMD_CHR_TCGETATTR = ('t' << 0x8) + 19,
- QNX_CCMD_DCMD_CHR_PUTOBAND = ('t' << 0x8) + 26,
- QNX_CCMD_DCMD_CHR_TCDRAIN = ('t' << 0x8) + 94,
- QNX_CCMD_DCMD_CHR_SETSIZE = ('t' << 0x8) + 103,
- QNX_CCMD_DCMD_CHR_GETSIZE = ('t' << 0x8) + 104,
- QNX_CCMD_DCMD_CHR_LINESTATUS = ('t' << 0x8) + 106,
- QNX_CCMD_DCMD_CHR_OSCHARS = ('t' << 0x8) + 115,
- QNX_CCMD_DCMD_CHR_TCSETPGRP = ('t' << 0x8) + 118,
- QNX_CCMD_DCMD_CHR_TCGETPGRP = ('t' << 0x8) + 119,
+ QNX_CCMD_DCMD_CHR_TTYINFO = 0x300 + 10,
+ QNX_CCMD_DCMD_CHR_SERCTL = 0x300 + 20,
+ QNX_CCMD_DCMD_CHR_TCINJECTC = 0x300 + 22,
+ QNX_CCMD_DCMD_CHR_TCINJECTR = 0x300 + 23,
+ QNX_CCMD_DCMD_CHR_ISATTY = 0x300 + 24,
+ QNX_CCMD_DCMD_CHR_GETOBAND = 0x300 + 25,
+ QNX_CCMD_DCMD_CHR_ISSIZE = 0x300 + 27,
+ QNX_CCMD_DCMD_CHR_OSSIZE = 0x300 + 28,
+ QNX_CCMD_DCMD_CHR_PARCTL = 0x300 + 98,
+ QNX_CCMD_DCMD_CHR_PNPTEXT = 0x300 + 99,
+
+ QNX_CCMD_DCMD_CHR_ISCHARS = ('f' << 0x8) + 127,
+
+ QNX_CCMD_DCMD_CHR_TCFLOW = ('T' << 0x8) + 6,
+
+ QNX_CCMD_DCMD_CHR_TCGETSID = ('t' << 0x8) + 7,
+ QNX_CCMD_DCMD_CHR_TCSETSID = ('t' << 0x8) + 8,
+ QNX_CCMD_DCMD_CHR_TCFLUSH = ('t' << 0x8) + 16,
+ QNX_CCMD_DCMD_CHR_TCSETATTR = ('t' << 0x8) + 20,
+ QNX_CCMD_DCMD_CHR_TCSETATTRD = ('t' << 0x8) + 21,
+ QNX_CCMD_DCMD_CHR_TCSETATTRF = ('t' << 0x8) + 22,
+ QNX_CCMD_DCMD_CHR_TCGETATTR = ('t' << 0x8) + 19,
+ QNX_CCMD_DCMD_CHR_PUTOBAND = ('t' << 0x8) + 26,
+ QNX_CCMD_DCMD_CHR_TCDRAIN = ('t' << 0x8) + 94,
+ QNX_CCMD_DCMD_CHR_SETSIZE = ('t' << 0x8) + 103,
+ QNX_CCMD_DCMD_CHR_GETSIZE = ('t' << 0x8) + 104,
+ QNX_CCMD_DCMD_CHR_LINESTATUS = ('t' << 0x8) + 106,
+ QNX_CCMD_DCMD_CHR_OSCHARS = ('t' << 0x8) + 115,
+ QNX_CCMD_DCMD_CHR_TCSETPGRP = ('t' << 0x8) + 118,
+ QNX_CCMD_DCMD_CHR_TCGETPGRP = ('t' << 0x8) + 119,
/*
* lib/malloc/public/malloc_g/malloc-lib.h
*/
- QNX_CCMD_DCMD_DBGMEM_ADDSYM = 0x500 + 0,
- QNX_CCMD_DCMD_DBGMEM_REGISTER = 0x500 + 1,
+ QNX_CCMD_DCMD_DBGMEM_ADDSYM = 0x500 + 0,
+ QNX_CCMD_DCMD_DBGMEM_REGISTER = 0x500 + 1,
/*
* services/io-fs/lib/public/sys/dmd_dio.h
*/
- QNX_CCMD_DCMD_DIO_DEVICE = 0xf00 + 1,
- QNX_CCMD_DCMD_DIO_ALLOC = 0xf00 + 2,
- QNX_CCMD_DCMD_DIO_IO = 0xf00 + 3,
+ QNX_CCMD_DCMD_DIO_DEVICE = 0xf00 + 1,
+ QNX_CCMD_DCMD_DIO_ALLOC = 0xf00 + 2,
+ QNX_CCMD_DCMD_DIO_IO = 0xf00 + 3,
/*
* services/dumper/public/sys/dcmd_dumper.h
*/
- QNX_CCMD_DCMD_DUMPER_NOTIFYEVENT = 0x500 + 1,
- QNX_CCMD_DCMD_DUMPER_REMOVEALL = 0x500 + 3,
- QNX_CCMD_DCMD_DUMPER_REMOVEEVENT = 0x500 + 2,
+ QNX_CCMD_DCMD_DUMPER_NOTIFYEVENT = 0x500 + 1,
+ QNX_CCMD_DCMD_DUMPER_REMOVEALL = 0x500 + 3,
+ QNX_CCMD_DCMD_DUMPER_REMOVEEVENT = 0x500 + 2,
- QNX_CCMD_DCMD_FSYS_FORCE_RELEARN = 0x200 + 2,
- QNX_CCMD_DCMD_FSYS_STATISTICS = 0x200 + 11,
+ QNX_CCMD_DCMD_FSYS_FORCE_RELEARN = 0x200 + 2,
+ QNX_CCMD_DCMD_FSYS_STATISTICS = 0x200 + 11,
QNX_CCMD_DCMD_FSYS_STATISTICS_CLR = 0x200 + 12,
- QNX_CCMD_DCMD_FSYS_STATVFS = 0x200 + 13,
+ QNX_CCMD_DCMD_FSYS_STATVFS = 0x200 + 13,
QNX_CCMD_DCMD_FSYS_PREGROW_FILE,
QNX_CCMD_DCMD_FSYS_DIRECT_IO,
QNX_CCMD_DCMD_FSYS_MOUNTED_ON,
@@ -1013,35 +1006,35 @@ enum QNX_DCMD_CC_DEF
QNX_CCMD_DCMD_FSYS_MOUNTED_BY,
QNX_CCMD_DCMD_FSYS_OPTIONS,
QNX_CCMD_DCMD_FSYS_FILE_FLAGS,
- QNX_CCMD_DCMD_FSYS_MAP_OFFSET = 0x200 + 21,
+ QNX_CCMD_DCMD_FSYS_MAP_OFFSET = 0x200 + 21,
/*
* services/io-fs/lib/public/sys/dcmd_fsys.h
*/
- QNX_CCMD_DCMD_FSYS_UUID = 0x200 + 21, /* same with the MAP_OFFSET */
+ QNX_CCMD_DCMD_FSYS_UUID = 0x200 + 21, /* same with the MAP_OFFSET */
QNX_CCMD_DCMD_FSYS_DIR_NFILES,
QNX_CCMD_DCMD_FSYS_PASS_USE,
QNX_CCMD_DCMD_FSYS_PASS_CHG,
QNX_CCMD_DCMD_FSYS_PASS_NEW,
- QNX_CCMD_DCMD_FSYS_CACHE_SET = 0x200 + 26,
+ QNX_CCMD_DCMD_FSYS_CACHE_SET = 0x200 + 26,
/*
* services/io-fs/lib/public/sys/dcmd_media.h
*/
- QNX_CCMD_DCMD_MEDIA_SONG = 0xe00 + 100,
- QNX_CCMD_DCMD_MEDIA_ALBUM = 0xe00 + 101,
+ QNX_CCMD_DCMD_MEDIA_SONG = 0xe00 + 100,
+ QNX_CCMD_DCMD_MEDIA_ALBUM = 0xe00 + 101,
QNX_CCMD_DCMD_MEDIA_ARTIST,
QNX_CCMD_DCMD_MEDIA_GENRE,
QNX_CCMD_DCMD_MEDIA_COMPOSER,
QNX_CCMD_DCMD_MEDIA_RELEASE_DATE,
QNX_CCMD_DCMD_MEDIA_TRACK_NUM,
- QNX_CCMD_DCMD_MEDIA_PUBLISHER = 0xe00 + 107, /* from */
- QNX_CCMD_DCMD_MEDIA_DURATION = 0xe00 + 107, /* no direction */
+ QNX_CCMD_DCMD_MEDIA_PUBLISHER = 0xe00 + 107, /* from */
+ QNX_CCMD_DCMD_MEDIA_DURATION = 0xe00 + 107, /* no direction */
QNX_CCMD_DCMD_MEDIA_NAME, /* 108 */
- QNX_CCMD_DCMD_MEDIA_INFO_STREAM = 0xe00 + 114, /* 114 */
+ QNX_CCMD_DCMD_MEDIA_INFO_STREAM = 0xe00 + 114, /* 114 */
QNX_CCMD_DCMD_MEDIA_OPEN_STREAM,
QNX_CCMD_DCMD_MEDIA_CLOSE_STREAM,
QNX_CCMD_DCMD_MEDIA_SET_STREAM,
@@ -1054,7 +1047,7 @@ enum QNX_DCMD_CC_DEF
QNX_CCMD_DCMD_MEDIA_DRM_LICENSE,
QNX_CCMD_DCMD_MEDIA_DRM_CHALLENGE, /* 125 */
- QNX_CCMD_DCMD_MEDIA_PLAY = 0xe00 + 10,
+ QNX_CCMD_DCMD_MEDIA_PLAY = 0xe00 + 10,
QNX_CCMD_DCMD_MEDIA_PLAY_AT,
QNX_CCMD_DCMD_MEDIA_PAUSE,
QNX_CCMD_DCMD_MEDIA_RESUME,
@@ -1068,16 +1061,16 @@ enum QNX_DCMD_CC_DEF
QNX_CCMD_DCMD_MEDIA_GET_REPEAT,
QNX_CCMD_DCMD_MEDIA_SET_REPEAT,
- QNX_CCMD_DCMD_MEDIA_DEBUG0 = 0xe00 + 200,
+ QNX_CCMD_DCMD_MEDIA_DEBUG0 = 0xe00 + 200,
QNX_CCMD_DCMD_MEDIA_DEBUG1,
QNX_CCMD_DCMD_MEDIA_DEBUG2,
QNX_CCMD_DCMD_MEDIA_DEBUG3,
QNX_CCMD_DCMD_MEDIA_DEBUG4,
QNX_CCMD_DCMD_MEDIA_DEBUG5,
- QNX_CCMD_DCMD_IO_NET_MAX_QUEUE = 0x400 + 10,
- QNX_CCMD_DCMD_IO_NET_PROMISCUOUS = 0x400 + 12,
- QNX_CCMD_DCMD_IO_NET_WIFI = 0x400 + 14,
+ QNX_CCMD_DCMD_IO_NET_MAX_QUEUE = 0x400 + 10,
+ QNX_CCMD_DCMD_IO_NET_PROMISCUOUS = 0x400 + 12,
+ QNX_CCMD_DCMD_IO_NET_WIFI = 0x400 + 14,
QNX_CCMD_DCMD_IO_NET_REDIRECT_BELOW,
QNX_CCMD_DCMD_IO_NET_VERSION,
QNX_CCMD_DCMD_IO_NET_CHANGE_MCAST,
@@ -1092,111 +1085,108 @@ enum QNX_DCMD_CC_DEF
* from services/system/public/sys/procfs.h
*/
static const value_string qnet6_kif_msg_devctl_cmd_class_vals[] = {
- {QNX_CCMD_DCMD_BLK_PARTENTRY, "DCMD_BLK_PARTENTRY"},
- {QNX_CCMD_DCMD_BLK_FORCE_RELEARN, "DCMD_BLK_FORCE_RELEARN"},
- {QNX_CCMD_DCMD_FSYS_FORCE_RELEARN, "DCMD_FSYS_FORCE_RELEARN"},
- {QNX_CCMD_DCMD_FSYS_STATISTICS, "DCMD_FSYS_STATISTICS"},
- {QNX_CCMD_DCMD_FSYS_STATISTICS_CLR, "DCMD_FSYS_STATISTICS_CLR"},
- {QNX_CCMD_DCMD_FSYS_STATVFS, "DCMD_FSYS_STATVFS"},
- {QNX_CCMD_DCMD_FSYS_PREGROW_FILE, "DCMD_FSYS_PREGROW_FILE"},
- {QNX_CCMD_DCMD_FSYS_DIRECT_IO, "DCMD_FSYS_DIRECT_IO"},
- {QNX_CCMD_DCMD_FSYS_MOUNTED_ON, "DCMD_FSYS_MOUNTED_ON"},
- {QNX_CCMD_DCMD_FSYS_MOUNTED_AT, "DCMD_FSYS_MOUNTED_AT"},
- {QNX_CCMD_DCMD_FSYS_MOUNTED_BY, "DCMD_FSYS_MOUNTED_BY"},
- {QNX_CCMD_DCMD_FSYS_OPTIONS, "DCMD_FSYS_OPTIONS"},
- {QNX_CCMD_DCMD_FSYS_FILE_FLAGS, "DCMD_FSYS_FILE_FLAGS"},
- {QNX_CCMD_DCMD_FSYS_MAP_OFFSET, "DCMD_FSYS_MAP_OFFSET"},
- {QNX_CCMD_DCMD_FSYS_UUID, "DCMD_FSYS_UUID"},
- {QNX_CCMD_DCMD_FSYS_DIR_NFILES, "DCMD_FSYS_DIR_NFILES"},
- {QNX_CCMD_DCMD_FSYS_PASS_USE, "DCMD_FSYS_PASS_USE"},
- {QNX_CCMD_DCMD_FSYS_PASS_CHG, "DCMD_FSYS_PASS_CHG"},
- {QNX_CCMD_DCMD_FSYS_PASS_NEW, "DCMD_FSYS_PASS_NEW"},
- {QNX_CCMD_DCMD_FSYS_CACHE_SET, "DCMD_FSYS_CACHE_SET"},
- {QNX_CCMD_DCMD_CHR_TTYINFO, "DCMD_CHR_TTYINFO"},
- {QNX_CCMD_DCMD_CHR_SERCTL, "DCMD_CHR_SERCTL"},
- {QNX_CCMD_DCMD_CHR_TCINJECTC, "DCMD_CHR_TCINJECTC"},
- {QNX_CCMD_DCMD_CHR_TCINJECTR, "DCMD_CHR_TCINJECTR"},
- {QNX_CCMD_DCMD_CHR_ISATTY, "DCMD_CHR_ISATTY"},
- {QNX_CCMD_DCMD_CHR_GETOBAND, "DCMD_CHR_GETOBAND"},
- {QNX_CCMD_DCMD_CHR_ISSIZE, "DCMD_CHR_ISSIZE"},
- {QNX_CCMD_DCMD_CHR_OSSIZE, "DCMD_CHR_OSSIZE"},
- {QNX_CCMD_DCMD_CHR_PARCTL, "DCMD_CHR_PARCTL"},
- {QNX_CCMD_DCMD_CHR_PNPTEXT, "DCMD_CHR_PNPTEXT"},
- {QNX_CCMD_DCMD_IO_NET_MAX_QUEUE, "DCMD_IO_NET_MAX_QUEUE"},
- {QNX_CCMD_DCMD_IO_NET_PROMISCUOUS, "DCMD_IO_NET_PROMISCUOUS"},
- {QNX_CCMD_DCMD_IO_NET_WIFI, "DCMD_IO_NET_WIFI"},
+ {QNX_CCMD_DCMD_BLK_PARTENTRY, "DCMD_BLK_PARTENTRY"},
+ {QNX_CCMD_DCMD_BLK_FORCE_RELEARN, "DCMD_BLK_FORCE_RELEARN"},
+ {QNX_CCMD_DCMD_FSYS_FORCE_RELEARN, "DCMD_FSYS_FORCE_RELEARN"},
+ {QNX_CCMD_DCMD_FSYS_STATISTICS, "DCMD_FSYS_STATISTICS"},
+ {QNX_CCMD_DCMD_FSYS_STATISTICS_CLR, "DCMD_FSYS_STATISTICS_CLR"},
+ {QNX_CCMD_DCMD_FSYS_STATVFS, "DCMD_FSYS_STATVFS"},
+ {QNX_CCMD_DCMD_FSYS_PREGROW_FILE, "DCMD_FSYS_PREGROW_FILE"},
+ {QNX_CCMD_DCMD_FSYS_DIRECT_IO, "DCMD_FSYS_DIRECT_IO"},
+ {QNX_CCMD_DCMD_FSYS_MOUNTED_ON, "DCMD_FSYS_MOUNTED_ON"},
+ {QNX_CCMD_DCMD_FSYS_MOUNTED_AT, "DCMD_FSYS_MOUNTED_AT"},
+ {QNX_CCMD_DCMD_FSYS_MOUNTED_BY, "DCMD_FSYS_MOUNTED_BY"},
+ {QNX_CCMD_DCMD_FSYS_OPTIONS, "DCMD_FSYS_OPTIONS"},
+ {QNX_CCMD_DCMD_FSYS_FILE_FLAGS, "DCMD_FSYS_FILE_FLAGS"},
+ {QNX_CCMD_DCMD_FSYS_MAP_OFFSET, "DCMD_FSYS_MAP_OFFSET"},
+ {QNX_CCMD_DCMD_FSYS_UUID, "DCMD_FSYS_UUID"},
+ {QNX_CCMD_DCMD_FSYS_DIR_NFILES, "DCMD_FSYS_DIR_NFILES"},
+ {QNX_CCMD_DCMD_FSYS_PASS_USE, "DCMD_FSYS_PASS_USE"},
+ {QNX_CCMD_DCMD_FSYS_PASS_CHG, "DCMD_FSYS_PASS_CHG"},
+ {QNX_CCMD_DCMD_FSYS_PASS_NEW, "DCMD_FSYS_PASS_NEW"},
+ {QNX_CCMD_DCMD_FSYS_CACHE_SET, "DCMD_FSYS_CACHE_SET"},
+ {QNX_CCMD_DCMD_CHR_TTYINFO, "DCMD_CHR_TTYINFO"},
+ {QNX_CCMD_DCMD_CHR_SERCTL, "DCMD_CHR_SERCTL"},
+ {QNX_CCMD_DCMD_CHR_TCINJECTC, "DCMD_CHR_TCINJECTC"},
+ {QNX_CCMD_DCMD_CHR_TCINJECTR, "DCMD_CHR_TCINJECTR"},
+ {QNX_CCMD_DCMD_CHR_ISATTY, "DCMD_CHR_ISATTY"},
+ {QNX_CCMD_DCMD_CHR_GETOBAND, "DCMD_CHR_GETOBAND"},
+ {QNX_CCMD_DCMD_CHR_ISSIZE, "DCMD_CHR_ISSIZE"},
+ {QNX_CCMD_DCMD_CHR_OSSIZE, "DCMD_CHR_OSSIZE"},
+ {QNX_CCMD_DCMD_CHR_PARCTL, "DCMD_CHR_PARCTL"},
+ {QNX_CCMD_DCMD_CHR_PNPTEXT, "DCMD_CHR_PNPTEXT"},
+ {QNX_CCMD_DCMD_IO_NET_MAX_QUEUE, "DCMD_IO_NET_MAX_QUEUE"},
+ {QNX_CCMD_DCMD_IO_NET_PROMISCUOUS, "DCMD_IO_NET_PROMISCUOUS"},
+ {QNX_CCMD_DCMD_IO_NET_WIFI, "DCMD_IO_NET_WIFI"},
{QNX_CCMD_DCMD_IO_NET_REDIRECT_BELOW, "DCMD_IO_NET_REDIRECT_BELOW"},
- {QNX_CCMD_DCMD_IO_NET_VERSION, "DCMD_IO_NET_VERSION"},
- {QNX_CCMD_DCMD_IO_NET_CHANGE_MCAST, "DCMD_IO_NET_CHANGE_MCAST"},
- {QNX_CCMD_DCMD_IO_NET_INSTANCE, "DCMD_IO_NET_INSTANCE"},
- {QNX_CCMD_DCMD_IO_NET_TX_FLUSH, "DCMD_IO_NET_TX_FLUSH"},
- {QNX_CCMD_DCMD_IO_NET_MIIPHY, "DCMD_IO_NET_MIIPHY"},
- {QNX_CCMD_DCMD_IO_NET_GET_CONFIG, "DCMD_IO_NET_GET_CONFIG"},
- {QNX_CCMD_DCMD_DBGMEM_ADDSYM, "DCMD_DBGMEM_ADDSYM"},
- {QNX_CCMD_DCMD_DBGMEM_REGISTER, "DCMD_DBGMEM_REGISTER"},
- {QNX_CCMD_DCMD_DUMPER_NOTIFYEVENT, "DCMD_DUMPER_NOTIFYEVENT"},
- {QNX_CCMD_DCMD_DUMPER_REMOVEEVENT, "DCMD_DUMPER_REMOVEEVENT"},
- {QNX_CCMD_DCMD_DUMPER_REMOVEALL, "DCMD_DUMPER_REMOVEALL"},
- {QNX_CCMD_DCMD_PROC_SYSINFO,
- "DCMD_PROC_SYSINFO:obtain information stored in the system page"},
- {QNX_CCMD_DCMD_PROC_INFO,
- "DCMD_PROC_INFO:obtain information about a specific process"},
+ {QNX_CCMD_DCMD_IO_NET_VERSION, "DCMD_IO_NET_VERSION"},
+ {QNX_CCMD_DCMD_IO_NET_CHANGE_MCAST, "DCMD_IO_NET_CHANGE_MCAST"},
+ {QNX_CCMD_DCMD_IO_NET_INSTANCE, "DCMD_IO_NET_INSTANCE"},
+ {QNX_CCMD_DCMD_IO_NET_TX_FLUSH, "DCMD_IO_NET_TX_FLUSH"},
+ {QNX_CCMD_DCMD_IO_NET_MIIPHY, "DCMD_IO_NET_MIIPHY"},
+ {QNX_CCMD_DCMD_IO_NET_GET_CONFIG, "DCMD_IO_NET_GET_CONFIG"},
+ {QNX_CCMD_DCMD_DBGMEM_ADDSYM, "DCMD_DBGMEM_ADDSYM"},
+ {QNX_CCMD_DCMD_DBGMEM_REGISTER, "DCMD_DBGMEM_REGISTER"},
+ {QNX_CCMD_DCMD_DUMPER_NOTIFYEVENT, "DCMD_DUMPER_NOTIFYEVENT"},
+ {QNX_CCMD_DCMD_DUMPER_REMOVEEVENT, "DCMD_DUMPER_REMOVEEVENT"},
+ {QNX_CCMD_DCMD_DUMPER_REMOVEALL, "DCMD_DUMPER_REMOVEALL"},
+ {QNX_CCMD_DCMD_PROC_SYSINFO, "DCMD_PROC_SYSINFO:obtain information stored in the system page"},
+ {QNX_CCMD_DCMD_PROC_INFO, "DCMD_PROC_INFO:obtain information about a specific process"},
{QNX_CCMD_DCMD_PROC_MAPINFO,
"DCMD_PROC_MAPINFO:obtain segment specific information about mapped memory segments in the specific process "},
{QNX_CCMD_DCMD_PROC_MAPDEBUG,
"DCMD_PROC_MAPDEBUG:used by debuggers to find the object that contains the symbol information"},
- {QNX_CCMD_DCMD_PROC_MAPDEBUG_BASE,
- "PROC_MAPDEBUG_BASE:obtain information pertaining to the path"},
- {QNX_CCMD_DCMD_PROC_SIGNAL, "DCMD_PROC_SIGNAL"},
- {QNX_CCMD_DCMD_PROC_STOP, "DCMD_PROC_STOP"},
- {QNX_CCMD_DCMD_PROC_WAITSTOP, "DCMD_PROC_WAITSTOP"},
- {QNX_CCMD_DCMD_PROC_STATUS, "DCMD_PROC_STATUS or TIDSTATUS"},
- {QNX_CCMD_DCMD_PROC_CURTHREAD, "DCMD_PROC_CURTHREAD"},
- {QNX_CCMD_DCMD_PROC_RUN, "DCMD_PROC_RUN"},
- {QNX_CCMD_DCMD_PROC_GETGREG, "DCMD_PROC_GETGREG"},
- {QNX_CCMD_DCMD_PROC_SETGREG, "DCMD_PROC_SETGREG"},
- {QNX_CCMD_DCMD_PROC_GETFPREG, ""},
- {QNX_CCMD_DCMD_PROC_SETFPREG, "DCMD_PROC_SETFPREG"},
- {QNX_CCMD_DCMD_PROC_BREAK, "DCMD_PROC_BREAK"},
- {QNX_CCMD_DCMD_PROC_FREEZETHREAD, "DCMD_PROC_FREEZETHREAD"},
- {QNX_CCMD_DCMD_PROC_THAWTHREAD, "DCMD_PROC_THAWTHREAD"},
- {QNX_CCMD_DCMD_PROC_EVENT, "DCMD_PROC_EVENT"},
- {QNX_CCMD_DCMD_PROC_SET_FLAG, "DCMD_PROC_SET_FLAG"},
- {QNX_CCMD_DCMD_PROC_CLEAR_FLAG, "DCMD_PROC_CLEAR_FLAG"},
- {QNX_CCMD_DCMD_PROC_PAGEDATA, "DCMD_PROC_PAGEDATA"},
- {QNX_CCMD_DCMD_PROC_GETALTREG, "DCMD_PROC_GETALTREG"}, /* 21 */
- {QNX_CCMD_DCMD_PROC_SETALTREG, "DCMD_PROC_SETALTREG"},
- {QNX_CCMD_DCMD_PROC_TIMERS, "DCMD_PROC_TIMERS"},
- {QNX_CCMD_DCMD_PROC_IRQS, "DCMD_PROC_IRQS"},
- {QNX_CCMD_DCMD_PROC_GETREGSET, "DCMD_PROC_GETREGSET"},
- {QNX_CCMD_DCMD_PROC_SETREGSET, "DCMD_PROC_SETREGSET"},
- {QNX_CCMD_DCMD_PROC_THREADCTL, "DCMD_PROC_THREADCTL"},
- {QNX_CCMD_DCMD_PROC_GET_BREAKLIST, "DCMD_PROC_GET_BREAKLIST"},
- {QNX_CCMD_DCMD_PROC_CHANNELS, "DCMD_PROC_CHANNELS"},
+ {QNX_CCMD_DCMD_PROC_MAPDEBUG_BASE, "PROC_MAPDEBUG_BASE:obtain information pertaining to the path"},
+ {QNX_CCMD_DCMD_PROC_SIGNAL, "DCMD_PROC_SIGNAL"},
+ {QNX_CCMD_DCMD_PROC_STOP, "DCMD_PROC_STOP"},
+ {QNX_CCMD_DCMD_PROC_WAITSTOP, "DCMD_PROC_WAITSTOP"},
+ {QNX_CCMD_DCMD_PROC_STATUS, "DCMD_PROC_STATUS or TIDSTATUS"},
+ {QNX_CCMD_DCMD_PROC_CURTHREAD, "DCMD_PROC_CURTHREAD"},
+ {QNX_CCMD_DCMD_PROC_RUN, "DCMD_PROC_RUN"},
+ {QNX_CCMD_DCMD_PROC_GETGREG, "DCMD_PROC_GETGREG"},
+ {QNX_CCMD_DCMD_PROC_SETGREG, "DCMD_PROC_SETGREG"},
+ {QNX_CCMD_DCMD_PROC_GETFPREG, ""},
+ {QNX_CCMD_DCMD_PROC_SETFPREG, "DCMD_PROC_SETFPREG"},
+ {QNX_CCMD_DCMD_PROC_BREAK, "DCMD_PROC_BREAK"},
+ {QNX_CCMD_DCMD_PROC_FREEZETHREAD, "DCMD_PROC_FREEZETHREAD"},
+ {QNX_CCMD_DCMD_PROC_THAWTHREAD, "DCMD_PROC_THAWTHREAD"},
+ {QNX_CCMD_DCMD_PROC_EVENT, "DCMD_PROC_EVENT"},
+ {QNX_CCMD_DCMD_PROC_SET_FLAG, "DCMD_PROC_SET_FLAG"},
+ {QNX_CCMD_DCMD_PROC_CLEAR_FLAG, "DCMD_PROC_CLEAR_FLAG"},
+ {QNX_CCMD_DCMD_PROC_PAGEDATA, "DCMD_PROC_PAGEDATA"},
+ {QNX_CCMD_DCMD_PROC_GETALTREG, "DCMD_PROC_GETALTREG"}, /* 21 */
+ {QNX_CCMD_DCMD_PROC_SETALTREG, "DCMD_PROC_SETALTREG"},
+ {QNX_CCMD_DCMD_PROC_TIMERS, "DCMD_PROC_TIMERS"},
+ {QNX_CCMD_DCMD_PROC_IRQS, "DCMD_PROC_IRQS"},
+ {QNX_CCMD_DCMD_PROC_GETREGSET, "DCMD_PROC_GETREGSET"},
+ {QNX_CCMD_DCMD_PROC_SETREGSET, "DCMD_PROC_SETREGSET"},
+ {QNX_CCMD_DCMD_PROC_THREADCTL, "DCMD_PROC_THREADCTL"},
+ {QNX_CCMD_DCMD_PROC_GET_BREAKLIST, "DCMD_PROC_GET_BREAKLIST"},
+ {QNX_CCMD_DCMD_PROC_CHANNELS, "DCMD_PROC_CHANNELS"},
{QNX_CCMD_DCMD_PROC_GET_MEMPART_LIST, "DCMD_PROC_GET_MEMPART_LIST"}, /* 30 */
- {QNX_CCMD_DCMD_PROC_ADD_MEMPARTID, "DCMD_PROC_ADD_MEMPARTID"},
- {QNX_CCMD_DCMD_PROC_DEL_MEMPARTID, "DCMD_PROC_DEL_MEMPARTID"},
- {QNX_CCMD_DCMD_PROC_CHG_MEMPARTID, "DCMD_PROC_CHG_MEMPARTID"}, /* 33 */
- {QNX_CCMD_DCMD_DIO_DEVICE, "DCMD_DIO_DEVICE"},
- {QNX_CCMD_DCMD_DIO_ALLOC, "DCMD_DIO_ALLOC"},
- {QNX_CCMD_DCMD_DIO_IO, "DCMD_DIO_IO"},
- {QNX_CCMD_DCMD_CHR_TCFLOW, "DCMD_CHR_TCFLOW"},
- {QNX_CCMD_DCMD_CHR_ISCHARS, "DCMD_CHR_ISCHARS"},
- {QNX_CCMD_DCMD_CHR_TCGETSID, "DCMD_CHR_TCGETSID"},
- {QNX_CCMD_DCMD_CHR_TCSETSID, "DCMD_CHR_TCSETSID"},
- {QNX_CCMD_DCMD_CHR_TCFLUSH, "DCMD_CHR_TCFLUSH"},
- {QNX_CCMD_DCMD_CHR_TCGETATTR, "DCMD_CHR_TCGETATTR"},
- {QNX_CCMD_DCMD_CHR_TCSETATTR, "DCMD_CHR_TCSETATTR"},
- {QNX_CCMD_DCMD_CHR_TCSETATTRD, "DCMD_CHR_TCSETATTRD"},
- {QNX_CCMD_DCMD_CHR_TCSETATTRF, "DCMD_CHR_TCSETATTRF"},
- {QNX_CCMD_DCMD_CHR_PUTOBAND, "DCMD_CHR_PUTOBAND"},
- {QNX_CCMD_DCMD_CHR_TCDRAIN, "DCMD_CHR_TCDRAIN"},
- {QNX_CCMD_DCMD_CHR_SETSIZE, "DCMD_CHR_SETSIZE"},
- {QNX_CCMD_DCMD_CHR_GETSIZE, "DCMD_CHR_GETSIZE"},
- {QNX_CCMD_DCMD_CHR_LINESTATUS, "DCMD_CHR_LINESTATUS"},
- {QNX_CCMD_DCMD_CHR_OSCHARS, "DCMD_CHR_OSCHARS"},
- {QNX_CCMD_DCMD_CHR_TCSETPGRP, "DCMD_CHR_TCSETPGRP"},
- {QNX_CCMD_DCMD_CHR_TCGETPGRP, "DCMD_CHR_TCGETPGRP"},
+ {QNX_CCMD_DCMD_PROC_ADD_MEMPARTID, "DCMD_PROC_ADD_MEMPARTID"},
+ {QNX_CCMD_DCMD_PROC_DEL_MEMPARTID, "DCMD_PROC_DEL_MEMPARTID"},
+ {QNX_CCMD_DCMD_PROC_CHG_MEMPARTID, "DCMD_PROC_CHG_MEMPARTID"}, /* 33 */
+ {QNX_CCMD_DCMD_DIO_DEVICE, "DCMD_DIO_DEVICE"},
+ {QNX_CCMD_DCMD_DIO_ALLOC, "DCMD_DIO_ALLOC"},
+ {QNX_CCMD_DCMD_DIO_IO, "DCMD_DIO_IO"},
+ {QNX_CCMD_DCMD_CHR_TCFLOW, "DCMD_CHR_TCFLOW"},
+ {QNX_CCMD_DCMD_CHR_ISCHARS, "DCMD_CHR_ISCHARS"},
+ {QNX_CCMD_DCMD_CHR_TCGETSID, "DCMD_CHR_TCGETSID"},
+ {QNX_CCMD_DCMD_CHR_TCSETSID, "DCMD_CHR_TCSETSID"},
+ {QNX_CCMD_DCMD_CHR_TCFLUSH, "DCMD_CHR_TCFLUSH"},
+ {QNX_CCMD_DCMD_CHR_TCGETATTR, "DCMD_CHR_TCGETATTR"},
+ {QNX_CCMD_DCMD_CHR_TCSETATTR, "DCMD_CHR_TCSETATTR"},
+ {QNX_CCMD_DCMD_CHR_TCSETATTRD, "DCMD_CHR_TCSETATTRD"},
+ {QNX_CCMD_DCMD_CHR_TCSETATTRF, "DCMD_CHR_TCSETATTRF"},
+ {QNX_CCMD_DCMD_CHR_PUTOBAND, "DCMD_CHR_PUTOBAND"},
+ {QNX_CCMD_DCMD_CHR_TCDRAIN, "DCMD_CHR_TCDRAIN"},
+ {QNX_CCMD_DCMD_CHR_SETSIZE, "DCMD_CHR_SETSIZE"},
+ {QNX_CCMD_DCMD_CHR_GETSIZE, "DCMD_CHR_GETSIZE"},
+ {QNX_CCMD_DCMD_CHR_LINESTATUS, "DCMD_CHR_LINESTATUS"},
+ {QNX_CCMD_DCMD_CHR_OSCHARS, "DCMD_CHR_OSCHARS"},
+ {QNX_CCMD_DCMD_CHR_TCSETPGRP, "DCMD_CHR_TCSETPGRP"},
+ {QNX_CCMD_DCMD_CHR_TCGETPGRP, "DCMD_CHR_TCGETPGRP"},
{0, NULL}
};
@@ -1213,21 +1203,21 @@ enum qnx_io_msg_xtypes
QNX_IO_XTYPE_REGISTRY
};
static const value_string qnet6_kif_msgsend_msg_io_read_xtypes_vals[] = {
- {QNX_IO_XTYPE_NONE, "_IO_XTYPE_NONE"},
- {QNX_IO_XTYPE_READCOND, "_IO_XTYPE_READCOND"},
- {QNX_IO_XTYPE_MQUEUE, "_IO_XTYPE_MQUEUE"},
- {QNX_IO_XTYPE_TCPIP, "_IO_XTYPE_TCPIP"},
+ {QNX_IO_XTYPE_NONE, "_IO_XTYPE_NONE"},
+ {QNX_IO_XTYPE_READCOND, "_IO_XTYPE_READCOND"},
+ {QNX_IO_XTYPE_MQUEUE, "_IO_XTYPE_MQUEUE"},
+ {QNX_IO_XTYPE_TCPIP, "_IO_XTYPE_TCPIP"},
{QNX_IO_XTYPE_TCPIP_MSG, "_IO_XTYPE_TCPIP_MSG"},
- {QNX_IO_XTYPE_OFFSET, "_IO_XTYPE_OFFSET"},
- {QNX_IO_XTYPE_REGISTRY, "_IO_XTYPE_REGISTRY"},
+ {QNX_IO_XTYPE_OFFSET, "_IO_XTYPE_OFFSET"},
+ {QNX_IO_XTYPE_REGISTRY, "_IO_XTYPE_REGISTRY"},
{0, NULL}
};
enum _file_type
{
QNX_FTYPE_MATCHED = -1,
- QNX_FTYPE_ALL = -1,
- QNX_FTYPE_ANY = 0,
+ QNX_FTYPE_ALL = -1,
+ QNX_FTYPE_ANY = 0,
QNX_FTYPE_FILE,
QNX_FTYPE_LINK,
QNX_FTYPE_SYMLINK,
@@ -1243,21 +1233,21 @@ enum _file_type
QNX_FTYPE_TYMEM
};
static const value_string qnet6_kif_msgsend_msg_connect_filetype_vals[] = {
- {QNX_FTYPE_ALL, "_FTYPE_ALL"},
- {QNX_FTYPE_ANY, "_FTYPE_ANY"},
- {QNX_FTYPE_FILE, "_FTYPE_FILE"},
- {QNX_FTYPE_LINK, "_FTYPE_LINK"},
+ {QNX_FTYPE_ALL, "_FTYPE_ALL"},
+ {QNX_FTYPE_ANY, "_FTYPE_ANY"},
+ {QNX_FTYPE_FILE, "_FTYPE_FILE"},
+ {QNX_FTYPE_LINK, "_FTYPE_LINK"},
{QNX_FTYPE_SYMLINK, "_FTYPE_SYMLINK"},
- {QNX_FTYPE_PIPE, "_FTYPE_PIPE"},
- {QNX_FTYPE_SHMEM, "_FTYPE_SHMEM"},
- {QNX_FTYPE_MQUEUE, "_FTYPE_MQUEUE"},
- {QNX_FTYPE_SOCKET, "_FTYPE_SOCKET"},
- {QNX_FTYPE_SEM, "_FTYPE_SEM"},
- {QNX_FTYPE_PHOTON, "_FTYPE_PHOTON"},
- {QNX_FTYPE_DUMPER, "_FTYPE_DUMPER"},
- {QNX_FTYPE_MOUNT, "_FTYPE_MOUNT"},
- {QNX_FTYPE_NAME, "_FTYPE_NAME"},
- {QNX_FTYPE_TYMEM, "_FTYPE_TYMEM"},
+ {QNX_FTYPE_PIPE, "_FTYPE_PIPE"},
+ {QNX_FTYPE_SHMEM, "_FTYPE_SHMEM"},
+ {QNX_FTYPE_MQUEUE, "_FTYPE_MQUEUE"},
+ {QNX_FTYPE_SOCKET, "_FTYPE_SOCKET"},
+ {QNX_FTYPE_SEM, "_FTYPE_SEM"},
+ {QNX_FTYPE_PHOTON, "_FTYPE_PHOTON"},
+ {QNX_FTYPE_DUMPER, "_FTYPE_DUMPER"},
+ {QNX_FTYPE_MOUNT, "_FTYPE_MOUNT"},
+ {QNX_FTYPE_NAME, "_FTYPE_NAME"},
+ {QNX_FTYPE_TYMEM, "_FTYPE_TYMEM"},
{0, NULL}
};
@@ -1353,19 +1343,18 @@ static const value_string qnet6_kif_msgsend_msg_connect_sflag_vals[] = {
{0x30, "deny read mode"},
{0x40, "deny none mode"},
{0x70, "mask for standard share modes"},
-
{0, NULL}
};
static const value_string qnet6_kif_msgsend_msg_connect_access_vals[] = {
- {0, "not set"},
+ {0x0, "not set"},
{0x1, "read"}, /* IO_FLAG_RD 1 */
{0x2, "write"}, /* IO_FLAG_WR 2 */
{0, NULL}
};
static const value_string qnet6_kif_msgsend_msg_io_seek_whence_vals[] = {
- {0, "SEEK_SET"},
+ {0x0, "SEEK_SET"},
{0x1, "SEEK_CUR"},
{0x2, "SEEK_END"},
{0, NULL}
@@ -1374,18 +1363,18 @@ static const value_string qnet6_kif_msgsend_msg_io_seek_whence_vals[] = {
enum qnx_io_space_subtype_enum
{
QNX_F_ALLOCSP64 = 110,
- QNX_F_FREESP64 = 111
+ QNX_F_FREESP64 = 111
};
static const value_string qnet6_kif_msgsend_msg_io_space_subtype_vals[] = {
{QNX_F_ALLOCSP64, "F_ALLOCSP64"},
- {QNX_F_FREESP64, "F_FREESP64"},
+ {QNX_F_FREESP64, "F_FREESP64"},
{0, NULL}
};
enum pathconf_value
{
- QNX_PC_LINK_MAX = 1,
+ QNX_PC_LINK_MAX = 1,
QNX_PC_MAX_CANON,
QNX_PC_MAX_INPUT,
QNX_PC_NAME_MAX,
@@ -1394,51 +1383,50 @@ enum pathconf_value
QNX_PC_NO_TRUNC,
QNX_PC_VDISABLE,
QNX_PC_CHOWN_RESTRICTED,
- QNX_PC_DOS_SHARE = 10,
- QNX_PC_IMAGE_VADDR = 11,
- QNX_PC_ASYNC_IO = 12,
- QNX_PC_PRIO_IO = 13,
- QNX_PC_SYNC_IO = 14,
- QNX_PC_SOCK_MAXBUF = 15,
- QNX_PC_FILESIZEBITS = 16,
- QNX_PC_SYMLINK_MAX = 17,
- QNX_PC_SYMLOOP_MAX = 18,
- QNX_PC_LINK_DIR = 19,
- QNX_PC_2_SYMLINKS = 20,
- QNX_PC_ALLOC_SIZE_MIN = 21,
+ QNX_PC_DOS_SHARE = 10,
+ QNX_PC_IMAGE_VADDR = 11,
+ QNX_PC_ASYNC_IO = 12,
+ QNX_PC_PRIO_IO = 13,
+ QNX_PC_SYNC_IO = 14,
+ QNX_PC_SOCK_MAXBUF = 15,
+ QNX_PC_FILESIZEBITS = 16,
+ QNX_PC_SYMLINK_MAX = 17,
+ QNX_PC_SYMLOOP_MAX = 18,
+ QNX_PC_LINK_DIR = 19,
+ QNX_PC_2_SYMLINKS = 20,
+ QNX_PC_ALLOC_SIZE_MIN = 21,
QNX_PC_REC_INCR_XFER_SIZE = 22,
- QNX_PC_REC_MAX_XFER_SIZE = 23,
- QNX_PC_REC_MIN_XFER_SIZE = 24,
- QNX_PC_REC_XFER_ALIGN = 25
+ QNX_PC_REC_MAX_XFER_SIZE = 23,
+ QNX_PC_REC_MIN_XFER_SIZE = 24,
+ QNX_PC_REC_XFER_ALIGN = 25
};
static const value_string qnet6_kif_msgsend_msg_io_pathconf_name_vals[] = {
- {QNX_PC_LINK_MAX, "_PC_LINK_MAX"},
- {QNX_PC_MAX_CANON, "_PC_MAX_CANON"},
- {QNX_PC_MAX_INPUT, "_PC_MAX_INPUT"},
- {QNX_PC_NAME_MAX, "_PC_NAME_MAX"},
- {QNX_PC_PATH_MAX, "_PC_PATH_MAX"},
- {QNX_PC_PIPE_BUF, "_PC_PIPE_BUF"},
- {QNX_PC_NO_TRUNC, "_PC_NO_TRUNC"},
- {QNX_PC_VDISABLE, "_PC_VDISABLE"},
- {QNX_PC_CHOWN_RESTRICTED, "_PC_CHOWN_RESTRICTED"},
- {QNX_PC_DOS_SHARE, "_PC_DOS_SHARE"},
- {QNX_PC_IMAGE_VADDR, "_PC_IMAGE_VADDR"},
- {QNX_PC_ASYNC_IO, "_PC_ASYNC_IO"},
- {QNX_PC_PRIO_IO, "_PC_PRIO_IO"},
- {QNX_PC_SYNC_IO, "_PC_SYNC_IO"},
- {QNX_PC_SOCK_MAXBUF, "_PC_SOCK_MAXBUF"},
- {QNX_PC_FILESIZEBITS, "_PC_FILESIZEBITS"},
- {QNX_PC_SYMLINK_MAX, "_PC_SYMLINK_MAX"},
- {QNX_PC_SYMLOOP_MAX, "_PC_SYMLOOP_MAX"},
- {QNX_PC_LINK_DIR, "_PC_LINK_DIR"},
- {QNX_PC_2_SYMLINKS, "_PC_2_SYMLINKS"},
- {QNX_PC_ALLOC_SIZE_MIN, "_PC_ALLOC_SIZE_MIN"},
+ {QNX_PC_LINK_MAX, "_PC_LINK_MAX"},
+ {QNX_PC_MAX_CANON, "_PC_MAX_CANON"},
+ {QNX_PC_MAX_INPUT, "_PC_MAX_INPUT"},
+ {QNX_PC_NAME_MAX, "_PC_NAME_MAX"},
+ {QNX_PC_PATH_MAX, "_PC_PATH_MAX"},
+ {QNX_PC_PIPE_BUF, "_PC_PIPE_BUF"},
+ {QNX_PC_NO_TRUNC, "_PC_NO_TRUNC"},
+ {QNX_PC_VDISABLE, "_PC_VDISABLE"},
+ {QNX_PC_CHOWN_RESTRICTED, "_PC_CHOWN_RESTRICTED"},
+ {QNX_PC_DOS_SHARE, "_PC_DOS_SHARE"},
+ {QNX_PC_IMAGE_VADDR, "_PC_IMAGE_VADDR"},
+ {QNX_PC_ASYNC_IO, "_PC_ASYNC_IO"},
+ {QNX_PC_PRIO_IO, "_PC_PRIO_IO"},
+ {QNX_PC_SYNC_IO, "_PC_SYNC_IO"},
+ {QNX_PC_SOCK_MAXBUF, "_PC_SOCK_MAXBUF"},
+ {QNX_PC_FILESIZEBITS, "_PC_FILESIZEBITS"},
+ {QNX_PC_SYMLINK_MAX, "_PC_SYMLINK_MAX"},
+ {QNX_PC_SYMLOOP_MAX, "_PC_SYMLOOP_MAX"},
+ {QNX_PC_LINK_DIR, "_PC_LINK_DIR"},
+ {QNX_PC_2_SYMLINKS, "_PC_2_SYMLINKS"},
+ {QNX_PC_ALLOC_SIZE_MIN, "_PC_ALLOC_SIZE_MIN"},
{QNX_PC_REC_INCR_XFER_SIZE, "_PC_REC_INCR_XFER_SIZE"},
- {QNX_PC_REC_MAX_XFER_SIZE, "_PC_REC_MAX_XFER_SIZE"},
- {QNX_PC_REC_MIN_XFER_SIZE, "_PC_REC_MIN_XFER_SIZE"},
- {QNX_PC_REC_XFER_ALIGN, "_PC_REC_XFER_ALIGN"},
-
+ {QNX_PC_REC_MAX_XFER_SIZE, "_PC_REC_MAX_XFER_SIZE"},
+ {QNX_PC_REC_MIN_XFER_SIZE, "_PC_REC_MIN_XFER_SIZE"},
+ {QNX_PC_REC_XFER_ALIGN, "_PC_REC_XFER_ALIGN"},
{0, NULL}
};
@@ -1454,10 +1442,10 @@ enum QNX_IO_OPENFD_XTYPES
};
static const value_string qnet6_kif_msgsend_msg_openfd_xtypes_vals[] = {
- {_IO_OPENFD_NONE, "_IO_OPENFD_NONE"},
- {_IO_OPENFD_PIPE, "_IO_OPENFD_PIPE"},
- {_IO_OPENFD_KQUEUE, "_IO_OPENFD_KQUEUE"},
- {_IO_OPENFD_ACCEPT, "_IO_OPENFD_ACCEPT"},
+ {_IO_OPENFD_NONE, "_IO_OPENFD_NONE"},
+ {_IO_OPENFD_PIPE, "_IO_OPENFD_PIPE"},
+ {_IO_OPENFD_KQUEUE, "_IO_OPENFD_KQUEUE"},
+ {_IO_OPENFD_ACCEPT, "_IO_OPENFD_ACCEPT"},
{_IO_OPENFD_SCTP_PEELOFF, "_IO_OPENFD_SCTP_PEELOFF"},
{0, NULL}
};
@@ -1477,9 +1465,6 @@ static gboolean qnet6_lwl4_check_crc = TRUE;
#define QNET_LR_SA_FAMILY_MAC 1
/*
- * Code to actually dissect the packets
- */
-/*
* when dissect_qnet6_lr is called in dissect_qnet6, it has already
* checked whether left length > sizeof(struct qnet6_lr_pkt) so here we
* have to check whether off, len > left length proto_tree_add_text and
@@ -1489,13 +1474,13 @@ static gboolean qnet6_lwl4_check_crc = TRUE;
static int
dissect_qnet6_lr(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, gint * poffset, guint encoding)
{
-#define PAIRS 6
- proto_item *ti;
- proto_tree *stree, *srctree, *dstree, *sstree = NULL;
- guint32 total_len, off, len, rlen;
- gint lr_start, i, hf_index_off = -1, hf_index_len = -1, hf_index = -1;
- guint8 type;
- guint8 const *p, *name[PAIRS];
+#define QNET6_LR_PAIRS 6
+ proto_item *ti;
+ proto_tree *stree, *srctree, *dstree, *sstree = NULL;
+ guint32 total_len, off, len, rlen;
+ gint lr_start, i, hf_index_off = -1, hf_index_len = -1, hf_index = -1;
+ guint8 type;
+ guint8 const *p, *name[QNET6_LR_PAIRS];
col_set_str(pinfo->cinfo, COL_PROTOCOL, "QNET_LR");
@@ -1533,14 +1518,14 @@ dissect_qnet6_lr(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, gint *
dstree = proto_item_add_subtree(ti, ett_qnet6_lr_dst);
rlen = MIN(rlen, total_len);
- for(i = 0; i < PAIRS; i++)
+ for (i = 0; i < QNET6_LR_PAIRS; i++)
{
- if(i < 3)
+ if (i < 3)
stree = srctree;
else
stree = dstree;
- switch(i)
+ switch (i)
{
case 0:
hf_index_off = hf_qnet6_lr_src_name_off;
@@ -1577,7 +1562,7 @@ dissect_qnet6_lr(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, gint *
sstree = proto_tree_add_subtree(stree, tvb, *poffset, 4 * 2,
ett_qnet6_lr_src_name_subtree, NULL, "domain");
break;
- case PAIRS - 1:
+ case QNET6_LR_PAIRS - 1:
hf_index_off = hf_qnet6_lr_dst_addr_off;
hf_index_len = hf_qnet6_lr_dst_addr_len;
hf_index = hf_qnet6_lr_dst_addr_generated;
@@ -1595,12 +1580,16 @@ dissect_qnet6_lr(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, gint *
*poffset += 4;
if ((off <= rlen) && (len <= rlen))
- {/* bad value of source * name */
- name[i] = tvb_get_string_enc(wmem_packet_scope(), tvb, lr_start + off + QNX_QNET6_LR_PKT_SIZE /* sizeof(struct qnet6_lr_pkt) */, len, ENC_ASCII|ENC_NA);
+ { /* bad value of source * name */
+ name[i] = tvb_get_string_enc(wmem_packet_scope(),
+ tvb,
+ lr_start + off + QNX_QNET6_LR_PKT_SIZE /* sizeof(struct qnet6_lr_pkt) */,
+ len,
+ ENC_ASCII|ENC_NA);
/*
* struct qnet6_lr_pkt is 64 bit aligned
*/
- if(i != 2 && i != PAIRS - 1)
+ if (i != 2 && i != QNET6_LR_PAIRS - 1)
{
ti = proto_tree_add_string(sstree, hf_index, tvb, lr_start + off + QNX_QNET6_LR_PKT_SIZE, len, name[i]);
PROTO_ITEM_SET_GENERATED(ti);
@@ -1608,7 +1597,7 @@ dissect_qnet6_lr(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, gint *
else
{
p = name[i];
- if(strlen(p) && (*(p + 1) == QNET_LR_SA_FAMILY_MAC))
+ if (strlen(p) && (*(p + 1) == QNET_LR_SA_FAMILY_MAC))
{
ti = proto_tree_add_string(sstree, hf_index, tvb, lr_start + off + QNX_QNET6_LR_PKT_SIZE, len, p+2);
PROTO_ITEM_SET_GENERATED(ti);
@@ -1621,7 +1610,7 @@ dissect_qnet6_lr(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, gint *
}
}
- switch(type)
+ switch (type)
{
case QNET_LR_TYPE_REQUEST:
p = name[2];
@@ -1661,10 +1650,10 @@ dissect_qnet6_lr(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, gint *
#define QNX_NR_REMOTE_ERROR 4
static const value_string qnet6_nr_type_vals[] = {
- {QNX_NR_PING_REQ, "Network Resolver Ping Request"},
- {QNX_NR_PING_ANS, "Network Resolver Ping Reply"},
- {QNX_NR_REMOTE_REQ, "Network Resolver Remote Request"},
- {QNX_NR_REMOTE_ANS, "Network Resolver Remote Reply"},
+ {QNX_NR_PING_REQ, "Network Resolver Ping Request"},
+ {QNX_NR_PING_ANS, "Network Resolver Ping Reply"},
+ {QNX_NR_REMOTE_REQ, "Network Resolver Remote Request"},
+ {QNX_NR_REMOTE_ANS, "Network Resolver Remote Reply"},
{QNX_NR_REMOTE_ERROR, "Network Resolver Remote Error"},
{0, NULL}
};
@@ -1676,7 +1665,7 @@ static const value_string qnet6_nr_type_vals[] = {
static const value_string qnet6_kif_msgsend_msg_io_notify_action_vals[] = {
{QNX_NOTIFY_ACTION_TRANARM, "_NOTIFY_ACTION_TRANARM"},
{QNX_NOTIFY_ACTION_CONDARM, "_NOTIFY_ACTION_CONDARM"},
- {QNX_NOTIFY_ACTION_POLL, "_NOTIFY_ACTION_POLL"},
+ {QNX_NOTIFY_ACTION_POLL, "_NOTIFY_ACTION_POLL"},
{QNX_NOTIFY_ACTION_POLLARM, "_NOTIFY_ACTION_POLLARM"},
{0, NULL}
};
@@ -1689,7 +1678,7 @@ dissect_qnet6_nr(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, gint *
{
proto_item *ti;
proto_tree *stree;
- guint8 name_len, rlen, type;
+ guint8 name_len, rlen, type;
col_set_str(pinfo->cinfo, COL_PROTOCOL, "QNET_NR");
@@ -1701,7 +1690,7 @@ dissect_qnet6_nr(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, gint *
*/
type = tvb_get_guint8(tvb, *poffset);
proto_tree_add_item(stree, hf_qnet6_nr_type, tvb, (*poffset)++, 1, ENC_NA);
- switch(type)
+ switch (type)
{
case QNX_NR_PING_REQ:
col_add_fstr(pinfo->cinfo, COL_INFO, "Network Resolver Ping Request");
@@ -1858,7 +1847,7 @@ dissect_qnet6_nr(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, gint *
static void
display_channel_id(guint32 chid, proto_item * ti)
{
- if(chid & QNX_NTO_GLOBAL_CHANNEL)
+ if (chid & QNX_NTO_GLOBAL_CHANNEL)
{
proto_item_append_text(ti, " _NTO_GLOBAL_CHANNEL|%" G_GUINT32_FORMAT, chid & ~QNX_NTO_GLOBAL_CHANNEL);
}
@@ -1867,9 +1856,9 @@ display_channel_id(guint32 chid, proto_item * ti)
static void
display_coid(guint32 coid, proto_item * ti)
{
- if(coid & QNX_NTO_SIDE_CHANNEL)
+ if (coid & QNX_NTO_SIDE_CHANNEL)
{ /* side channel */
- if((coid & ~QNX_NTO_SIDE_CHANNEL) == 0)
+ if ((coid & ~QNX_NTO_SIDE_CHANNEL) == 0)
proto_item_append_text(ti, " SYSMGR_COID)");
else
proto_item_append_text(ti," (_NTO_SIDE_CHANNEL|%" G_GUINT32_FORMAT ")", coid & ~QNX_NTO_SIDE_CHANNEL);
@@ -1903,12 +1892,12 @@ dissect_qnet6_kif_msgsend_msg_extra(tvbuff_t * tvb, proto_tree * tree, gint * po
/*
* combine_len includes the type as well
*/
- if(nlen > clen)
+ if (nlen > clen)
{ /* there are data behind _io_msg */
nlen -= clen;
- if(nlen > *left)
+ if (nlen > *left)
nlen = *left;
- if(nlen > 0)
+ if (nlen > 0)
{
proto_tree_add_string(tree, hf_qnet6_kif_msgsend_extra, tvb, *poffset, nlen, data);
*poffset += nlen;
@@ -1930,8 +1919,8 @@ dissect_qnet6_kif_msgsend_msg_extra(tvbuff_t * tvb, proto_tree * tree, gint * po
static int
dissect_qnet6_kif_msgsend_msg_msginfo(tvbuff_t * tvb, packet_info * pinfo _U_, proto_tree * tree, gint * poffset, guint encoding)
{
- int ret = -1;
- guint32 chid, coid;
+ int ret = -1;
+ guint32 chid, coid;
proto_item *ti;
proto_tree_add_item(tree, hf_qnet6_kif_msg_msginfo_nd, tvb, *poffset, 4, encoding);
@@ -1978,10 +1967,10 @@ dissect_qnet6_kif_msgsend_msg_msginfo(tvbuff_t * tvb, packet_info * pinfo _U_, p
static int
dissect_qnet6_kif_msgsend_msg_devctl(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, gint * poffset, guint encoding)
{
- int ret = -1;
- gint combine_len, left;
+ int ret = -1;
+ gint combine_len, left;
const char *p;
- guint32 dcmd;
+ guint32 dcmd;
static const int *dcmd_fields[] = {
&hf_qnet6_kif_msg_devctl_dcmd_cmd,
&hf_qnet6_kif_msg_devctl_dcmd_class,
@@ -2021,9 +2010,9 @@ dissect_qnet6_kif_msgsend_msg_devctl(tvbuff_t * tvb, packet_info * pinfo, proto_
* if combine_len > sizeof(qnx_io_devctl) then there are other
* messages behind
*/
- if(combine_len & 0x8000)
+ if (combine_len & 0x8000)
{ /* _IO_COMBINE_FLAG is 0x8000 */
- if(0 < left)
+ if (0 < left)
{
ret =
dissect_qnet6_kif_msgsend_msg(tvb, pinfo, tree, poffset, encoding);
@@ -2043,9 +2032,9 @@ dissect_qnet6_kif_msgsend_msg_devctl(tvbuff_t * tvb, packet_info * pinfo, proto_
static int
dissect_qnet6_kif_msgsend_msg_read(tvbuff_t * tvb, packet_info * pinfo _U_, proto_tree * tree, gint * poffset, guint encoding)
{
- int ret = -1;
+ int ret = -1;
guint32 xtypes;
- gint combine_len, left;
+ gint combine_len, left;
static const int *xtypes_fields[] = {
&hf_qnet6_kif_msg_io_read_xtypes_0_7,
&hf_qnet6_kif_msg_io_read_xtypes_8,
@@ -2071,7 +2060,7 @@ dissect_qnet6_kif_msgsend_msg_read(tvbuff_t * tvb, packet_info * pinfo _U_, prot
* structure according the xtype&0xff
*/
left -= 2 + 4 * 3;
- switch(xtypes & 0xff)
+ switch (xtypes & 0xff)
{
case QNX_IO_XTYPE_OFFSET:
proto_tree_add_item(tree, hf_qnet6_kif_msg_io_read_xoffset, tvb, *poffset, 8, encoding);
@@ -2094,9 +2083,9 @@ dissect_qnet6_kif_msgsend_msg_read(tvbuff_t * tvb, packet_info * pinfo _U_, prot
break;
}
ret = 0;
- if(combine_len & 0x8000)
+ if (combine_len & 0x8000)
{ /* _IO_COMBINE_FLAG is 0x8000 */
- if(left > 0)
+ if (left > 0)
{
ret =
dissect_qnet6_kif_msgsend_msg(tvb, pinfo, tree, poffset, encoding);
@@ -2110,9 +2099,9 @@ dissect_qnet6_kif_msgsend_msg_read(tvbuff_t * tvb, packet_info * pinfo _U_, prot
static int
dissect_qnet6_kif_msgsend_msg_write(tvbuff_t * tvb, packet_info * pinfo _U_, proto_tree * tree, gint * poffset, guint encoding)
{
- int ret = -1;
+ int ret = -1;
guint32 xtypes;
- gint combine_len, left;
+ gint combine_len, left;
static const int *xtypes_fields[] = {
&hf_qnet6_kif_msg_io_write_xtypes_0_7,
&hf_qnet6_kif_msg_io_write_xtypes_8,
@@ -2138,7 +2127,7 @@ dissect_qnet6_kif_msgsend_msg_write(tvbuff_t * tvb, packet_info * pinfo _U_, pro
* structure according the xtype&0xff
*/
left -= 2 + 4 * 3;
- switch(xtypes & 0xff)
+ switch (xtypes & 0xff)
{
case QNX_IO_XTYPE_OFFSET:
proto_tree_add_item(tree, hf_qnet6_kif_msg_io_write_xoffset, tvb, *poffset, 8, encoding);
@@ -2162,9 +2151,9 @@ dissect_qnet6_kif_msgsend_msg_write(tvbuff_t * tvb, packet_info * pinfo _U_, pro
}
ret = 0;
- if(combine_len & 0x8000)
+ if (combine_len & 0x8000)
{ /* _IO_COMBINE_FLAG is 0x8000 */
- if(left > 0)
+ if (left > 0)
{
ret =
dissect_qnet6_kif_msgsend_msg(tvb, pinfo, tree, poffset, encoding);
@@ -2172,7 +2161,7 @@ dissect_qnet6_kif_msgsend_msg_write(tvbuff_t * tvb, packet_info * pinfo _U_, pro
}
else
{
- if(left > 0)
+ if (left > 0)
proto_tree_add_item(tree, hf_qnet6_kif_msg_io_write_data, tvb, *poffset, left, ENC_NA);
}
@@ -2197,7 +2186,7 @@ dissect_qnet6_kif_msgsend_msg_write(tvbuff_t * tvb, packet_info * pinfo _U_, pro
static int
dissect_qnet6_kif_msgsend_msg_seek(tvbuff_t * tvb, packet_info * pinfo _U_, proto_tree * tree, gint * poffset, guint encoding)
{
- int ret = -1;
+ int ret = -1;
gint combine_len, left;
left = tvb_reported_length_remaining(tvb, *poffset);
@@ -2215,9 +2204,9 @@ dissect_qnet6_kif_msgsend_msg_seek(tvbuff_t * tvb, packet_info * pinfo _U_, prot
dissect_qnet6_kif_msgsend_msg_extra(tvb, tree, poffset, combine_len, &left, 2 + 2 + 2 + 2 + 8, "seek's extra data");
ret = 0;
- if(combine_len & 0x8000)
+ if (combine_len & 0x8000)
{ /* _IO_COMBINE_FLAG is 0x8000 */
- if(left > 0)
+ if (left > 0)
{
ret =
dissect_qnet6_kif_msgsend_msg(tvb, pinfo, tree, poffset, encoding);
@@ -2243,7 +2232,7 @@ dissect_qnet6_kif_msgsend_msg_seek(tvbuff_t * tvb, packet_info * pinfo _U_, prot
static int
dissect_qnet6_kif_msgsend_msg_pathconf(tvbuff_t * tvb, packet_info * pinfo _U_, proto_tree * tree, gint * poffset, guint encoding)
{
- int ret = -1;
+ int ret = -1;
gint combine_len, left;
left = tvb_reported_length_remaining(tvb, *poffset);
@@ -2259,9 +2248,9 @@ dissect_qnet6_kif_msgsend_msg_pathconf(tvbuff_t * tvb, packet_info * pinfo _U_,
dissect_qnet6_kif_msgsend_msg_extra(tvb, tree, poffset, combine_len, &left, 2 + 2 + 4, "pathconf's extra data");
ret = 0;
- if(combine_len & 0x8000)
+ if (combine_len & 0x8000)
{ /* _IO_COMBINE_FLAG is 0x8000 */
- if(left > 0)
+ if (left > 0)
{
ret =
dissect_qnet6_kif_msgsend_msg(tvb, pinfo, tree, poffset, encoding);
@@ -2287,7 +2276,7 @@ dissect_qnet6_kif_msgsend_msg_pathconf(tvbuff_t * tvb, packet_info * pinfo _U_,
static int
dissect_qnet6_kif_msgsend_msg_chmod(tvbuff_t * tvb, packet_info * pinfo _U_, proto_tree * tree, gint * poffset, guint encoding)
{
- int ret = -1;
+ int ret = -1;
gint combine_len, left;
static const int *chmod_fields[] = {
&hf_qnet6_kif_msg_io_chmod_other_exe,
@@ -2316,9 +2305,9 @@ dissect_qnet6_kif_msgsend_msg_chmod(tvbuff_t * tvb, packet_info * pinfo _U_, pro
dissect_qnet6_kif_msgsend_msg_extra(tvb, tree, poffset, combine_len, &left, 2 + 2 + 4, "chmod's extra data");
ret = 0;
- if(combine_len & 0x8000)
+ if (combine_len & 0x8000)
{ /* _IO_COMBINE_FLAG is 0x8000 */
- if(left > 0)
+ if (left > 0)
{
ret =
dissect_qnet6_kif_msgsend_msg(tvb, pinfo, tree, poffset, encoding);
@@ -2344,11 +2333,11 @@ dissect_qnet6_kif_msgsend_msg_chmod(tvbuff_t * tvb, packet_info * pinfo _U_, pro
static int
dissect_qnet6_kif_msgsend_msg_fdinfo(tvbuff_t * tvb, packet_info * pinfo _U_, proto_tree * tree, gint * poffset, guint encoding)
{
- int ret = -1;
+ int ret = -1;
gint combine_len, left;
left = tvb_reported_length_remaining(tvb, *poffset);
- if(left < 2 + 4 + 4 + 4)
+ if (left < 2 + 4 + 4 + 4)
return ret;
combine_len = tvb_get_guint16(tvb, *poffset, encoding);
@@ -2364,9 +2353,9 @@ dissect_qnet6_kif_msgsend_msg_fdinfo(tvbuff_t * tvb, packet_info * pinfo _U_, pr
left -= 2 + 4 * 3;
dissect_qnet6_kif_msgsend_msg_extra(tvb, tree, poffset, combine_len, &left, 2 + 2 + 4 * 3, "fdinfo's extra data");
ret = 0;
- if(combine_len & 0x8000)
+ if (combine_len & 0x8000)
{ /* _IO_COMBINE_FLAG is 0x8000 */
- if(left > 0)
+ if (left > 0)
{
ret =
dissect_qnet6_kif_msgsend_msg(tvb, pinfo, tree, poffset, encoding);
@@ -2389,7 +2378,7 @@ dissect_qnet6_kif_msgsend_msg_fdinfo(tvbuff_t * tvb, packet_info * pinfo _U_, pr
static int
dissect_qnet6_kif_msgsend_msg_lock(tvbuff_t * tvb, packet_info * pinfo _U_, proto_tree * tree, gint * poffset, guint encoding)
{
- int ret = -1;
+ int ret = -1;
gint combine_len, left;
left = tvb_reported_length_remaining(tvb, *poffset);
@@ -2406,9 +2395,9 @@ dissect_qnet6_kif_msgsend_msg_lock(tvbuff_t * tvb, packet_info * pinfo _U_, prot
dissect_qnet6_kif_msgsend_msg_extra(tvb, tree, poffset, combine_len, &left, 2 + 2 + 4 + 4, "lock's extra data");
ret = 0;
- if(combine_len & 0x8000)
+ if (combine_len & 0x8000)
{ /* _IO_COMBINE_FLAG is 0x8000 */
- if(left > 0)
+ if (left > 0)
{
ret =
dissect_qnet6_kif_msgsend_msg(tvb, pinfo, tree, poffset, encoding);
@@ -2422,7 +2411,7 @@ dissect_qnet6_kif_msgsend_msg_lock(tvbuff_t * tvb, packet_info * pinfo _U_, prot
static int
dissect_qnet6_kif_msgsend_msg_space(tvbuff_t * tvb, packet_info * pinfo _U_, proto_tree * tree, gint * poffset, guint encoding)
{
- int ret = -1;
+ int ret = -1;
gint combine_len, left;
left = tvb_reported_length_remaining(tvb, *poffset);
@@ -2443,9 +2432,9 @@ dissect_qnet6_kif_msgsend_msg_space(tvbuff_t * tvb, packet_info * pinfo _U_, pro
dissect_qnet6_kif_msgsend_msg_extra(tvb, tree, poffset, combine_len, &left, 2 * 4 + 8 * 2, "space's extra data");
ret = 0;
- if(combine_len & 0x8000)
+ if (combine_len & 0x8000)
{ /* _IO_COMBINE_FLAG is 0x8000 */
- if(left > 0)
+ if (left > 0)
{
ret =
dissect_qnet6_kif_msgsend_msg(tvb, pinfo, tree, poffset, encoding);
@@ -2459,7 +2448,7 @@ dissect_qnet6_kif_msgsend_msg_space(tvbuff_t * tvb, packet_info * pinfo _U_, pro
static int
dissect_qnet6_kif_msgsend_msg_chown(tvbuff_t * tvb, packet_info * pinfo _U_, proto_tree * tree, gint * poffset, guint encoding)
{
- int ret = -1;
+ int ret = -1;
gint combine_len, left;
left = tvb_reported_length_remaining(tvb, *poffset);
@@ -2476,9 +2465,9 @@ dissect_qnet6_kif_msgsend_msg_chown(tvbuff_t * tvb, packet_info * pinfo _U_, pro
dissect_qnet6_kif_msgsend_msg_extra(tvb, tree, poffset, combine_len, &left, 2 + 2 + 4 + 4, "chown's extra data");
ret = 0;
- if(combine_len & 0x8000)
+ if (combine_len & 0x8000)
{ /* _IO_COMBINE_FLAG is 0x8000 */
- if(left > 0)
+ if (left > 0)
{
ret =
dissect_qnet6_kif_msgsend_msg(tvb, pinfo, tree, poffset, encoding);
@@ -2500,8 +2489,8 @@ dissect_qnet6_kif_msgsend_msg_chown(tvbuff_t * tvb, packet_info * pinfo _U_, pro
static int
dissect_qnet6_kif_msgsend_msg_utime(tvbuff_t * tvb, packet_info * pinfo _U_, proto_tree * tree, gint * poffset, guint encoding)
{
- int ret = -1;
- gint combine_len, left;
+ int ret = -1;
+ gint combine_len, left;
nstime_t nt;
left = tvb_reported_length_remaining(tvb, *poffset);
@@ -2523,9 +2512,9 @@ dissect_qnet6_kif_msgsend_msg_utime(tvbuff_t * tvb, packet_info * pinfo _U_, pro
dissect_qnet6_kif_msgsend_msg_extra(tvb, tree, poffset, combine_len, &left, 2 + 2 + 4 * 3, "utime's data");
ret = 0;
- if(combine_len & 0x8000)
+ if (combine_len & 0x8000)
{ /* _IO_COMBINE_FLAG is 0x8000 */
- if(left > 0)
+ if (left > 0)
{
ret =
dissect_qnet6_kif_msgsend_msg(tvb, pinfo, tree, poffset, encoding);
@@ -2539,7 +2528,7 @@ dissect_qnet6_kif_msgsend_msg_utime(tvbuff_t * tvb, packet_info * pinfo _U_, pro
static int
dissect_qnet6_kif_msgsend_msg_sync(tvbuff_t * tvb, packet_info * pinfo _U_, proto_tree * tree, gint * poffset, guint encoding)
{
- int ret = -1;
+ int ret = -1;
gint combine_len, left;
static const int *sync_fields[] = {
&hf_qnet6_kif_msg_syncflag_dsync,
@@ -2560,9 +2549,9 @@ dissect_qnet6_kif_msgsend_msg_sync(tvbuff_t * tvb, packet_info * pinfo _U_, prot
dissect_qnet6_kif_msgsend_msg_extra(tvb, tree, poffset, combine_len, &left, 2 + 2 + 4, "sync's extra data");
ret = 0;
- if(combine_len & 0x8000)
+ if (combine_len & 0x8000)
{ /* _IO_COMBINE_FLAG is 0x8000 */
- if(left > 0)
+ if (left > 0)
{
ret =
dissect_qnet6_kif_msgsend_msg(tvb, pinfo, tree, poffset, encoding);
@@ -2576,7 +2565,7 @@ dissect_qnet6_kif_msgsend_msg_sync(tvbuff_t * tvb, packet_info * pinfo _U_, prot
static int
dissect_qnet6_kif_msgsend_msg_close(tvbuff_t * tvb, packet_info * pinfo _U_, proto_tree * tree, gint * poffset, guint encoding)
{
- int ret = -1;
+ int ret = -1;
gint combine_len, left;
left = tvb_reported_length_remaining(tvb, *poffset);
@@ -2588,9 +2577,9 @@ dissect_qnet6_kif_msgsend_msg_close(tvbuff_t * tvb, packet_info * pinfo _U_, pro
left -= 2;
dissect_qnet6_kif_msgsend_msg_extra(tvb, tree, poffset, combine_len, &left, 2 + 2, "close's extra data");
ret = 0;
- if(combine_len & 0x8000)
+ if (combine_len & 0x8000)
{ /* _IO_COMBINE_FLAG is 0x8000 */
- if(left > 0)
+ if (left > 0)
{
ret =
dissect_qnet6_kif_msgsend_msg(tvb, pinfo, tree, poffset, encoding);
@@ -2604,7 +2593,7 @@ dissect_qnet6_kif_msgsend_msg_close(tvbuff_t * tvb, packet_info * pinfo _U_, pro
static int
dissect_qnet6_kif_msgsend_msg_stat(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, gint * poffset, guint encoding)
{
- int ret = -1;
+ int ret = -1;
gint combine_len, left;
left = tvb_reported_length_remaining(tvb, *poffset);
@@ -2619,9 +2608,9 @@ dissect_qnet6_kif_msgsend_msg_stat(tvbuff_t * tvb, packet_info * pinfo, proto_tr
dissect_qnet6_kif_msgsend_msg_extra(tvb, tree, poffset, combine_len, &left, 2 + 2 + 4, "stat's extra data");
ret = 0;
- if(combine_len & 0x8000)
+ if (combine_len & 0x8000)
{ /* _IO_COMBINE_FLAG is 0x8000 */
- if(left > 0)
+ if (left > 0)
{
ret =
dissect_qnet6_kif_msgsend_msg(tvb, pinfo, tree, poffset, encoding);
@@ -2635,7 +2624,7 @@ dissect_qnet6_kif_msgsend_msg_stat(tvbuff_t * tvb, packet_info * pinfo, proto_tr
static int
dissect_qnet6_kif_msgsend_msg_shutdown(tvbuff_t * tvb, packet_info * pinfo _U_, proto_tree * tree, gint * poffset, guint encoding)
{
- int ret = -1;
+ int ret = -1;
gint combine_len, left;
left = tvb_reported_length_remaining(tvb, *poffset);
@@ -2647,9 +2636,9 @@ dissect_qnet6_kif_msgsend_msg_shutdown(tvbuff_t * tvb, packet_info * pinfo _U_,
dissect_qnet6_kif_msgsend_msg_extra(tvb, tree, poffset, combine_len, &left, 2 + 2, "shutdown's extra data");
ret = 0;
- if(combine_len & 0x8000)
+ if (combine_len & 0x8000)
{ /* _IO_COMBINE_FLAG is 0x8000 */
- if(left > 0)
+ if (left > 0)
{
ret =
dissect_qnet6_kif_msgsend_msg(tvb, pinfo, tree, poffset, encoding);
@@ -2663,8 +2652,8 @@ dissect_qnet6_kif_msgsend_msg_shutdown(tvbuff_t * tvb, packet_info * pinfo _U_,
static int
dissect_qnet6_kif_msgsend_msg_openfd(tvbuff_t * tvb, packet_info * pinfo _U_, proto_tree * tree, gint * poffset, guint encoding)
{
- int ret = -1;
- gint combine_len, left;
+ int ret = -1;
+ gint combine_len, left;
proto_tree *stree;
static const int *openfd_ioflag_fields[] = {
&hf_qnet6_kif_msg_openfd_ioflag_access,
@@ -2712,9 +2701,9 @@ dissect_qnet6_kif_msgsend_msg_openfd(tvbuff_t * tvb, packet_info * pinfo _U_, pr
dissect_qnet6_kif_msgsend_msg_extra(tvb, tree, poffset, combine_len, &left, 2 + 2 + 4 + 2 * 2 + QNX_MSG_INFO_SIZE + 4 * 2, "openfd's extra data");
ret = 0;
- if(combine_len & 0x8000)
+ if (combine_len & 0x8000)
{ /* _IO_COMBINE_FLAG is 0x8000 */
- if(left > 0)
+ if (left > 0)
{
ret =
dissect_qnet6_kif_msgsend_msg(tvb, pinfo, tree, poffset, encoding);
@@ -2728,8 +2717,8 @@ dissect_qnet6_kif_msgsend_msg_openfd(tvbuff_t * tvb, packet_info * pinfo _U_, pr
static int
dissect_qnet6_kif_msgsend_msg_mmap(tvbuff_t * tvb, packet_info * pinfo _U_, proto_tree * tree, gint * poffset, guint encoding)
{
- int ret = -1;
- gint combine_len, left;
+ int ret = -1;
+ gint combine_len, left;
proto_tree *stree;
static const int *prot_fields[] = {
&hf_qnet6_kif_msg_io_mmap_prot_read,
@@ -2760,9 +2749,9 @@ dissect_qnet6_kif_msgsend_msg_mmap(tvbuff_t * tvb, packet_info * pinfo _U_, prot
dissect_qnet6_kif_msgsend_msg_extra(tvb, tree, poffset, combine_len, &left, 2 + 2 + 4 + 8 + 4 * 6 + QNX_MSG_INFO_SIZE, "mmap's extra data");
ret = 0;
- if(combine_len & 0x8000)
+ if (combine_len & 0x8000)
{ /* _IO_COMBINE_FLAG is 0x8000 */
- if(left > 0)
+ if (left > 0)
{
ret =
dissect_qnet6_kif_msgsend_msg(tvb, pinfo, tree, poffset, encoding);
@@ -2776,7 +2765,7 @@ dissect_qnet6_kif_msgsend_msg_mmap(tvbuff_t * tvb, packet_info * pinfo _U_, prot
static int
dissect_qnet6_kif_msgsend_msg_iomsg(tvbuff_t * tvb, packet_info * pinfo _U_, proto_tree * tree, gint * poffset, guint encoding)
{
- int ret = -1;
+ int ret = -1;
gint combine_len, left;
left = tvb_reported_length_remaining(tvb, *poffset);
@@ -2794,9 +2783,9 @@ dissect_qnet6_kif_msgsend_msg_iomsg(tvbuff_t * tvb, packet_info * pinfo _U_, pro
dissect_qnet6_kif_msgsend_msg_extra(tvb, tree, poffset, combine_len, &left, 2 + 2 * 3, "io_msg's data");
ret = 0;
- if(combine_len & 0x8000)
+ if (combine_len & 0x8000)
{ /* _IO_COMBINE_FLAG is 0x8000 */
- if(left > 0)
+ if (left > 0)
{
ret =
dissect_qnet6_kif_msgsend_msg(tvb, pinfo, tree, poffset, encoding);
@@ -2826,14 +2815,14 @@ static const guint8 *qnet6_kif_msg_io_notify_event_str[] = {
static int
dissect_qnet6_kif_msgsend_msg_notify(tvbuff_t * tvb, packet_info * pinfo _U_, proto_tree * tree, gint * poffset, guint encoding)
{
- int ret = -1;
- gint combine_len, left, fd;
- guint16 event, revent;
+ int ret = -1;
+ gint combine_len, left, fd;
+ guint16 event, revent;
proto_tree *stree;
- nstime_t nt;
- guint64 timo;
- guint32 nfds, i, j, n, m;
- guint8 sevent[20], srevent[20]; /* enough to fit "read,write,rdband" */
+ nstime_t nt;
+ guint64 timo;
+ guint32 nfds, i, j, n, m;
+ guint8 sevent[20], srevent[20]; /* enough to fit "read,write,rdband" */
static const int *notify_flags_fields[] = {
&hf_qnet6_kif_msg_io_notify_flags_28,
&hf_qnet6_kif_msg_io_notify_flags_29,
@@ -2882,9 +2871,9 @@ dissect_qnet6_kif_msgsend_msg_notify(tvbuff_t * tvb, packet_info * pinfo _U_, pr
*poffset += 4;
timo = tvb_get_guint64(tvb, *poffset, encoding);
- if(timo != 0)
+ if (timo != 0)
{
- if(timo > 1000000000)
+ if (timo > 1000000000)
{
nt.secs = (int)(timo / 1000000000);
nt.nsecs = (int)(timo - nt.secs * 1000000000);
@@ -2907,20 +2896,20 @@ dissect_qnet6_kif_msgsend_msg_notify(tvbuff_t * tvb, packet_info * pinfo _U_, pr
/*
* handle pollfd fds[nfds]
*/
- if((guint32) left >= nfds * 8)
+ if ((guint32) left >= nfds * 8)
{ /* each pollfd size is 8 */
stree = proto_tree_add_subtree(tree, tvb, *poffset, nfds * 8, ett_qnet6_kif_msg_notify_fds, NULL, "Poll file descriptors array");
- for(i = 0; i < nfds; i++)
+ for (i = 0; i < nfds; i++)
{
fd = tvb_get_guint32(tvb, *poffset, encoding);
event = tvb_get_guint16(tvb, *poffset + 4, encoding);
revent = tvb_get_guint16(tvb, *poffset + 4 + 2, encoding);
sevent[0] = srevent[0] = 0;
- for(j = 1, n = 0, m = 0; j < 8; j = j << 1)
+ for (j = 1, n = 0, m = 0; j < 8; j = j << 1)
{
- if(event & j)
+ if (event & j)
n += g_snprintf(sevent + n, sizeof(sevent) - n, "%s", qnet6_kif_msg_io_notify_event_str[j >> 1]);
- if(revent & j)
+ if (revent & j)
m += g_snprintf(srevent + m, sizeof(srevent) - m, "%s", qnet6_kif_msg_io_notify_event_str[j >> 1]);
}
proto_tree_add_string_format_value(stree, hf_qnet6_kif_msg_io_notify_fds, tvb, *poffset, 8, NULL, "fd:%" G_GINT32_FORMAT " " "event:0x%x %s" "revent:0x%x %s", fd, event, sevent, revent, srevent);
@@ -2934,9 +2923,9 @@ dissect_qnet6_kif_msgsend_msg_notify(tvbuff_t * tvb, packet_info * pinfo _U_, pr
return ret;
ret = 0;
- if(combine_len & 0x8000)
+ if (combine_len & 0x8000)
{ /* _IO_COMBINE_FLAG is 0x8000 */
- if(left > 0)
+ if (left > 0)
{
/*
* there is io_notify's data behind _io_notify_t in
@@ -2959,8 +2948,8 @@ dissect_qnet6_kif_msgsend_msg_notify(tvbuff_t * tvb, packet_info * pinfo _U_, pr
static int
dissect_qnet6_kif_msgsend_msg_dup(tvbuff_t * tvb, packet_info * pinfo _U_, proto_tree * tree, gint * poffset, guint encoding)
{
- int ret = -1;
- gint combine_len, left;
+ int ret = -1;
+ gint combine_len, left;
proto_tree *stree;
left = tvb_reported_length_remaining(tvb, *poffset);
@@ -2980,9 +2969,9 @@ dissect_qnet6_kif_msgsend_msg_dup(tvbuff_t * tvb, packet_info * pinfo _U_, proto
dissect_qnet6_kif_msgsend_msg_extra(tvb, tree, poffset, combine_len, &left, 2 + 2 + QNX_MSG_INFO_SIZE + 4 * 2, "dup's extra data");
ret = 0;
- if(combine_len & 0x8000)
+ if (combine_len & 0x8000)
{ /* _IO_COMBINE_FLAG is 0x8000 */
- if(left > 0)
+ if (left > 0)
{
ret =
dissect_qnet6_kif_msgsend_msg(tvb, pinfo, tree, poffset, encoding);
@@ -2996,13 +2985,13 @@ dissect_qnet6_kif_msgsend_msg_dup(tvbuff_t * tvb, packet_info * pinfo _U_, proto
static int
dissect_qnet6_kif_msgsend_msg(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, gint * poffset, guint encoding)
{
- proto_item *ti;
- proto_tree *stree;
- guint16 msgtype, subtype, path_len, extra_len, extra_pad;
+ proto_item *ti;
+ proto_tree *stree;
+ guint16 msgtype, subtype, path_len, extra_len, extra_pad;
const gchar *msgstr;
- guint8 extra_type;
- gint rlen, head_len;
- int ret = -1;
+ guint8 extra_type;
+ gint rlen, head_len;
+ int ret = -1;
static const int *ioflag_fields[] = {
&hf_qnet6_kif_msg_connect_ioflag_access,
&hf_qnet6_kif_msg_connect_ioflag_append,
@@ -3053,16 +3042,16 @@ dissect_qnet6_kif_msgsend_msg(tvbuff_t * tvb, packet_info * pinfo, proto_tree *
*poffset += 2;
msgstr = try_val_to_str_ext(msgtype, &qnet6_kif_msgsend_msgtype_vals_ext);
if (msgstr != NULL)
- {
- col_append_fstr(pinfo->cinfo, COL_INFO, " %s", msgstr);
- proto_item_set_text(ti, "%s", msgstr);
- }
+ {
+ col_append_fstr(pinfo->cinfo, COL_INFO, " %s", msgstr);
+ proto_item_set_text(ti, "%s", msgstr);
+ }
rlen -= 2;
- switch(msgtype)
+ switch (msgtype)
{
case QNX_IO_CONNECT:
- if(rlen < 2) /* there is no subtype */
+ if (rlen < 2) /* there is no subtype */
return ret;
head_len = 2 + 2 + 4 + 2 * 2 + 4 * 4 + 2 * 4 + 1 * 2 + 2;
@@ -3070,7 +3059,7 @@ dissect_qnet6_kif_msgsend_msg(tvbuff_t * tvb, packet_info * pinfo, proto_tree *
subtype = tvb_get_guint16(tvb, *poffset, encoding);
*poffset += 2;
rlen -= 2;
- if(head_len - 2 - 2 > rlen) /* there is no rest of io_connect */
+ if (head_len - 2 - 2 > rlen) /* there is no rest of io_connect */
return ret;
rlen -=(head_len - 2 - 2);
/*
@@ -3109,13 +3098,13 @@ dissect_qnet6_kif_msgsend_msg(tvbuff_t * tvb, packet_info * pinfo, proto_tree *
extra_len = tvb_get_guint16(tvb, *poffset, encoding);
proto_tree_add_item(stree, hf_qnet6_kif_msg_connect_extralen, tvb, *poffset, 2, encoding);
*poffset += 2;
- if(path_len > rlen)
+ if (path_len > rlen)
path_len = rlen;
/*
* after extra_len is path_len=strlen(path)+1(path,null),
* extra_len
*/
- if(path_len > 0)
+ if (path_len > 0)
{
proto_tree_add_item(stree, hf_qnet6_kif_msg_connect_path, tvb, *poffset, path_len, ENC_ASCII|ENC_NA);
*poffset += path_len;
@@ -3124,18 +3113,18 @@ dissect_qnet6_kif_msgsend_msg(tvbuff_t * tvb, packet_info * pinfo, proto_tree *
col_set_str(pinfo->cinfo, COL_INFO, val_to_str_const(subtype,
qnet6_kif_msgsend_msg_connect_subtype_vals, "Unknown"));
- if(extra_len > 0 && rlen > 0)
+ if (extra_len > 0 && rlen > 0)
{
/*
* extra data is QNX_MSG_ALIGN which is 8 default is there
*/
- if((path_len + head_len) &(8 - 1))
+ if ((path_len + head_len) &(8 - 1))
{
extra_pad =(8 -((path_len + head_len) &(8 - 1)));
- if(extra_pad > rlen)
+ if (extra_pad > rlen)
extra_pad = rlen;
- if(extra_pad > 0)
+ if (extra_pad > 0)
{
proto_tree_add_item(stree, hf_qnet6_kif_msg_connect_pad_data, tvb, *poffset, extra_pad, ENC_NA);
*poffset += extra_pad;
@@ -3150,20 +3139,20 @@ dissect_qnet6_kif_msgsend_msg(tvbuff_t * tvb, packet_info * pinfo, proto_tree *
* difference. yzhao I haven't see any app supports COMBINE
* and support !EXTRA_NONE
*/
- if(extra_len > rlen)
+ if (extra_len > rlen)
extra_len = rlen;
- switch(subtype)
+ switch (subtype)
{
case QNX_IO_CONNECT_COMBINE_CLOSE:
case QNX_IO_CONNECT_COMBINE:
- if(extra_len >= 4 /* type+combine_len in io message */
+ if (extra_len >= 4 /* type+combine_len in io message */
&& rlen >= 4)
ret = dissect_qnet6_kif_msgsend_msg(tvb, pinfo, stree, poffset, encoding);
return ret;
break;
default:
- switch(extra_type)
+ switch (extra_type)
{
case QNX_IO_CONNECT_EXTRA_LINK: /* 1 */
proto_tree_add_item(stree, hf_qnet6_kif_msg_connect_extra_link_ocb, tvb, *poffset, extra_len, encoding);
@@ -3272,22 +3261,22 @@ dissect_qnet6_kif_msgsend_msg(tvbuff_t * tvb, packet_info * pinfo, proto_tree *
static void
qos_tcs_init_addtree(tvbuff_t * tvb, proto_tree * tree, gint * poffset, guint encoding, int hf_off, int hf_generated, gint rlen, gint name_start)
{
- guint16 off;
+ guint16 off;
proto_item *ti;
- gint i;
+ gint i;
proto_tree_add_item(tree, hf_off, tvb, *poffset, 2, encoding);
off = tvb_get_guint16(tvb, *poffset, encoding);
- if((gint) off < rlen)
+ if ((gint) off < rlen)
{
i = off;
while(i <= rlen)
{
- if(tvb_get_guint8(tvb, name_start + i)== 0)
+ if (tvb_get_guint8(tvb, name_start + i)== 0)
break;
i++;
}
- if(i <= rlen)
+ if (i <= rlen)
{
ti = proto_tree_add_item(tree, hf_generated, tvb, name_start + off, i - off, ENC_ASCII|ENC_NA);
PROTO_ITEM_SET_GENERATED(ti);
@@ -3303,11 +3292,11 @@ dissect_qnet6_qos(guint8 qtype, tvbuff_t * tvb, packet_info * pinfo, proto_tree
{
proto_item *ti;
proto_tree *stree;
- gint rlen, name_start;
+ gint rlen, name_start;
col_add_fstr(pinfo->cinfo, COL_PROTOCOL, "QNET_QOS");
- switch(qtype)
+ switch (qtype)
{
case QNET_L4_TYPE_TCS_INIT:
ti = proto_tree_add_item(tree, proto_qnet6_qos, tvb, *poffset, -1, ENC_NA);
@@ -3318,7 +3307,7 @@ dissect_qnet6_qos(guint8 qtype, tvbuff_t * tvb, packet_info * pinfo, proto_tree
*/
rlen = tvb_reported_length_remaining(tvb, *poffset);
- if(rlen <(gint) 2 * 4) /* at least we have tcs_init_strings */
+ if (rlen <(gint) 2 * 4) /* at least we have tcs_init_strings */
return -1;
/*
* after tcs_init_strings how much left
@@ -3393,7 +3382,7 @@ dissect_qnet6_kif_cred(tvbuff_t * tvb, packet_info * pinfo _U_, proto_tree * tre
* at least we need everything before the array
* grouplist[__NGROUPS_MAX]
*/
- if(nleft < length)
+ if (nleft < length)
return ret;
ti1 = proto_tree_add_string(tree, hf_qnet6_kif_client_info, tvb, *poffset, MIN(length, nleft), "client information");
stree = proto_item_add_subtree(ti1, ett_qnet6_kif_client_info);
@@ -3456,11 +3445,11 @@ dissect_qnet6_kif_cred(tvbuff_t * tvb, packet_info * pinfo _U_, proto_tree * tre
*/
proto_tree_add_item(sstree, hf_qnet6_kif_client_info_cred_ngroups, tvb, *poffset, 4, encoding);
*poffset += 4;
- if(ngroups > __NGROUPS_MAX) /* ngroups is wrong */
+ if (ngroups > __NGROUPS_MAX) /* ngroups is wrong */
return ret;
nleft -= length;
nleft = MIN(nleft, __NGROUPS_MAX * 4);
- if(nleft < (gint) ngroups * 4)
+ if (nleft < (gint) ngroups * 4)
return ret;
/*
* nleft at least >=0
@@ -3469,7 +3458,7 @@ dissect_qnet6_kif_cred(tvbuff_t * tvb, packet_info * pinfo _U_, proto_tree * tre
/*
* nleft is possible 0,4,...
*/
- if(nleft >= 4)
+ if (nleft >= 4)
{
ti = proto_tree_add_item(sstree, hf_qnet6_kif_client_info_cred_grouplist, tvb, *poffset, 4, encoding);
*poffset += 4;
@@ -3477,7 +3466,7 @@ dissect_qnet6_kif_cred(tvbuff_t * tvb, packet_info * pinfo _U_, proto_tree * tre
length += 4;
}
- for(; nleft > 0; nleft -= 4)
+ for (; nleft > 0; nleft -= 4)
{
proto_item_append_text(ti, " %" G_GUINT32_FORMAT, tvb_get_guint32(tvb, *poffset, encoding));
*poffset += 4;
@@ -3485,7 +3474,7 @@ dissect_qnet6_kif_cred(tvbuff_t * tvb, packet_info * pinfo _U_, proto_tree * tre
}
proto_item_set_len(ti1, length);
proto_item_set_len(ti2, length - 4 * 4); /* except nd,pid,sid,flags */
- if(ti)
+ if (ti)
proto_item_set_len(ti, length - 4 * 4 - 4 * 6 - 4);
ret = 0;
@@ -3495,48 +3484,48 @@ dissect_qnet6_kif_cred(tvbuff_t * tvb, packet_info * pinfo _U_, proto_tree * tre
static int
dissect_qnet6_kif(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, gint * poffset, guint encoding)
{
- proto_item *ti;
- proto_tree *stree, *stree1, *sstree;
- gint rlen;
- struct qnet6_kif_hdr khdr;
- const value_string *p;
- int ret = -1;
- guint32 nleft, coid, chid;
+ proto_item *ti;
+ proto_tree *stree, *stree1, *sstree;
+ gint rlen;
+ struct qnet6_kif_hdr khdr;
+ const value_string *p;
+ int ret = -1;
+ guint32 nleft, coid, chid;
ti = proto_tree_add_item(tree, proto_qnet6_kif, tvb, *poffset, -1, ENC_NA);
stree = proto_item_add_subtree(ti, ett_qnet6_kif);
/*
- * when dissect_qnet6_kif is called guaranteed that at least msgtype
+ * when dissect_qnet6_kif is called it is guaranteed that at least msgtype
* and size are in packet
*/
khdr.msgtype = tvb_get_guint16(tvb, *poffset, encoding);
khdr.size = tvb_get_guint16(tvb, *poffset + 2, encoding);
col_set_str(pinfo->cinfo, COL_PROTOCOL, "QNET_KIF");
- for(p = qnet6_kif_msgtype_vals;
+ for (p = qnet6_kif_msgtype_vals;
p < qnet6_kif_msgtype_vals +
sizeof(qnet6_kif_msgtype_vals) / sizeof(value_string); p++)
{
- if(p->value ==(khdr.msgtype & QNET_KIF_MSGTYPE_MASK))
+ if (p->value ==(khdr.msgtype & QNET_KIF_MSGTYPE_MASK))
{
- if(p->strptr)
+ if (p->strptr)
col_set_str(pinfo->cinfo, COL_INFO, p->strptr);
}
}
- if((khdr.msgtype & QNET_KIF_MSGTYPE_MASK) !=
+ if ((khdr.msgtype & QNET_KIF_MSGTYPE_MASK) !=
QNET_KIF_MSGTYPE_CONNECT_MSGSEND)
{
/*
* msgtype
*/
ti = proto_tree_add_item(stree, hf_qnet6_kif_msgtype, tvb, *poffset, 2, encoding);
- if(khdr.msgtype & QNET_KIF_CRED)
+ if (khdr.msgtype & QNET_KIF_CRED)
proto_item_append_text(ti, " CRED");
- if((khdr.msgtype & QNET_KIF_ENDIAN_MASK) == QNET_KIF_ENDIAN_BIG)
+ if ((khdr.msgtype & QNET_KIF_ENDIAN_MASK) == QNET_KIF_ENDIAN_BIG)
proto_item_append_text(ti, " BIG_ENDIAN");
- else if((khdr.msgtype & QNET_KIF_ENDIAN_MASK) == QNET_KIF_ENDIAN_LITTLE)
+ else if ((khdr.msgtype & QNET_KIF_ENDIAN_MASK) == QNET_KIF_ENDIAN_LITTLE)
proto_item_append_text(ti, " LITTLE_ENDIAN");
*poffset += 2;
/*
@@ -3550,7 +3539,7 @@ dissect_qnet6_kif(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, gint *
*/
rlen = tvb_reported_length_remaining(tvb, *poffset);
- switch(khdr.msgtype & QNET_KIF_MSGTYPE_MASK)
+ switch (khdr.msgtype & QNET_KIF_MSGTYPE_MASK)
{
case QNET_KIF_MSGTYPE_CONNECT:
/*
@@ -3583,10 +3572,10 @@ dissect_qnet6_kif(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, gint *
/*
* dissect_qnet6_kif_cred will check whether no more data
*/
- if(khdr.msgtype & QNET_KIF_CRED)
+ if (khdr.msgtype & QNET_KIF_CRED)
{
ret = dissect_qnet6_kif_cred(tvb, pinfo, stree, poffset, encoding);
- if(ret != 0)
+ if (ret != 0)
return ret;
}
break;
@@ -3604,7 +3593,7 @@ dissect_qnet6_kif(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, gint *
/*
* if no struct qnet6_kif_connect
*/
- if(rlen < 4 + 4 + 4 + 4 + 4 + 4)
+ if (rlen < 4 + 4 + 4 + 4 + 4 + 4)
return ret;
ti = proto_tree_add_string(stree, hf_qnet6_kif_connect, tvb, *poffset, 2 * 2 + 4 * 5 + (khdr.msgtype & QNET_KIF_CRED) ? (4 * 4 + 4 * 7) : 0, "qnet connect message");
stree1 = proto_item_add_subtree(ti, ett_qnet6_kif_connect);
@@ -3612,11 +3601,11 @@ dissect_qnet6_kif(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, gint *
* msgtype
*/
ti = proto_tree_add_item(stree1, hf_qnet6_kif_msgtype, tvb, *poffset, 2, encoding);
- if(khdr.msgtype & QNET_KIF_CRED)
+ if (khdr.msgtype & QNET_KIF_CRED)
proto_item_append_text(ti, " CRED");
- if((khdr.msgtype & QNET_KIF_ENDIAN_MASK) == QNET_KIF_ENDIAN_BIG)
+ if ((khdr.msgtype & QNET_KIF_ENDIAN_MASK) == QNET_KIF_ENDIAN_BIG)
proto_item_append_text(ti, " BIG_ENDIAN");
- else if((khdr.msgtype & QNET_KIF_ENDIAN_MASK) == QNET_KIF_ENDIAN_LITTLE)
+ else if ((khdr.msgtype & QNET_KIF_ENDIAN_MASK) == QNET_KIF_ENDIAN_LITTLE)
proto_item_append_text(ti, " LITTLE_ENDIAN");
*poffset += 2;
/*
@@ -3651,15 +3640,15 @@ dissect_qnet6_kif(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, gint *
*/
proto_tree_add_item(stree1, hf_qnet6_kif_connect_client_pid, tvb, *poffset, 4, encoding);
*poffset += 4;
- if(khdr.msgtype & QNET_KIF_CRED)
+ if (khdr.msgtype & QNET_KIF_CRED)
{
ret = dissect_qnet6_kif_cred(tvb, pinfo, stree1, poffset, encoding);
- if(ret != 0)
+ if (ret != 0)
return ret;
}
rlen = tvb_reported_length_remaining(tvb, *poffset);
- if(rlen < 4 /* type+size */ )
+ if (rlen < 4 /* type+size */ )
return ret;
/*
* msgsend msgtype, size part
@@ -3673,11 +3662,11 @@ dissect_qnet6_kif(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, gint *
* msgtype
*/
ti = proto_tree_add_item(stree, hf_qnet6_kif_msgtype, tvb, *poffset, 2, encoding);
- if(khdr.msgtype & QNET_KIF_CRED)
+ if (khdr.msgtype & QNET_KIF_CRED)
proto_item_append_text(ti, " CRED");
- if((khdr.msgtype & QNET_KIF_ENDIAN_MASK) == QNET_KIF_ENDIAN_BIG)
+ if ((khdr.msgtype & QNET_KIF_ENDIAN_MASK) == QNET_KIF_ENDIAN_BIG)
proto_item_append_text(ti, " BIG_ENDIAN");
- else if((khdr.msgtype & QNET_KIF_ENDIAN_MASK) == QNET_KIF_ENDIAN_LITTLE)
+ else if ((khdr.msgtype & QNET_KIF_ENDIAN_MASK) == QNET_KIF_ENDIAN_LITTLE)
proto_item_append_text(ti, " LITTLE_ENDIAN");
*poffset += 2;
/*
@@ -3689,7 +3678,7 @@ dissect_qnet6_kif(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, gint *
goto lmsgsend;
break;
case QNET_KIF_MSGTYPE_CONNECT_SUCCESS:
- if(rlen < 4 + 4 + 4 + 4 + 4) /* ver, sid,cid,scoid,nbytes */
+ if (rlen < 4 + 4 + 4 + 4 + 4) /* ver, sid,cid,scoid,nbytes */
return ret;
/*
* version
@@ -3716,15 +3705,15 @@ dissect_qnet6_kif(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, gint *
*/
proto_tree_add_item(stree, hf_qnet6_kif_connects_nbytes, tvb, *poffset, 4, encoding);
*poffset += 4;
- if(khdr.msgtype & QNET_KIF_CRED)
+ if (khdr.msgtype & QNET_KIF_CRED)
{
ret = dissect_qnet6_kif_cred(tvb, pinfo, stree, poffset, encoding);
- if(ret != 0)
+ if (ret != 0)
return ret;
}
break;
case QNET_KIF_MSGTYPE_CONNECT_FAIL:
- if(rlen < 4 + 4 + 4) /* ver, cid, status */
+ if (rlen < 4 + 4 + 4) /* ver, cid, status */
return ret;
/*
* version
@@ -3743,7 +3732,7 @@ dissect_qnet6_kif(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, gint *
*poffset += 4;
break;
case QNET_KIF_MSGTYPE_CONNECT_DEATH:
- if(rlen < 4)
+ if (rlen < 4)
return ret;
/*
* client id
@@ -3755,7 +3744,7 @@ dissect_qnet6_kif(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, gint *
case QNET_KIF_MSGTYPE_PULSE:
lmsgsend:
- if(rlen < 4 * 10) /* sid,client_handle, tid, coid,priority, srcmsglen,keydata,srcnd,dstmsglen */
+ if (rlen < 4 * 10) /* sid,client_handle, tid, coid,priority, srcmsglen,keydata,srcnd,dstmsglen */
return ret;
/*
* server id
@@ -3796,7 +3785,7 @@ dissect_qnet6_kif(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, gint *
*poffset += 4;
rlen -= 40;
- if((khdr.msgtype & QNET_KIF_MSGTYPE_MASK) ==
+ if ((khdr.msgtype & QNET_KIF_MSGTYPE_MASK) ==
QNET_KIF_MSGTYPE_MSGSEND
|| (khdr.msgtype & QNET_KIF_MSGTYPE_MASK) ==
QNET_KIF_MSGTYPE_CONNECT_MSGSEND)
@@ -3812,12 +3801,12 @@ dissect_qnet6_kif(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, gint *
* type
*/
ret = dissect_qnet6_kif_msgsend_msg(tvb, pinfo, stree, poffset, encoding);
- if(ret != 0)
+ if (ret != 0)
return ret;
}
else
{
- if(rlen < 2 * 2 + 1 + 3 + 4 * 3)
+ if (rlen < 2 * 2 + 1 + 3 + 4 * 3)
return ret;
/*
* pulse is done
@@ -3842,15 +3831,15 @@ dissect_qnet6_kif(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, gint *
proto_tree_add_item(stree, hf_qnet6_kif_pulse_priority, tvb, *poffset, 4, encoding);
*poffset += 4;
}
- if(khdr.msgtype & QNET_KIF_CRED)
+ if (khdr.msgtype & QNET_KIF_CRED)
{
ret = dissect_qnet6_kif_cred(tvb, pinfo, stree, poffset, encoding);
- if(ret != 0)
+ if (ret != 0)
return ret;
}
break;
case QNET_KIF_MSGTYPE_MSGREAD:
- if(rlen < 4 * 4)
+ if (rlen < 4 * 4)
return ret;
/*
* msgread handle
@@ -3878,7 +3867,7 @@ dissect_qnet6_kif(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, gint *
case QNET_KIF_MSGTYPE_MSGERROR:
case QNET_KIF_MSGTYPE_MSGREAD_XFER:
case QNET_KIF_MSGTYPE_MSGREAD_ERROR:
- if(rlen < 4 * 4)
+ if (rlen < 4 * 4)
return ret;
/*
@@ -3905,12 +3894,12 @@ dissect_qnet6_kif(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, gint *
/*
* else data
*/
- if(rlen - 4 * 4 > 0)
+ if (rlen - 4 * 4 > 0)
proto_tree_add_item(stree, hf_qnet6_kif_msgwrite_data, tvb, *poffset, MIN(nleft, (guint32) rlen - 4 * 4), ENC_NA);
break;
case QNET_KIF_MSGTYPE_UNBLOCK:
- if(rlen < 4 * 3)
+ if (rlen < 4 * 3)
return ret;
/*
* server id
@@ -3930,14 +3919,14 @@ dissect_qnet6_kif(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, gint *
break;
case QNET_KIF_MSGTYPE_EVENT:
- if(rlen < 4)
+ if (rlen < 4)
return ret;
/*
* client handle
*/
proto_tree_add_item(stree, hf_qnet6_kif_event_client_handle, tvb, *poffset, 4, encoding);
*poffset += 4;
- if(rlen < 4 * 4)
+ if (rlen < 4 * 4)
return ret;
/*
* sigevent
@@ -3958,7 +3947,7 @@ dissect_qnet6_kif(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, gint *
break;
case QNET_KIF_MSGTYPE_SIGNAL:
- if(rlen < 4 * 6)
+ if (rlen < 4 * 6)
return ret;
/*
* client handle
@@ -3990,15 +3979,15 @@ dissect_qnet6_kif(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, gint *
*/
proto_tree_add_item(stree, hf_qnet6_kif_signal_value, tvb, *poffset, 4, encoding);
*poffset += 4;
- if(khdr.msgtype & QNET_KIF_CRED)
+ if (khdr.msgtype & QNET_KIF_CRED)
{
ret = dissect_qnet6_kif_cred(tvb, pinfo, stree, poffset, encoding);
- if(ret != 0)
+ if (ret != 0)
return ret;
}
break;
case QNET_KIF_MSGTYPE_DISCONNECT:
- if(rlen < 4)
+ if (rlen < 4)
return ret;
/*
* server id
@@ -4020,41 +4009,27 @@ dissect_qnet6_kif(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, gint *
#endif
static int
-dissect_qnet6(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, void *data _U_)
+dissect_qnet6(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, void * data _U_)
{
- /*
- * Set up structures needed to add the protocol subtree and manage it
- */
proto_item *ti;
proto_tree *qnet6_tree, *stree;
- guint8 qflags, qlayer, qtype, crcbuf[4];
- guint encoding;
- gint offset = 0;
- gint len, plen, cklen;
- guint32 crc, crcp;
+ guint8 qflags, qlayer, qtype, crcbuf[4];
+ guint encoding;
+ gint offset = 0;
+ gint len, plen, cklen;
+ guint32 crc, crcp;
memset(crcbuf, 0, sizeof(crcbuf));
/*
- * First, if at all possible, do some heuristics to check if the
- * packet cannot possibly belong to your protocol. This is especially
- * important for protocols directly on top of TCP or UDP where port
- * collisions are common place (e.g., even though your protocol uses a
- * well known port, someone else may set up, for example, a web server
- * on that port which, if someone analyzed that web server's traffic
- * in Wireshark, would result in Wireshark handing an HTTP packet to
- * your dissector). For example:
- */
- /*
* Check that there's enough data
*/
len = (gint) tvb_reported_length(tvb);
- if(len < 36 + 2) /* sizeof (l4_pkt) + 2 bytes pad after 0x8204 */
+ if (len < 36 + 2) /* sizeof (l4_pkt) + 2 bytes pad after 0x8204 */
return 0;
col_set_str(pinfo->cinfo, COL_PROTOCOL, "QNET_LWL4");
-
/*
* write to Info column
*/
@@ -4086,13 +4061,13 @@ dissect_qnet6(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, void *data
ti = proto_tree_add_uint(qnet6_tree, hf_qnet6_l4_flags, tvb, offset, 1, qflags);
stree = proto_item_add_subtree(ti, ett_qnet6_flags);
proto_tree_add_boolean(stree, hf_qnet6_l4_flags_first, tvb, offset, 1, qflags);
- if(qflags & (QNET_L4_FLAGS_FIRST))
+ if (qflags & (QNET_L4_FLAGS_FIRST))
proto_item_append_text(ti, " (First Fragment)");
proto_tree_add_boolean(stree, hf_qnet6_l4_flags_last, tvb, offset, 1, qflags);
- if(qflags & QNET_L4_FLAGS_LAST)
+ if (qflags & QNET_L4_FLAGS_LAST)
proto_item_append_text(ti, " (Last Fragment)");
proto_tree_add_boolean(stree, hf_qnet6_l4_flags_crc, tvb, offset, 1, qflags);
- if(qflags & QNET_L4_FLAGS_CRC)
+ if (qflags & QNET_L4_FLAGS_CRC)
proto_item_append_text(ti, " (CRC)");
offset++;
/*
@@ -4161,50 +4136,50 @@ dissect_qnet6(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, void *data
/*
* crc value is l4_pkt header + data behind with original crc is 0
*/
- if((qflags & (QNET_L4_FLAGS_FIRST)) &&
+ if ((qflags & (QNET_L4_FLAGS_FIRST)) &&
(qflags & QNET_L4_FLAGS_LAST) && ((qnet6_lwl4_check_crc) || (qflags & QNET_L4_FLAGS_CRC)))
- {
- /*
- * only do crc when first|last|crc are all set
- */
- /*
- * 1.cksum header of l4_pkt except crc field
- */
- /*
- * qnet is using initial seed 0 not 0xffffffff
- */
- crc = crc32_mpeg2_seed(tvb_get_ptr(tvb, 2, 36 - 4), 36 - 4, 0);
- crc = ~crc;
- /*
- * 2. cksum crc field with 4 bytes 0
- */
- crc = crc32_mpeg2_seed(crcbuf, 4, ~crc);
- crc = ~crc;
- cklen = len - 36 - 2;
- if(plen < cklen)
- cklen = plen;
- /*
- * data after header
- */
- if(cklen != 0)
{
- crc = crc32_mpeg2_seed(tvb_get_ptr(tvb, 36 + 2, cklen), cklen, ~crc);
+ /*
+ * only do crc when first|last|crc are all set
+ */
+ /*
+ * 1.cksum header of l4_pkt except crc field
+ */
+ /*
+ * qnet is using initial seed 0 not 0xffffffff
+ */
+ crc = crc32_mpeg2_seed(tvb_get_ptr(tvb, 2, 36 - 4), 36 - 4, 0);
+ crc = ~crc;
+ /*
+ * 2. cksum crc field with 4 bytes 0
+ */
+ crc = crc32_mpeg2_seed(crcbuf, 4, ~crc);
+ crc = ~crc;
+ cklen = len - 36 - 2;
+ if (plen < cklen)
+ cklen = plen;
+ /*
+ * data after header
+ */
+ if (cklen != 0)
+ {
+ crc = crc32_mpeg2_seed(tvb_get_ptr(tvb, 36 + 2, cklen), cklen, ~crc);
+ crc = ~crc;
+ }
+ /*
+ * qnet l4's crc didn't xor itself at last so we have to
+ * workaround it
+ */
crc = ~crc;
+ if (crcp == crc)
+ proto_tree_add_uint_format(qnet6_tree, hf_qnet6_l4_crc, tvb, offset, 4, crcp, "crc32:0x%x [correct]", crcp);
+ else
+ proto_tree_add_uint_format(qnet6_tree, hf_qnet6_l4_crc, tvb, offset, 4, crcp, "crc32:0x%x [incorrect, should be 0x%x]", crcp, crc);
}
- /*
- * qnet l4's crc didn't xor itself at last so we have to
- * workaround it
- */
- crc = ~crc;
- if(crcp == crc)
- proto_tree_add_uint_format(qnet6_tree, hf_qnet6_l4_crc, tvb, offset, 4, crcp, "crc32:0x%x [correct]", crcp);
- else
- proto_tree_add_uint_format(qnet6_tree, hf_qnet6_l4_crc, tvb, offset, 4, crcp, "crc32:0x%x [incorrect, should be 0x%x]", crcp, crc);
- }
else
- {
- proto_tree_add_item(qnet6_tree, hf_qnet6_l4_crc, tvb, offset, 4, encoding);
- }
+ {
+ proto_tree_add_item(qnet6_tree, hf_qnet6_l4_crc, tvb, offset, 4, encoding);
+ }
offset += 4;
/*
* Continue adding tree items to process the packet here
@@ -4212,22 +4187,23 @@ dissect_qnet6(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, void *data
/*
* there is no data behind l4_pkt header in this packet
*/
- if(len == offset)
+ if (len == offset)
return offset;
/*
* don't support fragment yet
*/
- if(!((qflags & QNET_L4_FLAGS_FIRST) && (qflags & QNET_L4_FLAGS_LAST)))
- {
- if(!(qflags & QNET_L4_FLAGS_FIRST))
+ if (!((qflags & QNET_L4_FLAGS_FIRST) && (qflags & QNET_L4_FLAGS_LAST)))
{
- if(qflags & QNET_L4_FLAGS_LAST)
- col_prepend_fstr(pinfo->cinfo, COL_INFO, "Last Fragmented ");
- else
- col_prepend_fstr(pinfo->cinfo, COL_INFO, "Fragmented ");
- return offset;
+ if (!(qflags & QNET_L4_FLAGS_FIRST))
+ {
+ if (qflags & QNET_L4_FLAGS_LAST)
+ col_prepend_fstr(pinfo->cinfo, COL_INFO, "Last Fragmented ");
+ else
+ col_prepend_fstr(pinfo->cinfo, COL_INFO, "Fragmented ");
+ return offset;
+ }
}
- }
+
/*
* if (plen == 0 ) there is no payload indicated by the length in
* l4_pkt header but we need to go through upper protocol layer to
@@ -4238,68 +4214,65 @@ dissect_qnet6(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, void *data
/*
* qtype < QNET_L4_TYPE_USER is qos packet so qlayer is useless
*/
- if(qtype < QNET_L4_TYPE_USER && qtype > QNET_L4_TYPE_USER_DATA)
- {
- dissect_qnet6_qos(qtype, tvb, pinfo, tree, &offset, encoding);
- }
- else
- {
- switch(qtype)
+ if (qtype < QNET_L4_TYPE_USER && qtype > QNET_L4_TYPE_USER_DATA)
{
- case QNET_L4_TYPE_ACK:
- col_set_str(pinfo->cinfo, COL_INFO, "Ack");
- break;
- case QNET_L4_TYPE_NACK:
- col_set_str(pinfo->cinfo, COL_INFO, "Nack");
- break;
- case QNET_L4_TYPE_LRES:
- col_set_str(pinfo->cinfo, COL_INFO, "Lan Resolver Packets");
- break;
- default:
- break;
+ dissect_qnet6_qos(qtype, tvb, pinfo, tree, &offset, encoding);
}
- switch(qlayer)
+ else
{
- case QNET_L4_LAYER_KIF:
- if(plen >= 4 /* sizeof(struct qnet6_kif_hdr) */ )
+ switch (qtype)
{
- dissect_qnet6_kif(tvb, pinfo, tree, &offset, encoding);
+ case QNET_L4_TYPE_ACK:
+ col_set_str(pinfo->cinfo, COL_INFO, "Ack");
+ break;
+ case QNET_L4_TYPE_NACK:
+ col_set_str(pinfo->cinfo, COL_INFO, "Nack");
+ break;
+ case QNET_L4_TYPE_LRES:
+ col_set_str(pinfo->cinfo, COL_INFO, "Lan Resolver Packets");
+ break;
+ default:
+ break;
}
- break;
- case QNET_L4_LAYER_NR:
- /*
- * at least a type in payload
- */
- if(plen >= (gint) 1)
- dissect_qnet6_nr(tvb, pinfo, tree, &offset, encoding);
- break;
- case QNET_L4_LAYER_LR:
- if(plen >= QNX_QNET6_LR_PKT_SIZE
- /*
- * sizeof(struct qnet6_lr_pkt)
- */ )
+ switch (qlayer)
{
- dissect_qnet6_lr(tvb, pinfo, tree, &offset, encoding);
+ case QNET_L4_LAYER_KIF:
+ if (plen >= 4 /* sizeof(struct qnet6_kif_hdr) */ )
+ {
+ dissect_qnet6_kif (tvb, pinfo, tree, &offset, encoding);
+ }
+ break;
+ case QNET_L4_LAYER_NR:
+ /*
+ * at least a type in payload
+ */
+ if (plen >= (gint) 1)
+ dissect_qnet6_nr(tvb, pinfo, tree, &offset, encoding);
+ break;
+ case QNET_L4_LAYER_LR:
+ if (plen >= QNX_QNET6_LR_PKT_SIZE
+ /*
+ * sizeof(struct qnet6_lr_pkt)
+ */ )
+ {
+ dissect_qnet6_lr(tvb, pinfo, tree, &offset, encoding);
+ }
+ break;
+ case QNET_L4_LAYER_SEQ:
+ col_set_str(pinfo->cinfo, COL_INFO, "Qos Sequence hole filler Packets");
+ break;
}
- break;
- case QNET_L4_LAYER_SEQ:
- col_set_str(pinfo->cinfo, COL_INFO, "Qos Sequence hole filler Packets");
- break;
}
- }
- if(!((qflags & QNET_L4_FLAGS_FIRST) && (qflags & QNET_L4_FLAGS_LAST)))
- {
- if(qflags & QNET_L4_FLAGS_FIRST)
+ if (!((qflags & QNET_L4_FLAGS_FIRST) && (qflags & QNET_L4_FLAGS_LAST)))
{
- /*
- * do as much as we can
- */
- col_prepend_fstr(pinfo->cinfo, COL_INFO, "First fragmented ");
+ if (qflags & QNET_L4_FLAGS_FIRST)
+ {
+ /*
+ * do as much as we can
+ */
+ col_prepend_fstr(pinfo->cinfo, COL_INFO, "First fragmented ");
+ }
}
- }
- /*
- * Return the amount of data this dissector was able to dissect
- */
return offset;
}
@@ -4307,1774 +4280,1621 @@ dissect_qnet6(tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree, void *data
* Register the protocol with Wireshark
*/
-/*
- * this format is require because a script is used to build the C function
- * that calls all the protocol registration.
- */
-
void
proto_register_qnet6(void)
{
static hf_register_info hf[] = {
{&hf_qnet6_l4_padding,
- {"Padding",
- "qnet6.l4.padding", FT_UINT16, BASE_HEX,
- NULL, 0,
+ {"Padding", "qnet6.l4.padding",
+ FT_UINT16, BASE_HEX, NULL, 0,
NULL, HFILL
- }
- },
+ }
+ },
{&hf_qnet6_l4_ver,
- {"Version",
- "qnet6.l4.ver", FT_UINT8, BASE_DEC,
- VALS(qnet6_ver_vals), 0,
+ {"Version", "qnet6.l4.ver",
+ FT_UINT8, BASE_DEC, VALS(qnet6_ver_vals), 0,
"QNET6 L4 Packet Version", HFILL
- }
- },
+ }
+ },
{&hf_qnet6_l4_type,
- {"Type",
- "qnet6.l4.type", FT_UINT8, BASE_HEX,
- VALS(qnet6_type_vals), 0,
+ {"Type", "qnet6.l4.type",
+ FT_UINT8, BASE_HEX, VALS(qnet6_type_vals), 0,
"QNET6 L4 Upper layer protocol type", HFILL}
- },
+ },
{&hf_qnet6_l4_flags,
- {"Flag",
- "qnet6.l4.flags", FT_UINT8, BASE_HEX,
- NULL, 0, NULL, HFILL}
- },
+ {"Flag", "qnet6.l4.flags",
+ FT_UINT8, BASE_HEX, NULL, 0,
+ NULL, HFILL}
+ },
{&hf_qnet6_l4_flags_first,
- {"First",
- "qnet6.l4.flags.first", FT_BOOLEAN, 8,
- TFS(&tfs_yes_no), QNET_L4_FLAGS_FIRST,
+ {"First", "qnet6.l4.flags.first",
+ FT_BOOLEAN, 8, TFS(&tfs_yes_no), QNET_L4_FLAGS_FIRST,
"QNET6 L4 Packet first fragment", HFILL}
- },
+ },
{&hf_qnet6_l4_flags_last,
- {"Last",
- "qnet6.l4.flags.last", FT_BOOLEAN, 8,
- TFS(&tfs_yes_no), QNET_L4_FLAGS_LAST,
+ {"Last", "qnet6.l4.flags.last",
+ FT_BOOLEAN, 8, TFS(&tfs_yes_no), QNET_L4_FLAGS_LAST,
"QNET6 L4 Packet last fragment", HFILL}
- },
+ },
{&hf_qnet6_l4_flags_crc,
- {"Crc",
- "qnet6.l4.flags.crc", FT_BOOLEAN, 8,
- TFS(&tfs_used_notused), QNET_L4_FLAGS_CRC,
+ {"Crc", "qnet6.l4.flags.crc",
+ FT_BOOLEAN, 8, TFS(&tfs_used_notused), QNET_L4_FLAGS_CRC,
"QNET6 L4 Packet crc used", HFILL}
- },
+ },
{&hf_qnet6_l4_layer,
- {"Layer",
- "qnet6.l4.layer", FT_UINT8, BASE_DEC,
- VALS(qnet6_layer_vals), 0, "QNET6 L4 Packet layer", HFILL}
- },
+ {"Layer", "qnet6.l4.layer",
+ FT_UINT8, BASE_DEC, VALS(qnet6_layer_vals), 0,
+ "QNET6 L4 Packet layer", HFILL}
+ },
/* start from here is for qos_info */
/* in qos_info, node id is like ip address
* but node id is not global like ip address
* node id is unique on any node only. dragonlinux
*/
{&hf_qnet6_l4_qos_info,
- {"Qos info",
- "qnet6.qos.qos_info", FT_NONE, BASE_NONE,
- NULL, 0, NULL, HFILL}
- },
+ {"Qos info", "qnet6.qos.qos_info",
+ FT_NONE, BASE_NONE, NULL, 0,
+ NULL, HFILL}
+ },
{&hf_qnet6_l4_qos_src_nd_for_dst,
- {"Src_nd_for_dst",
- "qnet6.qos.src_nd_for_dst", FT_UINT16, BASE_DEC,
- NULL, 0, "QNET6 source node id for destination node", HFILL}
- },
+ {"Src_nd_for_dst", "qnet6.qos.src_nd_for_dst",
+ FT_UINT16, BASE_DEC, NULL, 0,
+ "QNET6 source node id for destination node", HFILL}
+ },
{&hf_qnet6_l4_qos_dst_nd_for_src,
- {"Dst_nd_for_src",
- "qnet6.qos.dst_nd_for_src", FT_UINT16, BASE_DEC,
- NULL, 0, "QNET6 destination node id for source node", HFILL}
- },
+ {"Dst_nd_for_src", "qnet6.qos.dst_nd_for_src",
+ FT_UINT16, BASE_DEC, NULL, 0,
+ "QNET6 destination node id for source node", HFILL}
+ },
/* in qos_info, connection id is like port number */
{&hf_qnet6_l4_qos_src_conn_id,
- {"Sconn",
- "qnet6.qos.sconn", FT_UINT32, BASE_HEX,
- NULL, 0, "QNET6 source node's connection id", HFILL}
- },
+ {"Sconn", "qnet6.qos.sconn",
+ FT_UINT32, BASE_HEX, NULL, 0,
+ "QNET6 source node's connection id", HFILL}
+ },
{&hf_qnet6_l4_qos_dst_conn_id,
- {"Dconn",
- "qnet6.qos.dconn", FT_UINT32, BASE_HEX,
- NULL, 0, "QNET6 destination node's connection id", HFILL}
- },
+ {"Dconn", "qnet6.qos.dconn",
+ FT_UINT32, BASE_HEX, NULL, 0,
+ "QNET6 destination node's connection id", HFILL}
+ },
{&hf_qnet6_l4_qos_src_seq_num,
- {"Seq",
- "qnet6.qos.seq", FT_UINT32, BASE_DEC,
- NULL, 0, "QNET6 connection sequence number", HFILL}
- },
+ {"Seq", "qnet6.qos.seq",
+ FT_UINT32, BASE_DEC, NULL, 0,
+ "QNET6 connection sequence number", HFILL}
+ },
{&hf_qnet6_l4_qos_qos_type,
- {"Sos_type",
- "qnet6.qos.qos_type", FT_UINT16, BASE_DEC,
- VALS(qnet6_qos_type_vals), 0, "QNET6 qos type", HFILL}
- },
+ {"Sos_type", "qnet6.qos.qos_type",
+ FT_UINT16, BASE_DEC, VALS(qnet6_qos_type_vals), 0,
+ "QNET6 qos type", HFILL}
+ },
{&hf_qnet6_l4_qos_src_qos_idx,
- {"Src_qos_idx",
- "qnet6.qos.src_qos_idx", FT_UINT16, BASE_DEC,
- NULL, 0, "QNET6 source node qos index", HFILL}
- },
+ {"Src_qos_idx", "qnet6.qos.src_qos_idx",
+ FT_UINT16, BASE_DEC, NULL, 0,
+ "QNET6 source node qos index", HFILL}
+ },
/* end of qos_info in l4_pkt */
{&hf_qnet6_l4_offset,
- {"Offset",
- "qnet6.l4.offset", FT_UINT32, BASE_DEC,
- NULL, 0, "QNET6 Packet offset in stream", HFILL}
- },
+ {"Offset", "qnet6.l4.offset",
+ FT_UINT32, BASE_DEC, NULL, 0,
+ "QNET6 Packet offset in stream", HFILL}
+ },
{&hf_qnet6_l4_length,
- {"Length",
- "qnet6.l4.length", FT_UINT32, BASE_DEC,
- NULL, 0, "QNET6 Packet payload length", HFILL}
- },
+ {"Length", "qnet6.l4.length",
+ FT_UINT32, BASE_DEC, NULL, 0,
+ "QNET6 Packet payload length", HFILL}
+ },
{&hf_qnet6_l4_crc,
- {"Crc",
- "qnet6.l4.crc", FT_UINT32, BASE_HEX,
- NULL, 0, "QNET6 Packet cksum of header and payload", HFILL}
- }
+ {"Crc", "qnet6.l4.crc",
+ FT_UINT32, BASE_HEX, NULL, 0,
+ "QNET6 Packet cksum of header and payload", HFILL}
+ }
};
static hf_register_info hf_qos[] = {
{&hf_qnet6_qos_tcs_src_name_off,
- {"Src_name_off", "qnet6.qos.src_name_off", FT_UINT16,
- BASE_DEC,
- NULL, 0, "Source name offset",
- HFILL}
- },
+ {"Src_name_off", "qnet6.qos.src_name_off",
+ FT_UINT16, BASE_DEC, NULL, 0,
+ "Source name offset", HFILL}
+ },
{&hf_qnet6_qos_tcs_src_name_generated,
- {"Src_name", "qnet6.qos.src_name", FT_STRING,
- BASE_NONE,
- NULL, 0, "Source name",
- HFILL}
- },
+ {"Src_name", "qnet6.qos.src_name",
+ FT_STRING, BASE_NONE, NULL, 0,
+ "Source name", HFILL}
+ },
{&hf_qnet6_qos_tcs_src_domain_off,
- {"Src_domain_off", "qnet6.qos.src_domain_off", FT_UINT16,
- BASE_DEC,
- NULL, 0, "Source domain name offset",
- HFILL}
- },
+ {"Src_domain_off", "qnet6.qos.src_domain_off",
+ FT_UINT16, BASE_DEC, NULL, 0,
+ "Source domain name offset", HFILL}
+ },
{&hf_qnet6_qos_tcs_src_domain_generated,
- {"Src_domain", "qnet6.qos.src_domain", FT_STRING,
- BASE_NONE,
- NULL, 0, "Source domain name",
- HFILL}
- },
+ {"Src_domain", "qnet6.qos.src_domain",
+ FT_STRING, BASE_NONE, NULL, 0,
+ "Source domain name", HFILL}
+ },
{&hf_qnet6_qos_tcs_dst_name_off,
- {"Dst_name_off", "qnet6.qos.dst_name_off", FT_UINT16,
- BASE_DEC,
- NULL, 0, "Destination name offset",
- HFILL}
- },
+ {"Dst_name_off", "qnet6.qos.dst_name_off",
+ FT_UINT16, BASE_DEC, NULL, 0,
+ "Destination name offset", HFILL}
+ },
{&hf_qnet6_qos_tcs_dst_name_generated,
- {"Dst_name", "qnet6.qos.dst_name", FT_STRING,
- BASE_NONE,
- NULL, 0, "Destination name",
- HFILL}
- },
+ {"Dst_name", "qnet6.qos.dst_name",
+ FT_STRING, BASE_NONE, NULL, 0,
+ "Destination name", HFILL}
+ },
{&hf_qnet6_qos_tcs_dst_domain_off,
- {"Dst_domain_off", "qnet6.qos.dst_domain_off", FT_UINT16,
- BASE_DEC,
- NULL, 0, "Destination domain name offset",
- HFILL}
- },
+ {"Dst_domain_off", "qnet6.qos.dst_domain_off",
+ FT_UINT16, BASE_DEC, NULL, 0,
+ "Destination domain name offset", HFILL}
+ },
{&hf_qnet6_qos_tcs_dst_domain_generated,
- {"Dst_domain", "qnet6.qos.dst_domain", FT_STRING,
- BASE_NONE,
- NULL, 0, "Destination domain name",
- HFILL}
- }
+ {"Dst_domain", "qnet6.qos.dst_domain",
+ FT_STRING, BASE_NONE, NULL, 0,
+ "Destination domain name", HFILL}
+ }
};
static hf_register_info hf_nr[] = {
/* type, size are the first guint8 in all nr messages */
{&hf_qnet6_nr_type,
- {"Type", "qnet6.nr.type", FT_UINT8, BASE_DEC,
- VALS(qnet6_nr_type_vals), 0,
- "Network Resolver Message Type",
- HFILL}
- },
+ {"Type", "qnet6.nr.type",
+ FT_UINT8, BASE_DEC, VALS(qnet6_nr_type_vals), 0,
+ "Network Resolver Message Type", HFILL}
+ },
{&hf_qnet6_nr_remote_req_len,
- {"Req_len", "qnet6.nr.req_len", FT_UINT8, BASE_DEC,
- NULL, 0,
- "Network Resolver remote request length",
- HFILL}
- },
+ {"Req_len", "qnet6.nr.req_len",
+ FT_UINT8, BASE_DEC, NULL, 0,
+ "Network Resolver remote request length", HFILL}
+ },
{&hf_qnet6_nr_remote_req_id,
- {"Req_id", "qnet6.nr.req_id", FT_UINT16, BASE_HEX_DEC,
- NULL, 0,
- "Network Resolver remote request id",
- HFILL}
- },
+ {"Req_id", "qnet6.nr.req_id",
+ FT_UINT16, BASE_HEX_DEC, NULL, 0,
+ "Network Resolver remote request id", HFILL}
+ },
{&hf_qnet6_nr_remote_req_name,
- {"Req_name", "qnet6.nr.req_name", FT_STRINGZ, BASE_NONE,
- NULL, 0,
- "Network Resolver remote request name",
- HFILL}
- },
+ {"Req_name", "qnet6.nr.req_name",
+ FT_STRINGZ, BASE_NONE, NULL, 0,
+ "Network Resolver remote request name", HFILL}
+ },
{&hf_qnet6_nr_remote_rep_spare,
- {"Rep_spare", "qnet6.nr.rep_spare", FT_UINT8, BASE_HEX,
- NULL, 0,
- "Network Resolver remote answer pad byte",
- HFILL}
- },
+ {"Rep_spare", "qnet6.nr.rep_spare",
+ FT_UINT8, BASE_HEX, NULL, 0,
+ "Network Resolver remote answer pad byte", HFILL}
+ },
{&hf_qnet6_nr_remote_rep_id,
- {"Rep_id", "qnet6.nr.rep_id", FT_UINT16, BASE_HEX,
- NULL, 0,
- "Network Resolver remote answer id",
- HFILL}
- },
+ {"Rep_id", "qnet6.nr.rep_id",
+ FT_UINT16, BASE_HEX, NULL, 0,
+ "Network Resolver remote answer id", HFILL}
+ },
{&hf_qnet6_nr_remote_rep_nd,
- {"Rep_nd", "qnet6.nr.rep_nd", FT_UINT32, BASE_HEX,
- NULL, 0,
- "Network Resolver remote answer node id",
- HFILL}
- },
+ {"Rep_nd", "qnet6.nr.rep_nd",
+ FT_UINT32, BASE_HEX, NULL, 0,
+ "Network Resolver remote answer node id", HFILL}
+ },
{&hf_qnet6_nr_remote_rep_status,
- {"Rep_status", "qnet6.nr.rep_status", FT_UINT32, BASE_HEX,
- NULL, 0,
- "Network Resolver remote answer error status",
- HFILL}
- }
+ {"Rep_status", "qnet6.nr.rep_status",
+ FT_UINT32, BASE_HEX, NULL, 0,
+ "Network Resolver remote answer error status", HFILL}
+ }
};
static hf_register_info hf_lr[] = {
/* start of qnet6_lr_pkt */
{&hf_qnet6_lr_ver,
- {"Version", "qnet6.lr.ver", FT_UINT8, BASE_DEC,
- VALS(qnet6_lr_ver_vals), 0, "Lan Resolver Version",
- HFILL}
- },
+ {"Version", "qnet6.lr.ver",
+ FT_UINT8, BASE_DEC, VALS(qnet6_lr_ver_vals), 0,
+ "Lan Resolver Version", HFILL}
+ },
{&hf_qnet6_lr_type,
- {"Type",
- "qnet6.lr.type", FT_UINT8, BASE_HEX,
- VALS(qnet6_lr_type_vals), 0, "Lan Resolver Message Type",
- HFILL}
- },
+ {"Type", "qnet6.lr.type",
+ FT_UINT8, BASE_HEX, VALS(qnet6_lr_type_vals), 0,
+ "Lan Resolver Message Type", HFILL}
+ },
{&hf_qnet6_lr_total_len,
- {"Length",
- "qnet6.lr.length", FT_UINT32, BASE_DEC,
- NULL, 0, "LR Message total length(include header + payload)",
- HFILL}
- },
+ {"Length", "qnet6.lr.length",
+ FT_UINT32, BASE_DEC, NULL, 0,
+ "LR Message total length(include header + payload)", HFILL}
+ },
{&hf_qnet6_lr_src,
- {"Source",
- "qnet6.lr.src", FT_STRING, BASE_NONE,
- NULL, 0, "LR Message source node", HFILL}
- },
+ {"Source", "qnet6.lr.src",
+ FT_STRING, BASE_NONE, NULL, 0,
+ "LR Message source node", HFILL}
+ },
{&hf_qnet6_lr_src_name_off,
- {"Offset",
- "qnet6.lr.src.name.off", FT_UINT32, BASE_DEC,
- NULL, 0, "LR Message source name offset", HFILL}
- },
+ {"Offset", "qnet6.lr.src.name.off",
+ FT_UINT32, BASE_DEC, NULL, 0,
+ "LR Message source name offset", HFILL}
+ },
{&hf_qnet6_lr_src_name_len,
- {"Length",
- "qnet6.lr.src.name.len", FT_UINT32, BASE_DEC,
- NULL, 0, "LR Message source name length", HFILL}
- },
+ {"Length", "qnet6.lr.src.name.len",
+ FT_UINT32, BASE_DEC, NULL, 0,
+ "LR Message source name length", HFILL}
+ },
{&hf_qnet6_lr_src_name_generated,
- {"Name",
- "qnet6.lr.src.name.name", FT_STRING, BASE_NONE,
- NULL, 0, "LR Message source name", HFILL}
- },
+ {"Name", "qnet6.lr.src.name.name",
+ FT_STRING, BASE_NONE, NULL, 0,
+ "LR Message source name", HFILL}
+ },
{&hf_qnet6_lr_src_domain_off,
- {"Offset",
- "qnet6.lr.src.domain.off", FT_UINT32, BASE_DEC,
- NULL, 0, "LR Message source domain name offset", HFILL}
- },
+ {"Offset", "qnet6.lr.src.domain.off",
+ FT_UINT32, BASE_DEC, NULL, 0,
+ "LR Message source domain name offset", HFILL}
+ },
{&hf_qnet6_lr_src_domain_len,
- {"Length",
- "qnet6.lr.src.domain.len", FT_UINT32, BASE_DEC,
- NULL, 0, "LR Message source domain name length", HFILL}
- },
+ {"Length", "qnet6.lr.src.domain.len",
+ FT_UINT32, BASE_DEC, NULL, 0,
+ "LR Message source domain name length", HFILL}
+ },
{&hf_qnet6_lr_src_domain_generated,
- {"Domain",
- "qnet6.lr.src.domain", FT_STRING, BASE_NONE,
- NULL, 0, "LR Message source domain name", HFILL}
- },
+ {"Domain", "qnet6.lr.src.domain",
+ FT_STRING, BASE_NONE, NULL, 0,
+ "LR Message source domain name", HFILL}
+ },
{&hf_qnet6_lr_src_addr_off,
- {"Offset",
- "qnet6.lr.src.addr.off", FT_UINT32, BASE_DEC,
- NULL, 0, "LR Message source address offset", HFILL}
- },
+ {"Offset", "qnet6.lr.src.addr.off",
+ FT_UINT32, BASE_DEC, NULL, 0,
+ "LR Message source address offset", HFILL}
+ },
{&hf_qnet6_lr_src_addr_len,
- {"Length",
- "qnet6.lr.src.addr.len", FT_UINT32, BASE_DEC,
- NULL, 0, "LR Message source address length", HFILL}
- },
+ {"Length", "qnet6.lr.src.addr.len",
+ FT_UINT32, BASE_DEC, NULL, 0,
+ "LR Message source address length", HFILL}
+ },
{&hf_qnet6_lr_src_addr_generated,
- {"Address",
- "qnet6.lr.src.addr", FT_STRING, BASE_NONE,
- NULL, 0, "LR Message source address", HFILL}
- },
+ {"Address", "qnet6.lr.src.addr",
+ FT_STRING, BASE_NONE, NULL, 0,
+ "LR Message source address", HFILL}
+ },
{&hf_qnet6_lr_dst,
- {"Destination",
- "qnet6.lr.dst", FT_STRING, BASE_NONE,
- NULL, 0, "LR Message destination node", HFILL}
- },
+ {"Destination", "qnet6.lr.dst",
+ FT_STRING, BASE_NONE, NULL, 0,
+ "LR Message destination node", HFILL}
+ },
{&hf_qnet6_lr_dst_name_off,
- {"Offset",
- "qnet6.lr.dst.name.off", FT_UINT32, BASE_DEC,
- NULL, 0, "LR Message destination name offset", HFILL}
- },
+ {"Offset", "qnet6.lr.dst.name.off",
+ FT_UINT32, BASE_DEC, NULL, 0,
+ "LR Message destination name offset", HFILL}
+ },
{&hf_qnet6_lr_dst_name_len,
- {"Length",
- "qnet6.lr.dst.name.len", FT_UINT32, BASE_DEC,
- NULL, 0, "LR Message destination name length", HFILL}
- },
+ {"Length", "qnet6.lr.dst.name.len",
+ FT_UINT32, BASE_DEC, NULL, 0,
+ "LR Message destination name length", HFILL}
+ },
{&hf_qnet6_lr_dst_name_generated,
- {"Name",
- "qnet6.lr.dst.name", FT_STRING, BASE_NONE,
- NULL, 0, "LR Message destination name", HFILL}
- },
+ {"Name", "qnet6.lr.dst.name",
+ FT_STRING, BASE_NONE, NULL, 0,
+ "LR Message destination name", HFILL}
+ },
{&hf_qnet6_lr_dst_domain_off,
- {"Offset",
- "qnet6.lr.dst.domain.off", FT_UINT32, BASE_DEC,
- NULL, 0, "LR Message destination domain name offset", HFILL}
- },
+ {"Offset", "qnet6.lr.dst.domain.off",
+ FT_UINT32, BASE_DEC, NULL, 0,
+ "LR Message destination domain name offset", HFILL}
+ },
{&hf_qnet6_lr_dst_domain_len,
- {"Length",
- "qnet6.lr.dst_domain_len", FT_UINT32, BASE_DEC,
- NULL, 0, "LR Message destination domain name length", HFILL}
- },
+ {"Length", "qnet6.lr.dst_domain_len",
+ FT_UINT32, BASE_DEC, NULL, 0,
+ "LR Message destination domain name length", HFILL}
+ },
{&hf_qnet6_lr_dst_domain_generated,
- {"Domain",
- "qnet6.lr.dst.domain", FT_STRING, BASE_NONE,
- NULL, 0, "LR Message destination domain name", HFILL}
- },
+ {"Domain", "qnet6.lr.dst.domain",
+ FT_STRING, BASE_NONE, NULL, 0,
+ "LR Message destination domain name", HFILL}
+ },
{&hf_qnet6_lr_dst_addr_off,
- {"Offset",
- "qnet6.lr.dst.addr.off", FT_UINT32, BASE_DEC,
- NULL, 0, "LR Message destination address offset", HFILL}
- },
+ {"Offset", "qnet6.lr.dst.addr.off",
+ FT_UINT32, BASE_DEC, NULL, 0,
+ "LR Message destination address offset", HFILL}
+ },
{&hf_qnet6_lr_dst_addr_len,
- {"Length",
- "qnet6.lr.dst.addr.len", FT_UINT32, BASE_DEC,
- NULL, 0, "LR Message destination address length", HFILL}
- },
+ {"Length", "qnet6.lr.dst.addr.len",
+ FT_UINT32, BASE_DEC, NULL, 0,
+ "LR Message destination address length", HFILL}
+ },
{&hf_qnet6_lr_dst_addr_generated,
- {"Address",
- "qnet6.lr.dst.addr", FT_STRING, BASE_NONE,
- NULL, 0, "LR Message destination address", HFILL}
- }
+ {"Address", "qnet6.lr.dst.addr",
+ FT_STRING, BASE_NONE, NULL, 0,
+ "LR Message destination address", HFILL}
+ }
};
static hf_register_info hf_kif[] = {
/* msgtype, size are the first 2 in all kif messages */
{&hf_qnet6_kif_msgtype,
- {"Type", "qnet6.kif.type", FT_UINT16, BASE_HEX,
- VALS(qnet6_kif_msgtype_vals), QNET_KIF_MSGTYPE_MASK,
- "Kernel Interface Message Type",
- HFILL}
- },
+ {"Type", "qnet6.kif.type",
+ FT_UINT16, BASE_HEX, VALS(qnet6_kif_msgtype_vals), QNET_KIF_MSGTYPE_MASK,
+ "Kernel Interface Message Type", HFILL}
+ },
{&hf_qnet6_kif_size,
- {"Size", "qnet6.kif.size", FT_UINT16, BASE_HEX,
- NULL, 0, "Kernel Interface Message header size",
- HFILL}
- },
+ {"Size", "qnet6.kif.size",
+ FT_UINT16, BASE_HEX, NULL, 0,
+ "Kernel Interface Message header size", HFILL}
+ },
/* some kif messages will include version as well */
{&hf_qnet6_kif_version,
- {"Version", "qnet6.kif.version", FT_UINT32, BASE_HEX,
- NULL, 0, "Kernel Interface Message version",
- HFILL}
- },
+ {"Version", "qnet6.kif.version",
+ FT_UINT32, BASE_HEX, NULL, 0,
+ "Kernel Interface Message version", HFILL}
+ },
/* connect message after msghdr */
{&hf_qnet6_kif_connect,
- {"Connect", "qnet6.kif.connect", FT_STRING, BASE_NONE,
- NULL, 0,
- "Connect Message",
- HFILL}
- },
+ {"Connect", "qnet6.kif.connect",
+ FT_STRING, BASE_NONE, NULL, 0,
+ "Connect Message", HFILL}
+ },
{&hf_qnet6_kif_msgsend,
- {"Msgsend", "qnet6.kif.msgsend", FT_STRING, BASE_NONE,
- NULL, 0,
- "Msgsend Message",
- HFILL}
- },
+ {"Msgsend", "qnet6.kif.msgsend",
+ FT_STRING, BASE_NONE, NULL, 0,
+ "Msgsend Message", HFILL}
+ },
{&hf_qnet6_kif_connect_server_pid,
- {"Server_pid", "qnet6.kif.connect.server_pid", FT_UINT32,
- BASE_DEC,
- NULL, 0, "Kernel Interface Message Server Pid",
- HFILL}
- },
+ {"Server_pid", "qnet6.kif.connect.server_pid",
+ FT_UINT32, BASE_DEC, NULL, 0,
+ "Kernel Interface Message Server Pid", HFILL}
+ },
{&hf_qnet6_kif_connect_server_chid,
- {"Server_chid", "qnet6.kif.connect.server_chid", FT_UINT32,
- BASE_HEX_DEC,
- NULL, 0, "Kernel Interface Message Server channel id",
- HFILL}
- },
+ {"Server_chid", "qnet6.kif.connect.server_chid",
+ FT_UINT32, BASE_HEX_DEC, NULL, 0,
+ "Kernel Interface Message Server channel id", HFILL}
+ },
{&hf_qnet6_kif_connect_client_id,
- {"Client_id", "qnet6.kif.connect.client_id", FT_UINT32,
- BASE_HEX_DEC,
- NULL, 0, "Kernel Interface Message client id",
- HFILL}
- },
+ {"Client_id", "qnet6.kif.connect.client_id",
+ FT_UINT32, BASE_HEX_DEC, NULL, 0,
+ "Kernel Interface Message client id", HFILL}
+ },
{&hf_qnet6_kif_connect_client_pid,
- {"Client_pid", "qnet6.kif.connect.client_pid", FT_UINT32,
- BASE_DEC,
- NULL, 0, "Kernel Interface Message Client Pid",
- HFILL}
- },
+ {"Client_pid", "qnet6.kif.connect.client_pid",
+ FT_UINT32, BASE_DEC, NULL, 0,
+ "Kernel Interface Message Client Pid", HFILL}
+ },
/* connect success message after msghdr */
{&hf_qnet6_kif_connects_client_id,
- {"Client_id", "qnet6.kif.connect_success.client_id", FT_INT32,
- BASE_DEC,
- NULL, 0, "Kernel Interface Message client id",
- HFILL}
- },
+ {"Client_id", "qnet6.kif.connect_success.client_id",
+ FT_INT32, BASE_DEC, NULL, 0,
+ "Kernel Interface Message client id", HFILL}
+ },
{&hf_qnet6_kif_connects_server_id,
- {"Server_id", "qnet6.kif.connect_success.server_id", FT_INT32,
- BASE_DEC,
- NULL, 0, "Kernel Interface Message Server id",
- HFILL}
- },
+ {"Server_id", "qnet6.kif.connect_success.server_id",
+ FT_INT32, BASE_DEC, NULL, 0,
+ "Kernel Interface Message Server id", HFILL}
+ },
{&hf_qnet6_kif_connects_scoid,
- {"Scoid", "qnet6.kif.connect_success.scoid", FT_INT32,
- BASE_DEC,
- NULL, 0, "Kernel Interface Message server connection id",
- HFILL}
- },
+ {"Scoid", "qnet6.kif.connect_success.scoid",
+ FT_INT32, BASE_DEC, NULL, 0,
+ "Kernel Interface Message server connection id", HFILL}
+ },
{&hf_qnet6_kif_connects_nbytes,
- {"Nbytes", "qnet6.kif.connect_success.nbytes", FT_UINT32,
- BASE_DEC_HEX,
- NULL, 0, "Kernel Interface Message limit for msgsend",
- HFILL}
- },
+ {"Nbytes", "qnet6.kif.connect_success.nbytes",
+ FT_UINT32, BASE_DEC_HEX, NULL, 0,
+ "Kernel Interface Message limit for msgsend", HFILL}
+ },
/* connect fail after msghdr and version */
{&hf_qnet6_kif_connectf_client_id,
- {"Client_id", "qnet6.kif.connect_fail.client_id", FT_INT32,
- BASE_DEC,
- NULL, 0, "Kernel Interface Connect Fail Message client id",
- HFILL}
- },
+ {"Client_id", "qnet6.kif.connect_fail.client_id",
+ FT_INT32, BASE_DEC, NULL, 0,
+ "Kernel Interface Connect Fail Message client id", HFILL}
+ },
{&hf_qnet6_kif_connectf_status,
- {"Status", "qnet6.kif.connect_fail.status", FT_INT32, BASE_DEC,
- NULL, 0, "Kernel Interface Connect Fail Message Status",
- HFILL}
- },
+ {"Status", "qnet6.kif.connect_fail.status",
+ FT_INT32, BASE_DEC, NULL, 0,
+ "Kernel Interface Connect Fail Message Status", HFILL}
+ },
/* connect death after msghdr */
{&hf_qnet6_kif_connectd_client_id,
- {"Client_id", "qnet6.kif.connect_death.client_id", FT_INT32,
- BASE_DEC,
- NULL, 0, "Kernel Interface Connect Death Message client id",
- HFILL}
- },
+ {"Client_id", "qnet6.kif.connect_death.client_id",
+ FT_INT32, BASE_DEC, NULL, 0,
+ "Kernel Interface Connect Death Message client id", HFILL}
+ },
/* msgsend message after msghdr */
{&hf_qnet6_kif_msgsend_server_id,
- {"Server_id", "qnet6.kif.msgsend.server_id", FT_INT32,
- BASE_DEC,
- NULL, 0, "Kernel Interface MsgSend Message Server id",
- HFILL}
- },
+ {"Server_id", "qnet6.kif.msgsend.server_id",
+ FT_INT32, BASE_DEC, NULL, 0,
+ "Kernel Interface MsgSend Message Server id", HFILL}
+ },
{&hf_qnet6_kif_msgsend_client_handle,
- {"Client_handle", "qnet6.kif.msgsend.client_handle", FT_INT32,
- BASE_DEC,
- NULL, 0, "MsgSend Message client handle",
- HFILL}
- },
+ {"Client_handle", "qnet6.kif.msgsend.client_handle",
+ FT_INT32, BASE_DEC, NULL, 0,
+ "MsgSend Message client handle", HFILL}
+ },
/* msgsend vtid_info here */
{&hf_qnet6_kif_msgsend_vinfo,
- {"Vinfo", "qnet6.kif.msgsend.vinfo", FT_STRINGZ, BASE_NONE,
- NULL, 0,
- "Kernel Interface MsgSend Message virtual thread information",
- HFILL}
- },
+ {"Vinfo", "qnet6.kif.msgsend.vinfo",
+ FT_STRINGZ, BASE_NONE, NULL, 0,
+ "Kernel Interface MsgSend Message virtual thread information", HFILL}
+ },
{&hf_qnet6_kif_vtid_info_tid,
- {"Vtid", "qnet6.kif.msgsend.vtid_info.tid", FT_INT32, BASE_DEC,
- NULL, 0,
- "essage virtual thread information thread id",
- HFILL}
- },
+ {"Vtid", "qnet6.kif.msgsend.vtid_info.tid",
+ FT_INT32, BASE_DEC, NULL, 0,
+ "essage virtual thread information thread id", HFILL}
+ },
{&hf_qnet6_kif_vtid_info_coid,
- {"Coid", "qnet6.kif.msgsend.vtid_info.coid", FT_INT32,
- BASE_DEC,
- NULL, 0,
- "Kernel Interface MsgSend Message virtual thread connection id",
- HFILL}
- },
+ {"Coid", "qnet6.kif.msgsend.vtid_info.coid",
+ FT_INT32, BASE_DEC, NULL, 0,
+ "Kernel Interface MsgSend Message virtual thread connection id", HFILL}
+ },
{&hf_qnet6_kif_vtid_info_priority,
- {"Priority", "qnet6.kif.msgsend.vtid_info.priority", FT_INT32,
- BASE_DEC,
- NULL, 0, "MsgSend Message virtual thread priority",
- HFILL}
- },
+ {"Priority", "qnet6.kif.msgsend.vtid_info.priority",
+ FT_INT32, BASE_DEC, NULL, 0,
+ "MsgSend Message virtual thread priority", HFILL}
+ },
{&hf_qnet6_kif_vtid_info_srcmsglen,
{"Srcmsglen", "qnet6.kif.msgsend.vtid_info.srcmsglen",
- FT_INT32, BASE_DEC,
- NULL, 0,
- "MsgSend Message virtual thread source message length",
- HFILL}
- },
+ FT_INT32, BASE_DEC, NULL, 0,
+ "MsgSend Message virtual thread source message length", HFILL}
+ },
{&hf_qnet6_kif_vtid_info_keydata,
- {"Keydata", "qnet6.kif.msgsend.vtid_info.keydata", FT_INT32,
- BASE_DEC,
- NULL, 0, "MsgSend Message virtual thread keydata",
- HFILL}
- },
+ {"Keydata", "qnet6.kif.msgsend.vtid_info.keydata",
+ FT_INT32, BASE_DEC, NULL, 0,
+ "MsgSend Message virtual thread keydata", HFILL}
+ },
{&hf_qnet6_kif_vtid_info_srcnd,
- {"Srcnd", "qnet6.kif.msgsend.vtid_info.srcnd", FT_INT32,
- BASE_DEC,
- NULL, 0, "MsgSend Message virtual thread source node id",
- HFILL}
- },
+ {"Srcnd", "qnet6.kif.msgsend.vtid_info.srcnd",
+ FT_INT32, BASE_DEC, NULL, 0,
+ "MsgSend Message virtual thread source node id", HFILL}
+ },
{&hf_qnet6_kif_vtid_info_dstmsglen,
{"Dstmsglen", "qnet6.kif.msgsend.vtid_info.dstmsglen",
- FT_INT32, BASE_DEC,
- NULL, 0,
- "MsgSend Message virtual thread destination message length",
- HFILL}
- },
+ FT_INT32, BASE_DEC, NULL, 0,
+ "MsgSend Message virtual thread destination message length", HFILL}
+ },
{&hf_qnet6_kif_vtid_info_zero,
- {"Zero", "qnet6.kif.msgsend.vtid_info.zero", FT_INT32,
- BASE_DEC,
- NULL, 0, "MsgSend Message virtual thread reserved part",
- HFILL}
- },
+ {"Zero", "qnet6.kif.msgsend.vtid_info.zero",
+ FT_INT32, BASE_DEC, NULL, 0,
+ "MsgSend Message virtual thread reserved part", HFILL}
+ },
{&hf_qnet6_kif_msgsend_nbytes,
- {"Nbytes", "qnet6.kif.msgsend.nbytes", FT_UINT32, BASE_DEC_HEX,
- NULL, 0, "Kernel Interface MsgSend Message limit for msgsend",
- HFILL}
- },
+ {"Nbytes", "qnet6.kif.msgsend.nbytes",
+ FT_UINT32, BASE_DEC_HEX, NULL, 0,
+ "Kernel Interface MsgSend Message limit for msgsend", HFILL}
+ },
{&hf_qnet6_kif_msgread_msgread_handle,
{"Msgread_handle", "qnet6.kif.msgread.msgread_handle",
- FT_INT32, BASE_DEC,
- NULL, 0, "MsgRead Message handle",
- HFILL}
- },
+ FT_INT32, BASE_DEC, NULL, 0,
+ "MsgRead Message handle", HFILL}
+ },
{&hf_qnet6_kif_msgread_client_handle,
- {"Client_handle", "qnet6.kif.msgread.client_handle", FT_INT32,
- BASE_DEC,
- NULL, 0, "MsgRead Message client handle",
- HFILL}
- },
+ {"Client_handle", "qnet6.kif.msgread.client_handle",
+ FT_INT32, BASE_DEC, NULL, 0,
+ "MsgRead Message client handle", HFILL}
+ },
{&hf_qnet6_kif_msgread_offset,
- {"Offset", "qnet6.kif.msgread.offset", FT_UINT32, BASE_DEC_HEX,
- NULL, 0, "MsgRead Message limit for msgread",
- HFILL}
- },
+ {"Offset", "qnet6.kif.msgread.offset",
+ FT_UINT32, BASE_DEC_HEX, NULL, 0,
+ "MsgRead Message limit for msgread", HFILL}
+ },
{&hf_qnet6_kif_msgread_nbytes,
- {"Nbytes", "qnet6.kif.msgread.nbytes", FT_UINT32, BASE_DEC_HEX,
- NULL, 0, "MsgRead Message limit for msgread",
- HFILL}
- },
+ {"Nbytes", "qnet6.kif.msgread.nbytes",
+ FT_UINT32, BASE_DEC_HEX, NULL, 0,
+ "MsgRead Message limit for msgread", HFILL}
+ },
/* msgwrite */
{&hf_qnet6_kif_msgwrite_status,
- {"Status", "qnet6.kif.msgwrite.status", FT_INT32, BASE_DEC,
- NULL, 0, "Msgwrite Message client handle",
- HFILL}
- },
+ {"Status", "qnet6.kif.msgwrite.status",
+ FT_INT32, BASE_DEC, NULL, 0,
+ "Msgwrite Message client handle", HFILL}
+ },
{&hf_qnet6_kif_msgwrite_handle,
- {"Handle", "qnet6.kif.msgwrite.handle", FT_INT32, BASE_DEC,
- NULL, 0, "Msgwrite Message client handle",
- HFILL}
- },
+ {"Handle", "qnet6.kif.msgwrite.handle",
+ FT_INT32, BASE_DEC, NULL, 0,
+ "Msgwrite Message client handle", HFILL}
+ },
{&hf_qnet6_kif_msgwrite_offset,
- {"Offset", "qnet6.kif.msgwrite.offset", FT_UINT32,
- BASE_DEC_HEX,
- NULL, 0, "Msgwrite Message limit for msgwrite",
- HFILL}
- },
+ {"Offset", "qnet6.kif.msgwrite.offset",
+ FT_UINT32, BASE_DEC_HEX, NULL, 0,
+ "Msgwrite Message limit for msgwrite", HFILL}
+ },
{&hf_qnet6_kif_msgwrite_nbytes,
- {"Nbytes", "qnet6.kif.msgwrite.nbytes", FT_UINT32,
- BASE_DEC_HEX,
- NULL, 0, "Msgwrite Message limit for msgwrite",
- HFILL}
- },
+ {"Nbytes", "qnet6.kif.msgwrite.nbytes",
+ FT_UINT32, BASE_DEC_HEX, NULL, 0,
+ "Msgwrite Message limit for msgwrite", HFILL}
+ },
{&hf_qnet6_kif_msgwrite_data,
- {"Data", "qnet6.kif.msgwrite.data", FT_BYTES,
- BASE_NONE,
- NULL, 0, NULL,
- HFILL}
- },
+ {"Data", "qnet6.kif.msgwrite.data",
+ FT_BYTES, BASE_NONE, NULL, 0,
+ NULL, HFILL}
+ },
/* unblock */
{&hf_qnet6_kif_unblock_server_id,
- {"Server_id", "qnet6.kif.unblock.server_id", FT_INT32,
- BASE_DEC,
- NULL, 0, "Unblock Message Server id",
- HFILL}
- },
+ {"Server_id", "qnet6.kif.unblock.server_id",
+ FT_INT32, BASE_DEC, NULL, 0,
+ "Unblock Message Server id", HFILL}
+ },
{&hf_qnet6_kif_unblock_client_handle,
- {"Client_handle", "qnet6.kif.unblock.client_handle", FT_INT32,
- BASE_DEC,
- NULL, 0, "Unblock Message client handle",
- HFILL}
- },
+ {"Client_handle", "qnet6.kif.unblock.client_handle",
+ FT_INT32, BASE_DEC, NULL, 0,
+ "Unblock Message client handle", HFILL}
+ },
{&hf_qnet6_kif_unblock_tid,
- {"Tid", "qnet6.kif.unblock.tid", FT_INT32, BASE_DEC,
- NULL, 0,
- "thread information thread id",
- HFILL}
- },
+ {"Tid", "qnet6.kif.unblock.tid",
+ FT_INT32, BASE_DEC, NULL, 0,
+ "thread information thread id", HFILL}
+ },
/* event */
{&hf_qnet6_kif_event_client_handle,
- {"Client_handle", "qnet6.kif.event.client_handle", FT_INT32,
- BASE_DEC,
- NULL, 0, "Event Message client handle",
- HFILL}
- },
+ {"Client_handle", "qnet6.kif.event.client_handle",
+ FT_INT32, BASE_DEC, NULL, 0,
+ "Event Message client handle", HFILL}
+ },
/* event */
{&hf_qnet6_kif_event_event,
{"Sigevent", "qnet6.kif.event.event",
- FT_NONE,
- BASE_NONE,
- NULL, 0, NULL,
- HFILL}
- },
+ FT_NONE, BASE_NONE, NULL, 0,
+ NULL, HFILL}
+ },
{&hf_qnet6_kif_event_notify,
{"Sigevent_notify", "qnet6.kif.event.sigevent_notify",
- FT_INT32,
- BASE_DEC,
- NULL, 0, "Event Message sigevent notify",
- HFILL}
- },
+ FT_INT32, BASE_DEC, NULL, 0,
+ "Event Message sigevent notify", HFILL}
+ },
{&hf_qnet6_kif_event_union1,
{"Sigevent_union1", "qnet6.kif.event.sigevent_union1",
- FT_INT32, BASE_DEC, NULL, 0, "Event Message sigevent union1",
- HFILL}
- },
+ FT_INT32, BASE_DEC, NULL, 0,
+ "Event Message sigevent union1", HFILL}
+ },
{&hf_qnet6_kif_event_value,
{"Sigevent_sigvalue", "qnet6.kif.event.sigevent_sigvalue",
FT_INT32, BASE_DEC, NULL, 0,
- "Event Message sigevent sigvalue",
- HFILL}
- },
+ "Event Message sigevent sigvalue", HFILL}
+ },
{&hf_qnet6_kif_event_union2,
{"Sigevent_union2", "qnet6.kif.event.sigevent_union2",
- FT_INT32,
- BASE_DEC,
- NULL, 0, "Event Message sigevent union2",
- HFILL}
- },
+ FT_INT32, BASE_DEC, NULL, 0,
+ "Event Message sigevent union2", HFILL}
+ },
/* pulse */
/* will use msgsend */
{&hf_qnet6_kif_pulse_pulse,
- {"Pulse", "qnet6.kif.pulse", FT_STRING,
- BASE_NONE, NULL, 0, NULL, HFILL}
- },
+ {"Pulse", "qnet6.kif.pulse",
+ FT_STRING, BASE_NONE, NULL, 0,
+ NULL, HFILL}
+ },
{&hf_qnet6_kif_pulse_pulse_type,
- {"Type", "qnet6.kif.pulse.pulse.type", FT_UINT16,
- BASE_HEX_DEC, NULL, 0, NULL, HFILL}
- },
+ {"Type", "qnet6.kif.pulse.pulse.type",
+ FT_UINT16, BASE_HEX_DEC, NULL, 0,
+ NULL, HFILL}
+ },
{&hf_qnet6_kif_pulse_pulse_subtype,
- {"Subtype", "qnet6.kif.pulse.pulse.subtype", FT_UINT16,
- BASE_HEX_DEC,
- NULL, 0, NULL,
- HFILL}
- },
+ {"Subtype", "qnet6.kif.pulse.pulse.subtype",
+ FT_UINT16, BASE_HEX_DEC, NULL, 0,
+ NULL, HFILL}
+ },
{&hf_qnet6_kif_pulse_pulse_code,
- {"Code", "qnet6.kif.pulse.pulse.code", FT_INT8,
- BASE_DEC,
- NULL, 0, NULL,
- HFILL}
- },
+ {"Code", "qnet6.kif.pulse.pulse.code",
+ FT_INT8, BASE_DEC, NULL, 0,
+ NULL, HFILL}
+ },
{&hf_qnet6_kif_pulse_pulse_reserved,
- {"Reserved", "qnet6.kif.pulse.pulse.reserved", FT_UINT24,
- BASE_DEC,
- NULL, 0, NULL,
- HFILL}
- },
+ {"Reserved", "qnet6.kif.pulse.pulse.reserved",
+ FT_UINT24, BASE_DEC, NULL, 0,
+ NULL, HFILL}
+ },
{&hf_qnet6_kif_pulse_pulse_value,
- {"Value", "qnet6.kif.pulse.pulse.value", FT_UINT32,
- BASE_HEX_DEC,
- NULL, 0, NULL,
- HFILL}
- },
+ {"Value", "qnet6.kif.pulse.pulse.value",
+ FT_UINT32, BASE_HEX_DEC, NULL, 0,
+ NULL, HFILL}
+ },
{&hf_qnet6_kif_pulse_pulse_scoid,
- {"Scoid", "qnet6.kif.pulse.pulse.scoid", FT_INT32,
- BASE_DEC,
- NULL, 0, NULL,
- HFILL}
- },
+ {"Scoid", "qnet6.kif.pulse.pulse.scoid",
+ FT_INT32, BASE_DEC, NULL, 0,
+ NULL, HFILL}
+ },
{&hf_qnet6_kif_pulse_priority,
- {"Priority", "qnet6.kif.pulse.priority", FT_INT32,
- BASE_DEC,
- NULL, 0, NULL,
- HFILL}
- },
+ {"Priority", "qnet6.kif.pulse.priority",
+ FT_INT32, BASE_DEC, NULL, 0,
+ NULL, HFILL}
+ },
/* signal */
{&hf_qnet6_kif_signal_client_handle,
- {"Client_handle", "qnet6.kif.signal.client_handle", FT_INT32,
- BASE_DEC,
- NULL, 0, "Signal Message client handle",
- HFILL}
- },
+ {"Client_handle", "qnet6.kif.signal.client_handle",
+ FT_INT32, BASE_DEC, NULL, 0,
+ "Signal Message client handle", HFILL}
+ },
{&hf_qnet6_kif_signal_pid,
- {"Pid", "qnet6.kif.signal.pid", FT_INT32,
- BASE_DEC,
- NULL, 0, "Signal Message from this pid",
- HFILL}
- },
+ {"Pid", "qnet6.kif.signal.pid",
+ FT_INT32, BASE_DEC, NULL, 0,
+ "Signal Message from this pid", HFILL}
+ },
{&hf_qnet6_kif_signal_tid,
- {"Tid", "qnet6.kif.signal.tid", FT_INT32,
- BASE_DEC,
- NULL, 0, "Signal Message from this tid",
- HFILL}
- },
+ {"Tid", "qnet6.kif.signal.tid",
+ FT_INT32, BASE_DEC, NULL, 0,
+ "Signal Message from this tid", HFILL}
+ },
{&hf_qnet6_kif_signal_signo,
- {"Signo", "qnet6.kif.signal.signo", FT_INT32,
- BASE_DEC,
- NULL, 0, "Signal number delivered to remote",
- HFILL}
- },
+ {"Signo", "qnet6.kif.signal.signo",
+ FT_INT32, BASE_DEC, NULL, 0,
+ "Signal number delivered to remote", HFILL}
+ },
{&hf_qnet6_kif_signal_code,
- {"Code", "qnet6.kif.signal.code", FT_INT32,
- BASE_DEC,
- NULL, 0, "Signal code delivered to remote",
- HFILL}
- },
+ {"Code", "qnet6.kif.signal.code",
+ FT_INT32, BASE_DEC, NULL, 0,
+ "Signal code delivered to remote", HFILL}
+ },
{&hf_qnet6_kif_signal_value,
- {"Value", "qnet6.kif.signal.value", FT_INT32,
- BASE_DEC,
- NULL, 0, "Signal value delivered to remote",
- HFILL}
- },
+ {"Value", "qnet6.kif.signal.value",
+ FT_INT32, BASE_DEC, NULL, 0,
+ "Signal value delivered to remote", HFILL}
+ },
/* disconnect */
{&hf_qnet6_kif_disconnect_server_id,
- {"Server_id", "qnet6.kif.disconnect.server_id", FT_INT32,
- BASE_DEC,
- NULL, 0,
- "disconnect message server id from connect success message",
- HFILL}
- },
+ {"Server_id", "qnet6.kif.disconnect.server_id",
+ FT_INT32, BASE_DEC, NULL, 0,
+ "disconnect message server id from connect success message", HFILL}
+ },
/* msg info */
{&hf_qnet6_kif_msg,
- {"Message", "qnet6.kif.msgsend.msg", FT_STRING,
- BASE_NONE,
- NULL, 0, NULL,
- HFILL}
- },
+ {"Message", "qnet6.kif.msgsend.msg",
+ FT_STRING, BASE_NONE, NULL, 0,
+ NULL, HFILL}
+ },
{&hf_qnet6_kif_msg_type,
- {"Type", "qnet6.kif.msgsend.msg.type", FT_UINT16,
- BASE_HEX|BASE_EXT_STRING,
- &qnet6_kif_msgsend_msgtype_vals_ext, 0, NULL,
- HFILL}
- },
+ {"Type", "qnet6.kif.msgsend.msg.type",
+ FT_UINT16, BASE_HEX|BASE_EXT_STRING, &qnet6_kif_msgsend_msgtype_vals_ext, 0,
+ NULL, HFILL}
+ },
{&hf_qnet6_kif_msg_connect_subtype,
- {"Subtype", "qnet6.kif.msgsend.msg.connect.subtype", FT_UINT16,
- BASE_HEX,
- VALS(qnet6_kif_msgsend_msg_connect_subtype_vals), 0, NULL,
- HFILL}
- },
+ {"Subtype", "qnet6.kif.msgsend.msg.connect.subtype",
+ FT_UINT16, BASE_HEX, VALS(qnet6_kif_msgsend_msg_connect_subtype_vals), 0,
+ NULL, HFILL}
+ },
{&hf_qnet6_kif_msg_connect_filetype,
{"File_type", "qnet6.kif.msgsend.msg.connect.file_type",
- FT_UINT32, BASE_HEX,
- VALS(qnet6_kif_msgsend_msg_connect_filetype_vals), 0,
- "file type",
- HFILL}
- },
+ FT_UINT32, BASE_HEX, VALS(qnet6_kif_msgsend_msg_connect_filetype_vals), 0,
+ "file type", HFILL}
+ },
{&hf_qnet6_kif_msg_connect_replymax,
{"Reply_max", "qnet6.kif.msgsend.msg.connect.reply_max",
- FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL}
- },
+ FT_UINT16, BASE_HEX_DEC, NULL, 0,
+ NULL, HFILL}
+ },
{&hf_qnet6_kif_msg_connect_entrymax,
{"Entry_max", "qnet6.kif.msgsend.msg.connect.entry_max",
- FT_UINT16, BASE_HEX_DEC, NULL, 0, NULL, HFILL}
- },
+ FT_UINT16, BASE_HEX_DEC, NULL, 0,
+ NULL, HFILL}
+ },
{&hf_qnet6_kif_msg_connect_key,
- {"Key", "qnet6.kif.msgsend.msg.connect.key", FT_UINT32,
- BASE_HEX, NULL, 0, NULL, HFILL}
- },
+ {"Key", "qnet6.kif.msgsend.msg.connect.key",
+ FT_UINT32, BASE_HEX, NULL, 0,
+ NULL, HFILL}
+ },
{&hf_qnet6_kif_msg_connect_handle,
- {"Handle", "qnet6.kif.msgsend.msg.connect.handle", FT_UINT32,
- BASE_HEX_DEC, NULL, 0, NULL, HFILL}
- },
+ {"Handle", "qnet6.kif.msgsend.msg.connect.handle",
+ FT_UINT32, BASE_HEX_DEC, NULL, 0,
+ NULL, HFILL}
+ },
{&hf_qnet6_kif_msg_connect_ioflag,
- {"Ioflag", "qnet6.kif.msgsend.msg.connect.ioflag", FT_UINT32,
- BASE_OCT, NULL, 0, "file io flag", HFILL}
- },
+ {"Ioflag", "qnet6.kif.msgsend.msg.connect.ioflag",
+ FT_UINT32, BASE_OCT, NULL, 0,
+ "file io flag", HFILL}
+ },
/* for FT_BOOLEAN, its display field must be parent bit width */
{&hf_qnet6_kif_msg_connect_ioflag_access,
{"access", "qnet6.kif.msgsend.msg.connect.ioflag.access",
- FT_UINT32,
- BASE_DEC, VALS(qnet6_kif_msgsend_msg_connect_ioflag_vals), 03,
+ FT_UINT32, BASE_DEC, VALS(qnet6_kif_msgsend_msg_connect_ioflag_vals), 03,
"access mode", HFILL}
- },
+ },
{&hf_qnet6_kif_msg_connect_ioflag_append,
{"append", "qnet6.kif.msgsend.msg.connect.ioflag.append",
- FT_BOOLEAN,
- 32, NULL, 010, "append mode", HFILL}
- },
+ FT_BOOLEAN, 32, NULL, 010,
+ "append mode", HFILL}
+ },
{&hf_qnet6_kif_msg_connect_ioflag_dsync,
{"dsync", "qnet6.kif.msgsend.msg.connect.ioflag.dsync",
- FT_BOOLEAN,
- 32, NULL, 020, "data sync mode", HFILL}
- },
+ FT_BOOLEAN, 32, NULL, 020,
+ "data sync mode", HFILL}
+ },
{&hf_qnet6_kif_msg_connect_ioflag_sync,
{"sync", "qnet6.kif.msgsend.msg.connect.ioflag.sync",
- FT_BOOLEAN,
- 32, NULL, 040, "file sync mode", HFILL}
- },
+ FT_BOOLEAN, 32, NULL, 040,
+ "file sync mode", HFILL}
+ },
{&hf_qnet6_kif_msg_connect_ioflag_rsync,
{"rsync", "qnet6.kif.msgsend.msg.connect.ioflag.rsync",
- FT_BOOLEAN,
- 32, NULL, 0100, "alias for data sync mode", HFILL}
- },
+ FT_BOOLEAN, 32, NULL, 0100,
+ "alias for data sync mode", HFILL}
+ },
{&hf_qnet6_kif_msg_connect_ioflag_nonblock,
{"nonblock", "qnet6.kif.msgsend.msg.connect.ioflag.nonblock",
- FT_BOOLEAN,
- 32, NULL, 0200, "alias for data sync mode", HFILL}
- },
+ FT_BOOLEAN, 32, NULL, 0200,
+ "alias for data sync mode", HFILL}
+ },
{&hf_qnet6_kif_msg_connect_ioflag_creat,
{"creat", "qnet6.kif.msgsend.msg.connect.ioflag.creat",
- FT_BOOLEAN,
- 32, NULL, 0400, "creat mode", HFILL}
- },
+ FT_BOOLEAN, 32, NULL, 0400,
+ "creat mode", HFILL}
+ },
{&hf_qnet6_kif_msg_connect_ioflag_truncate,
{"truncate", "qnet6.kif.msgsend.msg.connect.ioflag.truncate",
- FT_BOOLEAN,
- 32, NULL, 01000, "truncate mode", HFILL}
- },
+ FT_BOOLEAN, 32, NULL, 01000,
+ "truncate mode", HFILL}
+ },
{&hf_qnet6_kif_msg_connect_ioflag_exclusive,
{"exclusive", "qnet6.kif.msgsend.msg.connect.ioflag.exclusive",
- FT_BOOLEAN,
- 32, NULL, 02000, "exclusive mode", HFILL}
- },
+ FT_BOOLEAN, 32, NULL, 02000,
+ "exclusive mode", HFILL}
+ },
{&hf_qnet6_kif_msg_connect_ioflag_noctrltty,
{"noctrltty", "qnet6.kif.msgsend.msg.connect.ioflag.noctrltty",
- FT_BOOLEAN,
- 32, NULL, 04000, "noctrltty mode", HFILL}
- },
+ FT_BOOLEAN, 32, NULL, 04000,
+ "noctrltty mode", HFILL}
+ },
{&hf_qnet6_kif_msg_connect_ioflag_closexec,
{"closexec", "qnet6.kif.msgsend.msg.connect.ioflag.closexec",
- FT_BOOLEAN,
- 32, NULL, 010000, "closexec mode", HFILL}
- },
+ FT_BOOLEAN, 32, NULL, 010000,
+ "closexec mode", HFILL}
+ },
{&hf_qnet6_kif_msg_connect_ioflag_realids,
{"realids", "qnet6.kif.msgsend.msg.connect.ioflag.realids",
- FT_BOOLEAN,
- 32, NULL, 020000, "realids mode", HFILL}
- },
+ FT_BOOLEAN, 32, NULL, 020000,
+ "realids mode", HFILL}
+ },
{&hf_qnet6_kif_msg_connect_ioflag_largefile,
{"largefile", "qnet6.kif.msgsend.msg.connect.ioflag.largefile",
- FT_BOOLEAN,
- 32, NULL, 0100000, "largefile mode", HFILL}
- },
+ FT_BOOLEAN, 32, NULL, 0100000,
+ "largefile mode", HFILL}
+ },
{&hf_qnet6_kif_msg_connect_ioflag_async,
{"async", "qnet6.kif.msgsend.msg.connect.ioflag.async",
- FT_BOOLEAN,
- 32, NULL, 0200000, "async mode", HFILL}
- },
+ FT_BOOLEAN, 32, NULL, 0200000,
+ "async mode", HFILL}
+ },
{&hf_qnet6_kif_msg_connect_mode,
- {"Mode", "qnet6.kif.msgsend.msg.connect.mode", FT_UINT32,
- BASE_HEX, NULL, 0, NULL, HFILL}
- },
+ {"Mode", "qnet6.kif.msgsend.msg.connect.mode",
+ FT_UINT32, BASE_HEX, NULL, 0,
+ NULL, HFILL}
+ },
{&hf_qnet6_kif_msg_connect_mode_other_exe,
{"Oexec", "qnet6.kif.msgsend.msg.connect.mode.other.exec",
- FT_BOOLEAN,
- 32, NULL, 01, "others exec permission", HFILL}
- },
+ FT_BOOLEAN, 32, NULL, 01,
+ "others exec permission", HFILL}
+ },
{&hf_qnet6_kif_msg_connect_mode_other_write,
{"Owrite", "qnet6.kif.msgsend.msg.connect.mode.other.write",
- FT_BOOLEAN,
- 32, NULL, 02, "others write permission", HFILL}
- },
+ FT_BOOLEAN, 32, NULL, 02,
+ "others write permission", HFILL}
+ },
{&hf_qnet6_kif_msg_connect_mode_other_read,
{"Oread", "qnet6.kif.msgsend.msg.connect.mode.other.read",
- FT_BOOLEAN,
- 32, NULL, 04, "others read permission", HFILL}
- },
+ FT_BOOLEAN, 32, NULL, 04,
+ "others read permission", HFILL}
+ },
{&hf_qnet6_kif_msg_connect_mode_group_exe,
{"Gexec", "qnet6.kif.msgsend.msg.connect.mode.group.exec",
- FT_BOOLEAN,
- 32, NULL, 010, "group exec permission", HFILL}
- },
+ FT_BOOLEAN, 32, NULL, 010,
+ "group exec permission", HFILL}
+ },
{&hf_qnet6_kif_msg_connect_mode_group_write,
{"Gwrite", "qnet6.kif.msgsend.msg.connect.mode.group.write",
- FT_BOOLEAN,
- 32, NULL, 020, "group write permission", HFILL}
- },
+ FT_BOOLEAN, 32, NULL, 020,
+ "group write permission", HFILL}
+ },
{&hf_qnet6_kif_msg_connect_mode_group_read,
{"Gread", "qnet6.kif.msgsend.msg.connect.mode.group.read",
- FT_BOOLEAN,
- 32, NULL, 040, "group read permission", HFILL}
- },
+ FT_BOOLEAN, 32, NULL, 040,
+ "group read permission", HFILL}
+ },
{&hf_qnet6_kif_msg_connect_mode_owner_exe,
{"Uexec", "qnet6.kif.msgsend.msg.connect.mode.owner.exec",
- FT_BOOLEAN,
- 32, NULL, 0100, "owner exec permission", HFILL}
- },
+ FT_BOOLEAN, 32, NULL, 0100,
+ "owner exec permission", HFILL}
+ },
{&hf_qnet6_kif_msg_connect_mode_owner_write,
{"Uwrite", "qnet6.kif.msgsend.msg.connect.mode.owner.write",
- FT_BOOLEAN,
- 32, NULL, 0200, "owner write permission", HFILL}
- },
+ FT_BOOLEAN, 32, NULL, 0200,
+ "owner write permission", HFILL}
+ },
{&hf_qnet6_kif_msg_connect_mode_owner_read,
{"Uread", "qnet6.kif.msgsend.msg.connect.mode.owner.read",
- FT_BOOLEAN,
- 32, NULL, 0400, "owner read permission", HFILL}
- },
+ FT_BOOLEAN, 32, NULL, 0400,
+ "owner read permission", HFILL}
+ },
{&hf_qnet6_kif_msg_connect_mode_sticky,
{"sticky", "qnet6.kif.msgsend.msg.connect.mode.sticky",
- FT_BOOLEAN,
- 32, NULL, 01000, "sticky bit", HFILL}
- },
+ FT_BOOLEAN, 32, NULL, 01000,
+ "sticky bit", HFILL}
+ },
{&hf_qnet6_kif_msg_connect_mode_setgid,
{"setgid", "qnet6.kif.msgsend.msg.connect.mode.setgid",
- FT_BOOLEAN,
- 32, NULL, 02000, "set gid when execution", HFILL}
- },
+ FT_BOOLEAN, 32, NULL, 02000,
+ "set gid when execution", HFILL}
+ },
{&hf_qnet6_kif_msg_connect_mode_setuid,
{"setuid", "qnet6.kif.msgsend.msg.connect.mode.setuid",
- FT_BOOLEAN,
- 32, NULL, 04000, "set uid when execution", HFILL}
- },
+ FT_BOOLEAN, 32, NULL, 04000,
+ "set uid when execution", HFILL}
+ },
{&hf_qnet6_kif_msg_connect_mode_format,
{"format", "qnet6.kif.msgsend.msg.connect.mode.format",
- FT_UINT32,
- BASE_HEX, VALS(qnet6_kif_msgsend_msg_connect_mode_vals),
- 0xf000, "file format", HFILL}
- },
+ FT_UINT32, BASE_HEX, VALS(qnet6_kif_msgsend_msg_connect_mode_vals), 0xf000,
+ "file format", HFILL}
+ },
{&hf_qnet6_kif_msg_connect_sflag,
- {"Sflag", "qnet6.kif.msgsend.msg.connect.sflag", FT_UINT16,
- BASE_HEX,
- VALS(qnet6_kif_msgsend_msg_connect_sflag_vals), 0, NULL,
- HFILL}
- },
+ {"Sflag", "qnet6.kif.msgsend.msg.connect.sflag",
+ FT_UINT16, BASE_HEX, VALS(qnet6_kif_msgsend_msg_connect_sflag_vals), 0,
+ NULL, HFILL}
+ },
{&hf_qnet6_kif_msg_connect_access,
- {"Access", "qnet6.kif.msgsend.msg.connect.access", FT_UINT16,
- BASE_HEX,
- VALS(qnet6_kif_msgsend_msg_connect_access_vals), 0, NULL,
- HFILL}
- },
+ {"Access", "qnet6.kif.msgsend.msg.connect.access",
+ FT_UINT16, BASE_HEX, VALS(qnet6_kif_msgsend_msg_connect_access_vals), 0,
+ NULL, HFILL}
+ },
{&hf_qnet6_kif_msg_connect_zero,
- {"Zero", "qnet6.kif.msgsend.msg.connect.zero", FT_UINT16,
- BASE_HEX,
- NULL, 0, NULL,
- HFILL}
- },
+ {"Zero", "qnet6.kif.msgsend.msg.connect.zero",
+ FT_UINT16, BASE_HEX, NULL, 0,
+ NULL, HFILL}
+ },
{&hf_qnet6_kif_msg_connect_pathlen,
{"Path_len", "qnet6.kif.msgsend.msg.connect.path_len",
- FT_UINT16,
- BASE_HEX,
- NULL, 0, "path length",
- HFILL}
- },
+ FT_UINT16, BASE_HEX, NULL, 0,
+ "path length", HFILL}
+ },
{&hf_qnet6_kif_msg_connect_eflag,
- {"Eflag", "qnet6.kif.msgsend.msg.connect.eflag", FT_UINT8,
- BASE_HEX, NULL, 0, NULL, HFILL}
- },
+ {"Eflag", "qnet6.kif.msgsend.msg.connect.eflag",
+ FT_UINT8, BASE_HEX, NULL, 0,
+ NULL, HFILL}
+ },
{&hf_qnet6_kif_msg_connect_eflag_dir,
- {"dir", "qnet6.kif.msgsend.msg.connect.eflag.dir", FT_BOOLEAN,
- 8, NULL, 1, "path referenced a directory", HFILL}
- },
+ {"dir", "qnet6.kif.msgsend.msg.connect.eflag.dir",
+ FT_BOOLEAN, 8, NULL, 1,
+ "path referenced a directory", HFILL}
+ },
{&hf_qnet6_kif_msg_connect_eflag_dot,
- {"dot", "qnet6.kif.msgsend.msg.connect.eflag.dot", FT_BOOLEAN,
- 8, NULL, 2, "Last component was . or ..", HFILL}
- },
+ {"dot", "qnet6.kif.msgsend.msg.connect.eflag.dot",
+ FT_BOOLEAN, 8, NULL, 2,
+ "Last component was . or ..", HFILL}
+ },
{&hf_qnet6_kif_msg_connect_eflag_dotdot,
{"dotdot", "qnet6.kif.msgsend.msg.connect.eflag.dotdot",
- FT_BOOLEAN,
- 8, NULL, 4, "Last component was ..", HFILL}
- },
+ FT_BOOLEAN, 8, NULL, 4,
+ "Last component was ..", HFILL}
+ },
{&hf_qnet6_kif_msg_connect_extratype,
{"Extra_type", "qnet6.kif.msgsend.msg.connect.extra_type",
- FT_UINT8,
- BASE_HEX,
- VALS(qnet6_kif_msgsend_msg_connect_extratype_vals), 0,
- NULL,
- HFILL}
- },
+ FT_UINT8, BASE_HEX, VALS(qnet6_kif_msgsend_msg_connect_extratype_vals), 0,
+ NULL, HFILL}
+ },
{&hf_qnet6_kif_msg_connect_extralen,
{"Extra_len", "qnet6.kif.msgsend.msg.connect.extra_len",
- FT_UINT16,
- BASE_HEX_DEC,
- NULL, 0, "extra data length",
- HFILL}
- },
+ FT_UINT16, BASE_HEX_DEC, NULL, 0,
+ "extra data length", HFILL}
+ },
{&hf_qnet6_kif_msg_connect_path,
{"Path", "qnet6.kif.msgsend.msg.connect.path",
- FT_STRINGZ,
- BASE_NONE, NULL, 0, "path name",
- HFILL}
- },
+ FT_STRINGZ, BASE_NONE, NULL, 0,
+ "path name", HFILL}
+ },
{&hf_qnet6_kif_msg_connect_pad_data,
{"Pad data", "qnet6.kif.msgsend.msg.pad_data",
- FT_BYTES,
- BASE_NONE, NULL, 0, NULL,
- HFILL}
- },
+ FT_BYTES, BASE_NONE, NULL, 0,
+ NULL, HFILL}
+ },
{&hf_qnet6_kif_msg_connect_extra_link_ocb,
{"Ocb", "qnet6.kif.msgsend.msg.connect.extra.link.ocb",
- FT_UINT32,
- BASE_HEX, NULL, 0, "Ocb pointer value",
- HFILL}
- },
+ FT_UINT32, BASE_HEX, NULL, 0,
+ "Ocb pointer value", HFILL}
+ },
{&hf_qnet6_kif_msg_connect_extra_symlink_path,
{"Path", "qnet6.kif.msgsend.msg.connect.extra.symlink.path",
- FT_STRINGZ,
- BASE_NONE, NULL, 0, "Symlink new path name",
- HFILL}
- },
+ FT_STRINGZ, BASE_NONE, NULL, 0,
+ "Symlink new path name", HFILL}
+ },
{&hf_qnet6_kif_msg_connect_extra_rename_path,
{"Path", "qnet6.kif.msgsend.msg.connect.extra.rename.path",
- FT_STRINGZ,
- BASE_NONE, NULL, 0, "Rename old path name",
- HFILL}
- },
+ FT_STRINGZ, BASE_NONE, NULL, 0,
+ "Rename old path name", HFILL}
+ },
{&hf_qnet6_kif_msg_connect_extra_mount,
{"Mount", "qnet6.kif.msgsend.msg.connect.extra.mount",
- FT_STRINGZ,
- BASE_NONE, NULL, 0, NULL,
- HFILL}
- },
+ FT_STRINGZ, BASE_NONE, NULL, 0,
+ NULL, HFILL}
+ },
{&hf_qnet6_kif_msg_connect_extra_data,
{"Extra Data", "qnet6.kif.msgsend.msg.connect.extra.data",
- FT_BYTES,
- BASE_NONE, NULL, 0, NULL,
- HFILL}
- },
+ FT_BYTES, BASE_NONE, NULL, 0,
+ NULL, HFILL}
+ },
-/* _IO_DEVCTL */
+ /* _IO_DEVCTL */
{&hf_qnet6_kif_msg_io_combine_len,
- {"Combine_len", "qnet6.kif.msgsend.msg.combine_len", FT_UINT16,
- BASE_HEX,
- NULL, 0, "combine length", HFILL}
- },
+ {"Combine_len", "qnet6.kif.msgsend.msg.combine_len",
+ FT_UINT16, BASE_HEX, NULL, 0,
+ "combine length", HFILL}
+ },
/* when it is in this field is dcmd,
* out ret_val
*/
{&hf_qnet6_kif_msg_devctl_dcmd,
- {"Dcmd", "qnet6.kif.msgsend.msg.dcmd", FT_UINT32,
- BASE_HEX,
- NULL, 0, "Devctl Command and Direction", HFILL}
- },
+ {"Dcmd", "qnet6.kif.msgsend.msg.dcmd",
+ FT_UINT32, BASE_HEX, NULL, 0,
+ "Devctl Command and Direction", HFILL}
+ },
/* if use FT_INT32 then can't use bitmask !!! */
{&hf_qnet6_kif_msg_devctl_dcmd_ccmd,
- {"Ccmd", "qnet6.kif.msgsend.msg.dcmd.ccmd", FT_UINT32,
- BASE_HEX_DEC|BASE_EXT_STRING,
- &qnet6_kif_msg_devctl_cmd_class_vals_ext,
- 0xffff, "Devctl Class+Command", HFILL}
- },
+ {"Ccmd", "qnet6.kif.msgsend.msg.dcmd.ccmd",
+ FT_UINT32, BASE_HEX_DEC|BASE_EXT_STRING, &qnet6_kif_msg_devctl_cmd_class_vals_ext, 0xffff,
+ "Devctl Class+Command", HFILL}
+ },
{&hf_qnet6_kif_msg_devctl_dcmd_cmd,
- {"Cmd", "qnet6.kif.msgsend.msg.dcmd.cmd", FT_UINT32,
- BASE_HEX_DEC,
- NULL, 0xff, "Devctl Command", HFILL}
- },
+ {"Cmd", "qnet6.kif.msgsend.msg.dcmd.cmd",
+ FT_UINT32, BASE_HEX_DEC, NULL, 0xff,
+ "Devctl Command", HFILL}
+ },
{&hf_qnet6_kif_msg_devctl_dcmd_class,
- {"Class", "qnet6.kif.msgsend.msg.dcmd.class", FT_UINT32,
- BASE_HEX|BASE_EXT_STRING,
- &qnet6_kif_msgsend_msg_devctl_cmd_class_vals_ext,
- 0xff00, "Devctl Command", HFILL}
- },
+ {"Class", "qnet6.kif.msgsend.msg.dcmd.class",
+ FT_UINT32, BASE_HEX|BASE_EXT_STRING, &qnet6_kif_msgsend_msg_devctl_cmd_class_vals_ext, 0xff00,
+ "Devctl Command", HFILL}
+ },
{&hf_qnet6_kif_msg_devctl_dcmd_size,
- {"Size", "qnet6.kif.msgsend.msg.dcmd.size", FT_UINT32,
- BASE_HEX,
- NULL, 0x3fff0000, "Devctl Command", HFILL}
- },
+ {"Size", "qnet6.kif.msgsend.msg.dcmd.size",
+ FT_UINT32, BASE_HEX, NULL, 0x3fff0000,
+ "Devctl Command", HFILL}
+ },
{&hf_qnet6_kif_msg_devctl_dcmd_from,
- {"From", "qnet6.kif.msgsend.msg.dcmd.from", FT_UINT32,
- BASE_HEX,
- NULL, 0x40000000, "Devctl Direction has from", HFILL}
- },
+ {"From", "qnet6.kif.msgsend.msg.dcmd.from",
+ FT_UINT32, BASE_HEX, NULL, 0x40000000,
+ "Devctl Direction has from", HFILL}
+ },
{&hf_qnet6_kif_msg_devctl_dcmd_to,
- {"To", "qnet6.kif.msgsend.msg.dcmd.to", FT_UINT32,
- BASE_HEX,
- NULL, 0x80000000, "Devctl Direction has to", HFILL}
- },
+ {"To", "qnet6.kif.msgsend.msg.dcmd.to",
+ FT_UINT32, BASE_HEX, NULL, 0x80000000,
+ "Devctl Direction has to", HFILL}
+ },
{&hf_qnet6_kif_msg_devctl_nbytes,
- {"Nbytes", "qnet6.kif.msgsend.msg.nbytes", FT_INT32,
- BASE_DEC,
- NULL, 0, "payload length", HFILL}
- },
+ {"Nbytes", "qnet6.kif.msgsend.msg.nbytes",
+ FT_INT32, BASE_DEC, NULL, 0,
+ "payload length", HFILL}
+ },
{&hf_qnet6_kif_msg_devctl_zero,
- {"Zero", "qnet6.kif.msgsend.msg.zero", FT_INT32,
- BASE_DEC,
- NULL, 0, "pad", HFILL}
- },
-/* io_read */
+ {"Zero", "qnet6.kif.msgsend.msg.zero",
+ FT_INT32, BASE_DEC, NULL, 0,
+ "pad", HFILL}
+ },
+ /* io_read */
{&hf_qnet6_kif_msg_io_read_nbytes,
- {"Nbytes", "qnet6.kif.msgsend.msg.read.nbytes", FT_INT32,
- BASE_DEC,
- NULL, 0, "read buffer size", HFILL}
- },
+ {"Nbytes", "qnet6.kif.msgsend.msg.read.nbytes",
+ FT_INT32, BASE_DEC, NULL, 0,
+ "read buffer size", HFILL}
+ },
{&hf_qnet6_kif_msg_io_read_xtypes,
- {"Xtypes", "qnet6.kif.msgsend.msg.read.xtypes", FT_UINT32,
- BASE_HEX,
- NULL, 0, "Extended types for io message", HFILL}
- },
+ {"Xtypes", "qnet6.kif.msgsend.msg.read.xtypes",
+ FT_UINT32, BASE_HEX, NULL, 0,
+ "Extended types for io message", HFILL}
+ },
{&hf_qnet6_kif_msg_io_read_xtypes_0_7,
- {"Xtype", "qnet6.kif.msgsend.msg.read.xtypes0-7", FT_UINT32,
- BASE_HEX,
- VALS(qnet6_kif_msgsend_msg_io_read_xtypes_vals), 0xff,
+ {"Xtype", "qnet6.kif.msgsend.msg.read.xtypes0-7",
+ FT_UINT32, BASE_HEX, VALS(qnet6_kif_msgsend_msg_io_read_xtypes_vals), 0xff,
"Extended types 0-7 bits", HFILL}
- },
+ },
{&hf_qnet6_kif_msg_io_read_xtypes_8,
{"DirExtraHint", "qnet6.kif.msgsend.msg.read.xtypes8",
- FT_UINT32,
- BASE_HEX,
- NULL, 0x100, "_IO_XFLAG_DIR_EXTRA_HINT", HFILL}
- },
+ FT_UINT32, BASE_HEX, NULL, 0x100,
+ "_IO_XFLAG_DIR_EXTRA_HINT", HFILL}
+ },
{&hf_qnet6_kif_msg_io_read_xtypes_14,
- {"Nonblock", "qnet6.kif.msgsend.msg.read.xtypes0-7", FT_UINT32,
- BASE_HEX,
- NULL, 0x4000, "_IO_XFLAG_NONBLOCK", HFILL}
- },
+ {"Nonblock", "qnet6.kif.msgsend.msg.read.xtypes0-7",
+ FT_UINT32, BASE_HEX, NULL, 0x4000,
+ "_IO_XFLAG_NONBLOCK", HFILL}
+ },
{&hf_qnet6_kif_msg_io_read_xtypes_15,
- {"Block", "qnet6.kif.msgsend.msg.read.xtypes0-7", FT_UINT32,
- BASE_HEX,
- NULL, 0x8000, "_IO_XFLAG_BLOCK", HFILL}
- },
+ {"Block", "qnet6.kif.msgsend.msg.read.xtypes0-7",
+ FT_UINT32, BASE_HEX, NULL, 0x8000,
+ "_IO_XFLAG_BLOCK", HFILL}
+ },
{&hf_qnet6_kif_msg_io_read_xoffset,
- {"Xoffset", "qnet6.kif.msgsend.msg.read.xoffset", FT_INT64,
- BASE_DEC,
- NULL, 0, "Extended offset in io message", HFILL}
- },
+ {"Xoffset", "qnet6.kif.msgsend.msg.read.xoffset",
+ FT_INT64, BASE_DEC, NULL, 0,
+ "Extended offset in io message", HFILL}
+ },
{&hf_qnet6_kif_msg_io_read_cond_min,
- {"Min", "qnet6.kif.msgsend.msg.read.readcond.min", FT_INT32,
- BASE_DEC,
- NULL, 0, "Extended attribute minimum characters for readcond",
- HFILL}
- },
+ {"Min", "qnet6.kif.msgsend.msg.read.readcond.min",
+ FT_INT32, BASE_DEC, NULL, 0,
+ "Extended attribute minimum characters for readcond", HFILL}
+ },
{&hf_qnet6_kif_msg_io_read_cond_time,
- {"Time", "qnet6.kif.msgsend.msg.read.readcond.time", FT_INT32,
- BASE_DEC,
- NULL, 0, "Extended attribute for readcond in 1/10 second",
- HFILL}
- },
+ {"Time", "qnet6.kif.msgsend.msg.read.readcond.time",
+ FT_INT32, BASE_DEC, NULL, 0,
+ "Extended attribute for readcond in 1/10 second", HFILL}
+ },
{&hf_qnet6_kif_msg_io_read_cond_timeout,
{"Timeout", "qnet6.kif.msgsend.msg.read.readcond.timeout",
- FT_INT32,
- BASE_DEC,
- NULL, 0,
- "Extended attribute timeout for readcond in 1/10 second",
- HFILL}
- },
-/* io_write */
+ FT_INT32, BASE_DEC, NULL, 0,
+ "Extended attribute timeout for readcond in 1/10 second", HFILL}
+ },
+ /* io_write */
{&hf_qnet6_kif_msg_io_write_data,
- {"Write Data", "qnet6.kif.msgsend.msg.write.data", FT_BYTES,
- BASE_NONE,
- NULL, 0, NULL, HFILL}
- },
+ {"Write Data", "qnet6.kif.msgsend.msg.write.data",
+ FT_BYTES, BASE_NONE, NULL, 0,
+ NULL, HFILL}
+ },
{&hf_qnet6_kif_msg_io_write_nbytes,
- {"Nbytes", "qnet6.kif.msgsend.msg.write.nbytes", FT_INT32,
- BASE_DEC,
- NULL, 0, "write buffer size", HFILL}
- },
+ {"Nbytes", "qnet6.kif.msgsend.msg.write.nbytes",
+ FT_INT32, BASE_DEC, NULL, 0,
+ "write buffer size", HFILL}
+ },
{&hf_qnet6_kif_msg_io_write_xtypes,
- {"Xtypes", "qnet6.kif.msgsend.msg.write.xtypes", FT_UINT32,
- BASE_HEX,
- NULL, 0, "Extended types for io message", HFILL}
- },
+ {"Xtypes", "qnet6.kif.msgsend.msg.write.xtypes",
+ FT_UINT32, BASE_HEX, NULL, 0,
+ "Extended types for io message", HFILL}
+ },
{&hf_qnet6_kif_msg_io_write_xtypes_0_7,
- {"Xtype", "qnet6.kif.msgsend.msg.write.xtypes0-7", FT_UINT32,
- BASE_HEX,
- VALS(qnet6_kif_msgsend_msg_io_read_xtypes_vals), 0xff,
+ {"Xtype", "qnet6.kif.msgsend.msg.write.xtypes0-7",
+ FT_UINT32, BASE_HEX, VALS(qnet6_kif_msgsend_msg_io_read_xtypes_vals), 0xff,
"Extended types 0-7 bits", HFILL}
- },
+ },
{&hf_qnet6_kif_msg_io_write_xtypes_8,
{"DirExtraHint", "qnet6.kif.msgsend.msg.write.xtypes8",
- FT_UINT32,
- BASE_HEX,
- NULL, 0x100, "_IO_XFLAG_DIR_EXTRA_HINT", HFILL}
- },
+ FT_UINT32, BASE_HEX, NULL, 0x100,
+ "_IO_XFLAG_DIR_EXTRA_HINT", HFILL}
+ },
{&hf_qnet6_kif_msg_io_write_xtypes_14,
{"Nonblock", "qnet6.kif.msgsend.msg.write.xtypes0-7",
- FT_UINT32,
- BASE_HEX,
- NULL, 0x4000, "_IO_XFLAG_NONBLOCK", HFILL}
- },
+ FT_UINT32, BASE_HEX, NULL, 0x4000,
+ "_IO_XFLAG_NONBLOCK", HFILL}
+ },
{&hf_qnet6_kif_msg_io_write_xtypes_15,
- {"Block", "qnet6.kif.msgsend.msg.write.xtypes0-7", FT_UINT32,
- BASE_HEX,
- NULL, 0x8000, "_IO_XFLAG_BLOCK", HFILL}
- },
+ {"Block", "qnet6.kif.msgsend.msg.write.xtypes0-7",
+ FT_UINT32, BASE_HEX, NULL, 0x8000,
+ "_IO_XFLAG_BLOCK", HFILL}
+ },
{&hf_qnet6_kif_msg_io_write_xoffset,
- {"Xoffset", "qnet6.kif.msgsend.msg.write.xoffset", FT_INT64,
- BASE_DEC,
- NULL, 0, "Extended offset in io message", HFILL}
- },
-/* io_seek */
+ {"Xoffset", "qnet6.kif.msgsend.msg.write.xoffset",
+ FT_INT64, BASE_DEC, NULL, 0,
+ "Extended offset in io message", HFILL}
+ },
+ /* io_seek */
{&hf_qnet6_kif_msg_seek_whence,
- {"Whence", "qnet6.kif.msgsend.msg.lseek.whence", FT_INT16,
- BASE_DEC,
- VALS(qnet6_kif_msgsend_msg_io_seek_whence_vals), 0,
+ {"Whence", "qnet6.kif.msgsend.msg.lseek.whence",
+ FT_INT16, BASE_DEC, VALS(qnet6_kif_msgsend_msg_io_seek_whence_vals), 0,
"whence in file", HFILL}
- },
+ },
{&hf_qnet6_kif_msg_seek_offset,
- {"Offset", "qnet6.kif.msgsend.msg.lseek.offset", FT_UINT64,
- BASE_DEC_HEX,
- NULL, 0, "offset according to whence in file", HFILL}
- },
-/* io_pathconf */
+ {"Offset", "qnet6.kif.msgsend.msg.lseek.offset",
+ FT_UINT64, BASE_DEC_HEX, NULL, 0,
+ "offset according to whence in file", HFILL}
+ },
+ /* io_pathconf */
{&hf_qnet6_kif_msg_pathconf_name,
- {"name", "qnet6.kif.msgsend.msg.pathconf.name", FT_INT16,
- BASE_DEC|BASE_EXT_STRING,
- &qnet6_kif_msgsend_msg_io_pathconf_name_vals_ext, 0,
+ {"name", "qnet6.kif.msgsend.msg.pathconf.name",
+ FT_INT16, BASE_DEC|BASE_EXT_STRING, &qnet6_kif_msgsend_msg_io_pathconf_name_vals_ext, 0,
"pathconf(name)", HFILL}
- },
-/* io_chmod */
+ },
+ /* io_chmod */
{&hf_qnet6_kif_msg_io_chmod,
- {"mode", "qnet6.kif.msgsend.msg.chmod.mode", FT_UINT32,
- BASE_HEX,
- NULL, 0, NULL, HFILL}
- },
+ {"mode", "qnet6.kif.msgsend.msg.chmod.mode",
+ FT_UINT32, BASE_HEX, NULL, 0,
+ NULL, HFILL}
+ },
{&hf_qnet6_kif_msg_io_chmod_other_exe,
{"Oexec", "qnet6.kif.msgsend.msg.chmod.other.exec",
- FT_BOOLEAN,
- 32, NULL, 01, "others exec permission", HFILL}
- },
+ FT_BOOLEAN, 32, NULL, 01,
+ "others exec permission", HFILL}
+ },
{&hf_qnet6_kif_msg_io_chmod_other_write,
{"Owrite", "qnet6.kif.msgsend.msg.chmod.other.write",
- FT_BOOLEAN,
- 32, NULL, 02, "others write permission", HFILL}
- },
+ FT_BOOLEAN, 32, NULL, 02,
+ "others write permission", HFILL}
+ },
{&hf_qnet6_kif_msg_io_chmod_other_read,
{"Oread", "qnet6.kif.msgsend.msg.chmod.other.read",
- FT_BOOLEAN,
- 32, NULL, 04, "others read permission", HFILL}
- },
+ FT_BOOLEAN, 32, NULL, 04,
+ "others read permission", HFILL}
+ },
{&hf_qnet6_kif_msg_io_chmod_group_exe,
{"Gexec", "qnet6.kif.msgsend.msg.chmod.group.exec",
- FT_BOOLEAN,
- 32, NULL, 010, "group exec permission", HFILL}
- },
+ FT_BOOLEAN, 32, NULL, 010,
+ "group exec permission", HFILL}
+ },
{&hf_qnet6_kif_msg_io_chmod_group_write,
{"Gwrite", "qnet6.kif.msgsend.msg.chmod.group.write",
- FT_BOOLEAN,
- 32, NULL, 020, "group write permission", HFILL}
- },
+ FT_BOOLEAN, 32, NULL, 020,
+ "group write permission", HFILL}
+ },
{&hf_qnet6_kif_msg_io_chmod_group_read,
{"Gread", "qnet6.kif.msgsend.msg.chmod.group.read",
- FT_BOOLEAN,
- 32, NULL, 040, "group read permission", HFILL}
- },
+ FT_BOOLEAN, 32, NULL, 040,
+ "group read permission", HFILL}
+ },
{&hf_qnet6_kif_msg_io_chmod_owner_exe,
{"Uexec", "qnet6.kif.msgsend.msg.chmod.owner.exec",
- FT_BOOLEAN,
- 32, NULL, 0100, "owner exec permission", HFILL}
- },
+ FT_BOOLEAN, 32, NULL, 0100,
+ "owner exec permission", HFILL}
+ },
{&hf_qnet6_kif_msg_io_chmod_owner_write,
{"Uwrite", "qnet6.kif.msgsend.msg.chmod.owner.write",
- FT_BOOLEAN,
- 32, NULL, 0200, "owner write permission", HFILL}
- },
+ FT_BOOLEAN, 32, NULL, 0200,
+ "owner write permission", HFILL}
+ },
{&hf_qnet6_kif_msg_io_chmod_owner_read,
{"Uread", "qnet6.kif.msgsend.msg.chmod.owner.read",
- FT_BOOLEAN,
- 32, NULL, 0400, "owner read permission", HFILL}
- },
+ FT_BOOLEAN, 32, NULL, 0400,
+ "owner read permission", HFILL}
+ },
{&hf_qnet6_kif_msg_io_chmod_sticky,
{"sticky", "qnet6.kif.msgsend.msg.chmod.sticky",
- FT_BOOLEAN,
- 32, NULL, 01000, "sticky bit", HFILL}
- },
+ FT_BOOLEAN, 32, NULL, 01000,
+ "sticky bit", HFILL}
+ },
{&hf_qnet6_kif_msg_io_chmod_setgid,
{"setgid", "qnet6.kif.msgsend.msg.chmod.setgid",
- FT_BOOLEAN,
- 32, NULL, 02000, "set gid when execution", HFILL}
- },
+ FT_BOOLEAN, 32, NULL, 02000,
+ "set gid when execution", HFILL}
+ },
{&hf_qnet6_kif_msg_io_chmod_setuid,
{"setuid", "qnet6.kif.msgsend.msg.chmod.setuid",
- FT_BOOLEAN,
- 32, NULL, 04000, "set uid when execution", HFILL}
- },
-/* io_chown */
+ FT_BOOLEAN, 32, NULL, 04000,
+ "set uid when execution", HFILL}
+ },
+ /* io_chown */
{&hf_qnet6_kif_msg_io_chown_gid,
{"gid", "qnet6.kif.msgsend.msg.chown.gid",
- FT_UINT32,
- BASE_HEX, NULL, 0, "chown gid", HFILL}
- },
+ FT_UINT32, BASE_HEX, NULL, 0,
+ "chown gid", HFILL}
+ },
{&hf_qnet6_kif_msg_io_chown_uid,
{"uid", "qnet6.kif.msgsend.msg.chown.uid",
- FT_UINT32,
- BASE_HEX, NULL, 0, "chown uid", HFILL}
- },
-/* io_sync */
+ FT_UINT32, BASE_HEX, NULL, 0,
+ "chown uid", HFILL}
+ },
+ /* io_sync */
{&hf_qnet6_kif_msg_io_sync,
{"sync", "qnet6.kif.msgsend.msg.sync",
- FT_UINT32,
- BASE_HEX, NULL, 0, "io sync command", HFILL}
- },
+ FT_UINT32, BASE_HEX, NULL, 0,
+ "io sync command", HFILL}
+ },
{&hf_qnet6_kif_msg_syncflag_dsync,
{"dsync", "qnet6.kif.msgsend.msg.sync.flag.dsync",
- FT_BOOLEAN,
- 32, NULL, 020, "data sync mode", HFILL}
- },
+ FT_BOOLEAN, 32, NULL, 020,
+ "data sync mode", HFILL}
+ },
{&hf_qnet6_kif_msg_syncflag_sync,
{"sync", "qnet6.kif.msgsend.msg.sync.flag.sync",
- FT_BOOLEAN,
- 32, NULL, 040, "file sync mode", HFILL}
- },
+ FT_BOOLEAN, 32, NULL, 040,
+ "file sync mode", HFILL}
+ },
{&hf_qnet6_kif_msg_syncflag_rsync,
{"rsync", "qnet6.kif.msgsend.msg.sync.flag.rsync",
- FT_BOOLEAN,
- 32, NULL, 0100, "alias for data sync mode", HFILL}
- },
-/* utime */
+ FT_BOOLEAN, 32, NULL, 0100,
+ "alias for data sync mode", HFILL}
+ },
+ /* utime */
{&hf_qnet6_kif_msg_io_utime_curflag,
{"curflag", "qnet6.kif.msgsend.msg.utime.curflag",
- FT_BOOLEAN, 32, TFS(&tfs_set_notset),
- 0, "whether use current time", HFILL}
-
- },
+ FT_BOOLEAN, 32, TFS(&tfs_set_notset), 0,
+ "whether use current time", HFILL}
+ },
{&hf_qnet6_kif_msg_io_utime_actime,
{"actime", "qnet6.kif.msgsend.msg.utime.actime",
FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0,
"access time in seconds since the Epoch", HFILL}
- },
+ },
{&hf_qnet6_kif_msg_io_utime_modtime,
{"modtime", "qnet6.kif.msgsend.msg.utime.modtime",
FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0,
"modification time in seconds since the Epoch", HFILL}
- },
-/* fdinfo */
+ },
+ /* fdinfo */
{&hf_qnet6_kif_msg_io_fdinfo_flags,
{"flags", "qnet6.kif.msgsend.msg.fdinfo.flags",
- FT_BOOLEAN, 32, TFS(&tfs_set_notset),
- 0, "_FDINFO_FLAG_LOCALPATH", HFILL}
- },
+ FT_BOOLEAN, 32, TFS(&tfs_set_notset), 0,
+ "_FDINFO_FLAG_LOCALPATH", HFILL}
+ },
{&hf_qnet6_kif_msg_io_fdinfo_path_len,
{"pathlen", "qnet6.kif.msgsend.msg.fdinfo.pathlen",
- FT_UINT32, BASE_HEX, NULL,
- 0, "returned path buffer's length", HFILL}
- },
+ FT_UINT32, BASE_HEX, NULL, 0,
+ "returned path buffer's length", HFILL}
+ },
{&hf_qnet6_kif_msg_io_fdinfo_reserved,
{"reserved", "qnet6.kif.msgsend.msg.fdinfo.reserved",
- FT_UINT32, BASE_HEX, NULL,
- 0, "reserved fields", HFILL}
- },
-/* lock */
+ FT_UINT32, BASE_HEX, NULL, 0,
+ "reserved fields", HFILL}
+ },
+ /* lock */
{&hf_qnet6_kif_msg_io_lock_subtype,
{"subtype", "qnet6.kif.msgsend.msg.lock.subtype",
- FT_UINT32, BASE_HEX, NULL,
- 0, "io lock subytpe", HFILL}
- },
+ FT_UINT32, BASE_HEX, NULL, 0,
+ "io lock subytpe", HFILL}
+ },
{&hf_qnet6_kif_msg_io_lock_nbytes,
{"nbytes", "qnet6.kif.msgsend.msg.lock.nbytes",
- FT_UINT32, BASE_HEX, NULL,
- 0, "io lock nbytes", HFILL}
- },
-/* space */
+ FT_UINT32, BASE_HEX, NULL, 0,
+ "io lock nbytes", HFILL}
+ },
+ /* space */
{&hf_qnet6_kif_msg_io_space_subtype,
{"subtype", "qnet6.kif.msgsend.msg.space.subtype",
- FT_UINT16, BASE_HEX,
- VALS(qnet6_kif_msgsend_msg_io_space_subtype_vals),
- 0, "io space subytpe", HFILL}
- },
+ FT_UINT16, BASE_HEX, VALS(qnet6_kif_msgsend_msg_io_space_subtype_vals), 0,
+ "io space subytpe", HFILL}
+ },
{&hf_qnet6_kif_msg_io_space_whence,
{"whence", "qnet6.kif.msgsend.msg.space.whence",
- FT_UINT16, BASE_HEX,
- VALS(qnet6_kif_msgsend_msg_io_seek_whence_vals),
- 0, "io space whence", HFILL}
- },
+ FT_UINT16, BASE_HEX, VALS(qnet6_kif_msgsend_msg_io_seek_whence_vals), 0,
+ "io space whence", HFILL}
+ },
{&hf_qnet6_kif_msg_io_space_start,
{"start", "qnet6.kif.msgsend.msg.space.start",
- FT_UINT64, BASE_HEX, NULL,
- 0, "io space start", HFILL}
- },
+ FT_UINT64, BASE_HEX, NULL, 0,
+ "io space start", HFILL}
+ },
{&hf_qnet6_kif_msg_io_space_len,
{"len", "qnet6.kif.msgsend.msg.space.len",
- FT_UINT64, BASE_HEX, NULL,
- 0, "io space len", HFILL}
- },
+ FT_UINT64, BASE_HEX, NULL, 0,
+ "io space len", HFILL}
+ },
{&hf_qnet6_kif_msgsend_extra,
{"Extra", "qnet6.kif.msgsend.extra",
- FT_STRING, BASE_NONE, NULL, 0, NULL,
- HFILL}
- },
+ FT_STRING, BASE_NONE, NULL, 0,
+ NULL, HFILL}
+ },
-/* msg_info */
+ /* msg_info */
{&hf_qnet6_kif_msg_msginfo_nd,
{"Node", "qnet6.kif.msgsend.msg_info.nd",
- FT_UINT32, BASE_DEC_HEX, NULL, 0, "node id",
- HFILL}
- },
+ FT_UINT32, BASE_DEC_HEX, NULL, 0,
+ "node id", HFILL}
+ },
{&hf_qnet6_kif_msg_msginfo_srcnd,
{"Srcnode", "qnet6.kif.msgsend.msg_info.srcnd",
- FT_UINT32, BASE_DEC_HEX, NULL, 0, "source node id",
- HFILL}
- },
+ FT_UINT32, BASE_DEC_HEX, NULL, 0,
+ "source node id", HFILL}
+ },
{&hf_qnet6_kif_msg_msginfo_pid,
{"Pid", "qnet6.kif.msgsend.msg_info.pid",
- FT_INT32, BASE_DEC, NULL, 0, "process id",
- HFILL}
- },
+ FT_INT32, BASE_DEC, NULL, 0,
+ "process id", HFILL}
+ },
{&hf_qnet6_kif_msg_msginfo_tid,
{"Tid", "qnet6.kif.msgsend.msg_info.tid",
- FT_INT32, BASE_DEC, NULL, 0, "thread id",
- HFILL}
- },
+ FT_INT32, BASE_DEC, NULL, 0,
+ "thread id", HFILL}
+ },
{&hf_qnet6_kif_msg_msginfo_chid,
{"Chid", "qnet6.kif.msgsend.msg_info.chid",
- FT_INT32, BASE_DEC, NULL, 0, "channel id",
- HFILL}
- },
+ FT_INT32, BASE_DEC, NULL, 0,
+ "channel id", HFILL}
+ },
{&hf_qnet6_kif_msg_msginfo_scoid,
{"Scoid", "qnet6.kif.msgsend.msg_info.scoid",
- FT_INT32, BASE_DEC, NULL, 0, "server connection id",
- HFILL}
- },
+ FT_INT32, BASE_DEC, NULL, 0,
+ "server connection id", HFILL}
+ },
{&hf_qnet6_kif_msg_msginfo_coid,
{"Coid", "qnet6.kif.msgsend.msg_info.coid",
- FT_INT32, BASE_DEC, NULL, 0, "connection id",
- HFILL}
- },
+ FT_INT32, BASE_DEC, NULL, 0,
+ "connection id", HFILL}
+ },
{&hf_qnet6_kif_msg_msginfo_msglen,
{"Msglen", "qnet6.kif.msgsend.msg_info.msglen",
- FT_INT32, BASE_DEC, NULL, 0, "message length",
- HFILL}
- },
+ FT_INT32, BASE_DEC, NULL, 0,
+ "message length", HFILL}
+ },
{&hf_qnet6_kif_msg_msginfo_srcmsglen,
{"Srcmsglen", "qnet6.kif.msgsend.msg_info.srcmsglen",
- FT_INT32, BASE_DEC, NULL, 0, "source message length",
- HFILL}
- },
+ FT_INT32, BASE_DEC, NULL, 0,
+ "source message length", HFILL}
+ },
{&hf_qnet6_kif_msg_msginfo_dstmsglen,
{"Dstmsglen", "qnet6.kif.msgsend.msg_info.dstmsglen",
- FT_INT32, BASE_DEC, NULL, 0, "destination message length",
- HFILL}
- },
+ FT_INT32, BASE_DEC, NULL, 0,
+ "destination message length", HFILL}
+ },
{&hf_qnet6_kif_msg_msginfo_priority,
{"Priority", "qnet6.kif.msgsend.msg_info.priority",
- FT_INT16, BASE_DEC, NULL, 0, NULL,
- HFILL}
- },
+ FT_INT16, BASE_DEC, NULL, 0,
+ NULL, HFILL}
+ },
{&hf_qnet6_kif_msg_msginfo_flags,
{"Flags", "qnet6.kif.msgsend.msg_info.flags",
- FT_INT16, BASE_DEC, NULL, 0, NULL,
- HFILL}
- },
+ FT_INT16, BASE_DEC, NULL, 0,
+ NULL, HFILL}
+ },
{&hf_qnet6_kif_msg_msginfo_reserved,
{"Reserved", "qnet6.kif.msgsend.msg_info.reserved",
- FT_UINT32, BASE_HEX, NULL, 0, NULL,
- HFILL}
- },
-/* openfd */
+ FT_UINT32, BASE_HEX, NULL, 0,
+ NULL, HFILL}
+ },
+ /* openfd */
{&hf_qnet6_kif_msg_openfd_ioflag,
- {"Ioflag", "qnet6.kif.msgsend.msg.openfd.ioflag", FT_UINT32,
- BASE_OCT, NULL, 0, "file io flag", HFILL}
- },
+ {"Ioflag", "qnet6.kif.msgsend.msg.openfd.ioflag",
+ FT_UINT32, BASE_OCT, NULL, 0,
+ "file io flag", HFILL}
+ },
/* for FT_BOOLEAN, its display field must be parent bit width */
{&hf_qnet6_kif_msg_openfd_ioflag_access,
{"access", "qnet6.kif.msgsend.msg.openfd.ioflag.access",
- FT_UINT32,
- BASE_DEC, VALS(qnet6_kif_msgsend_msg_connect_ioflag_vals), 03,
+ FT_UINT32, BASE_DEC, VALS(qnet6_kif_msgsend_msg_connect_ioflag_vals), 03,
"access mode", HFILL}
- },
+ },
{&hf_qnet6_kif_msg_openfd_ioflag_append,
{"append", "qnet6.kif.msgsend.msg.openfd.ioflag.append",
- FT_BOOLEAN,
- 32, NULL, 010, "append mode", HFILL}
- },
+ FT_BOOLEAN, 32, NULL, 010,
+ "append mode", HFILL}
+ },
{&hf_qnet6_kif_msg_openfd_ioflag_dsync,
{"dsync", "qnet6.kif.msgsend.msg.openfd.ioflag.dsync",
- FT_BOOLEAN,
- 32, NULL, 020, "data sync mode", HFILL}
- },
+ FT_BOOLEAN, 32, NULL, 020,
+ "data sync mode", HFILL}
+ },
{&hf_qnet6_kif_msg_openfd_ioflag_sync,
{"sync", "qnet6.kif.msgsend.msg.openfd.ioflag.sync",
- FT_BOOLEAN,
- 32, NULL, 040, "file sync mode", HFILL}
- },
+ FT_BOOLEAN, 32, NULL, 040,
+ "file sync mode", HFILL}
+ },
{&hf_qnet6_kif_msg_openfd_ioflag_rsync,
{"rsync", "qnet6.kif.msgsend.msg.openfd.ioflag.rsync",
- FT_BOOLEAN,
- 32, NULL, 0100, "alias for data sync mode", HFILL}
- },
+ FT_BOOLEAN, 32, NULL, 0100,
+ "alias for data sync mode", HFILL}
+ },
{&hf_qnet6_kif_msg_openfd_ioflag_nonblock,
{"nonblock", "qnet6.kif.msgsend.msg.openfd.ioflag.nonblock",
- FT_BOOLEAN,
- 32, NULL, 0200, "alias for data sync mode", HFILL}
- },
+ FT_BOOLEAN, 32, NULL, 0200,
+ "alias for data sync mode", HFILL}
+ },
{&hf_qnet6_kif_msg_openfd_ioflag_creat,
{"creat", "qnet6.kif.msgsend.msg.openfd.ioflag.creat",
- FT_BOOLEAN,
- 32, NULL, 0400, "creat mode", HFILL}
- },
+ FT_BOOLEAN, 32, NULL, 0400,
+ "creat mode", HFILL}
+ },
{&hf_qnet6_kif_msg_openfd_ioflag_truncate,
{"truncate", "qnet6.kif.msgsend.msg.openfd.ioflag.truncate",
- FT_BOOLEAN,
- 32, NULL, 01000, "truncate mode", HFILL}
- },
+ FT_BOOLEAN, 32, NULL, 01000,
+ "truncate mode", HFILL}
+ },
{&hf_qnet6_kif_msg_openfd_ioflag_exclusive,
{"exclusive", "qnet6.kif.msgsend.msg.openfd.ioflag.exclusive",
- FT_BOOLEAN,
- 32, NULL, 02000, "exclusive mode", HFILL}
- },
+ FT_BOOLEAN, 32, NULL, 02000,
+ "exclusive mode", HFILL}
+ },
{&hf_qnet6_kif_msg_openfd_ioflag_noctrltty,
{"noctrltty", "qnet6.kif.msgsend.msg.openfd.ioflag.noctrltty",
- FT_BOOLEAN,
- 32, NULL, 04000, "noctrltty mode", HFILL}
- },
+ FT_BOOLEAN, 32, NULL, 04000,
+ "noctrltty mode", HFILL}
+ },
{&hf_qnet6_kif_msg_openfd_ioflag_closexec,
{"closexec", "qnet6.kif.msgsend.msg.openfd.ioflag.closexec",
- FT_BOOLEAN,
- 32, NULL, 010000, "closexec mode", HFILL}
- },
+ FT_BOOLEAN, 32, NULL, 010000,
+ "closexec mode", HFILL}
+ },
{&hf_qnet6_kif_msg_openfd_ioflag_realids,
{"realids", "qnet6.kif.msgsend.msg.openfd.ioflag.realids",
- FT_BOOLEAN,
- 32, NULL, 020000, "realids mode", HFILL}
- },
+ FT_BOOLEAN, 32, NULL, 020000,
+ "realids mode", HFILL}
+ },
{&hf_qnet6_kif_msg_openfd_ioflag_largefile,
{"largefile", "qnet6.kif.msgsend.msg.openfd.ioflag.largefile",
- FT_BOOLEAN,
- 32, NULL, 0100000, "largefile mode", HFILL}
- },
+ FT_BOOLEAN, 32, NULL, 0100000,
+ "largefile mode", HFILL}
+ },
{&hf_qnet6_kif_msg_openfd_ioflag_async,
{"async", "qnet6.kif.msgsend.msg.openfd.ioflag.async",
- FT_BOOLEAN,
- 32, NULL, 0200000, "async mode", HFILL}
- },
+ FT_BOOLEAN, 32, NULL, 0200000,
+ "async mode", HFILL}
+ },
{&hf_qnet6_kif_msg_openfd_sflag,
- {"Sflag", "qnet6.kif.msgsend.msg.openfd.sflag", FT_UINT16,
- BASE_HEX,
- VALS(qnet6_kif_msgsend_msg_connect_sflag_vals), 0, NULL,
- HFILL}
- },
+ {"Sflag", "qnet6.kif.msgsend.msg.openfd.sflag",
+ FT_UINT16, BASE_HEX, VALS(qnet6_kif_msgsend_msg_connect_sflag_vals), 0,
+ NULL, HFILL}
+ },
{&hf_qnet6_kif_msg_openfd_xtype,
- {"Xtype", "qnet6.kif.msgsend.msg.openfd.xtype", FT_UINT16,
- BASE_HEX, VALS(qnet6_kif_msgsend_msg_openfd_xtypes_vals),
- 0, "openfd xtype", HFILL}
- },
+ {"Xtype", "qnet6.kif.msgsend.msg.openfd.xtype",
+ FT_UINT16, BASE_HEX, VALS(qnet6_kif_msgsend_msg_openfd_xtypes_vals), 0,
+ "openfd xtype", HFILL}
+ },
{&hf_qnet6_kif_msg_openfd_reserved,
{"Reserved", "qnet6.kif.msgsend.msg.openfd.reserved",
- FT_UINT32,
- BASE_HEX, NULL,
- 0, "openfd reserved fields", HFILL}
- },
+ FT_UINT32, BASE_HEX, NULL, 0,
+ "openfd reserved fields", HFILL}
+ },
{&hf_qnet6_kif_msg_openfd_key,
- {"Key", "qnet6.kif.msgsend.msg.openfd.key", FT_UINT32,
- BASE_HEX, NULL,
- 0, "openfd key", HFILL}
- },
-/* mmap */
+ {"Key", "qnet6.kif.msgsend.msg.openfd.key",
+ FT_UINT32, BASE_HEX, NULL, 0,
+ "openfd key", HFILL}
+ },
+ /* mmap */
{&hf_qnet6_kif_msg_io_mmap_prot,
- {"Prot", "qnet6.kif.msgsend.msg.mmap.prot", FT_UINT32,
- BASE_HEX, NULL,
- 0, "protection field of mmap", HFILL}
- },
+ {"Prot", "qnet6.kif.msgsend.msg.mmap.prot",
+ FT_UINT32, BASE_HEX, NULL, 0,
+ "protection field of mmap", HFILL}
+ },
{&hf_qnet6_kif_msg_io_mmap_prot_read,
- {"Read", "qnet6.kif.msgsend.msg.mmap.prot.read", FT_BOOLEAN,
- 32, NULL,
- 0x100, "protection field of mmap", HFILL}
- },
+ {"Read", "qnet6.kif.msgsend.msg.mmap.prot.read",
+ FT_BOOLEAN, 32, NULL, 0x100,
+ "protection field of mmap", HFILL}
+ },
{&hf_qnet6_kif_msg_io_mmap_prot_write,
- {"Write", "qnet6.kif.msgsend.msg.mmap.prot.write", FT_BOOLEAN,
- 32, NULL,
- 0x200, "protection field of mmap", HFILL}
- },
+ {"Write", "qnet6.kif.msgsend.msg.mmap.prot.write",
+ FT_BOOLEAN, 32, NULL, 0x200,
+ "protection field of mmap", HFILL}
+ },
{&hf_qnet6_kif_msg_io_mmap_prot_exec,
- {"Exec", "qnet6.kif.msgsend.msg.mmap.prot.exec", FT_BOOLEAN,
- 32, NULL,
- 0x400, "protection field of mmap", HFILL}
- },
+ {"Exec", "qnet6.kif.msgsend.msg.mmap.prot.exec",
+ FT_BOOLEAN, 32, NULL, 0x400,
+ "protection field of mmap", HFILL}
+ },
{&hf_qnet6_kif_msg_io_mmap_offset,
- {"Offset", "qnet6.kif.msgsend.msg.mmap.offset", FT_UINT64,
- BASE_HEX, NULL,
- 0, "offset of object", HFILL}
- },
-/* notify */
+ {"Offset", "qnet6.kif.msgsend.msg.mmap.offset",
+ FT_UINT64, BASE_HEX, NULL, 0,
+ "offset of object", HFILL}
+ },
+ /* notify */
{&hf_qnet6_kif_msg_io_notify_action,
- {"Action", "qnet6.kif.msgsend.msg.notify.action", FT_UINT32,
- BASE_HEX, VALS(qnet6_kif_msgsend_msg_io_notify_action_vals),
- 0, "action of notify", HFILL}
- },
+ {"Action", "qnet6.kif.msgsend.msg.notify.action",
+ FT_UINT32, BASE_HEX, VALS(qnet6_kif_msgsend_msg_io_notify_action_vals), 0,
+ "action of notify", HFILL}
+ },
{&hf_qnet6_kif_msg_io_notify_flags,
- {"Action", "qnet6.kif.msgsend.msg.notify.action", FT_UINT32,
- BASE_HEX, NULL,
- 0, "flags of notify", HFILL}
- },
+ {"Action", "qnet6.kif.msgsend.msg.notify.action",
+ FT_UINT32, BASE_HEX, NULL, 0,
+ "flags of notify", HFILL}
+ },
{&hf_qnet6_kif_msg_io_notify_flags_31,
{"Exten", "qnet6.kif.msgsend.msg.notify.flags.exten",
- FT_BOOLEAN,
- 32, NULL,
- 0x80000000, "exten flag of notify", HFILL}
- },
+ FT_BOOLEAN, 32, NULL, 0x80000000,
+ "exten flag of notify", HFILL}
+ },
{&hf_qnet6_kif_msg_io_notify_flags_30,
{"Oband", "qnet6.kif.msgsend.msg.notify.flags.oband",
- FT_BOOLEAN,
- 32, NULL,
- 0x40000000, "outband flag of notify", HFILL}
- },
+ FT_BOOLEAN, 32, NULL, 0x40000000,
+ "outband flag of notify", HFILL}
+ },
{&hf_qnet6_kif_msg_io_notify_flags_29,
{"Output", "qnet6.kif.msgsend.msg.notify.flags.output",
- FT_BOOLEAN,
- 32, NULL,
- 0x20000000, "output flag of notify", HFILL}
- },
+ FT_BOOLEAN, 32, NULL, 0x20000000,
+ "output flag of notify", HFILL}
+ },
{&hf_qnet6_kif_msg_io_notify_flags_28,
{"Input", "qnet6.kif.msgsend.msg.notify.flags.input",
- FT_BOOLEAN,
- 32, NULL,
- 0x10000000, "input flag of notify", HFILL}
- },
+ FT_BOOLEAN, 32, NULL, 0x10000000,
+ "input flag of notify", HFILL}
+ },
{&hf_qnet6_kif_msg_io_notify_mgr,
- {"Manager", "qnet6.kif.msgsend.msg.notify.mgr", FT_UINT64,
- BASE_HEX, NULL,
- 0, "managers of notify", HFILL}
- },
+ {"Manager", "qnet6.kif.msgsend.msg.notify.mgr",
+ FT_UINT64, BASE_HEX, NULL, 0,
+ "managers of notify", HFILL}
+ },
{&hf_qnet6_kif_msg_io_notify_flags_extra_mask,
- {"FlagsExtraMask",
- "qnet6.kif.msgsend.msg.notify.flags_extra_mask",
- FT_UINT32, BASE_HEX, NULL,
- 0, "extra mask of flags", HFILL}
- },
+ {"FlagsExtraMask", "qnet6.kif.msgsend.msg.notify.flags_extra_mask",
+ FT_UINT32, BASE_HEX, NULL, 0,
+ "extra mask of flags", HFILL}
+ },
{&hf_qnet6_kif_msg_io_notify_flags_exten,
{"FlagsExten", "qnet6.kif.msgsend.msg.notify.flags_exten",
- FT_UINT32,
- BASE_HEX, NULL,
- 0, "glags exten", HFILL}
- },
+ FT_UINT32, BASE_HEX, NULL, 0,
+ "glags exten", HFILL}
+ },
{&hf_qnet6_kif_msg_io_notify_nfds,
- {"Nfds", "qnet6.kif.msgsend.msg.notify.nfds", FT_UINT32,
- BASE_HEX, NULL,
- 0, "number of fds", HFILL}
- },
+ {"Nfds", "qnet6.kif.msgsend.msg.notify.nfds",
+ FT_UINT32, BASE_HEX, NULL, 0,
+ "number of fds", HFILL}
+ },
{&hf_qnet6_kif_msg_io_notify_fd_first,
- {"Firstfd", "qnet6.kif.msgsend.msg.notify.fd_first", FT_UINT32,
- BASE_HEX, NULL,
- 0, "first fd in nfds array", HFILL}
- },
+ {"Firstfd", "qnet6.kif.msgsend.msg.notify.fd_first",
+ FT_UINT32, BASE_HEX, NULL, 0,
+ "first fd in nfds array", HFILL}
+ },
{&hf_qnet6_kif_msg_io_notify_nfds_ready,
- {"Ready", "qnet6.kif.msgsend.msg.notify.nfds_ready", FT_UINT32,
- BASE_HEX, NULL,
- 0, "number of ready fds", HFILL}
- },
+ {"Ready", "qnet6.kif.msgsend.msg.notify.nfds_ready",
+ FT_UINT32, BASE_HEX, NULL, 0,
+ "number of ready fds", HFILL}
+ },
{&hf_qnet6_kif_msg_io_notify_timo,
{"Timeout", "qnet6.kif.msgsend.msg.notify.timeo",
- FT_ABSOLUTE_TIME,
- ABSOLUTE_TIME_LOCAL, NULL,
- 0, "notify timeout", HFILL}
- },
+ FT_ABSOLUTE_TIME, ABSOLUTE_TIME_LOCAL, NULL, 0,
+ "notify timeout", HFILL}
+ },
{&hf_qnet6_kif_msg_io_notify_fds,
{"FDS", "qnet6.kif.msgsend.msg.notify.fds",
- FT_STRING, BASE_NONE, NULL,
- 0, NULL, HFILL}
- },
+ FT_STRING, BASE_NONE, NULL, 0,
+ NULL, HFILL}
+ },
-/* iomsg*/
+ /* iomsg*/
{&hf_qnet6_kif_msg_io_msg_mgrid,
- {"Mgrid", "qnet6.kif.msgsend.msg.iomsg.mgrid", FT_UINT16,
- BASE_HEX, VALS(qnet6_kif_mgr_types_vals),
- 0, "manager id", HFILL}
- },
+ {"Mgrid", "qnet6.kif.msgsend.msg.iomsg.mgrid",
+ FT_UINT16, BASE_HEX, VALS(qnet6_kif_mgr_types_vals), 0,
+ "manager id", HFILL}
+ },
{&hf_qnet6_kif_msg_io_msg_subtype,
- {"subtype", "qnet6.kif.msgsend.msg.iomsg.subtype", FT_UINT16,
- BASE_HEX, NULL,
- 0, NULL, HFILL}
- },
-/* dup */
+ {"subtype", "qnet6.kif.msgsend.msg.iomsg.subtype",
+ FT_UINT16, BASE_HEX, NULL, 0,
+ NULL, HFILL}
+ },
+ /* dup */
{&hf_qnet6_kif_msg_io_dup_reserved,
- {"Reserved", "qnet6.kif.msgsend.msg.dup.reserved", FT_UINT32,
- BASE_HEX, NULL,
- 0, "dup message reserved fields", HFILL}
- },
+ {"Reserved", "qnet6.kif.msgsend.msg.dup.reserved",
+ FT_UINT32, BASE_HEX, NULL, 0,
+ "dup message reserved fields", HFILL}
+ },
{&hf_qnet6_kif_msg_io_dup_key,
- {"Key", "qnet6.kif.msgsend.msg.dup.key", FT_UINT32,
- BASE_HEX, NULL,
- 0, "dup message key", HFILL}
- },
+ {"Key", "qnet6.kif.msgsend.msg.dup.key",
+ FT_UINT32, BASE_HEX, NULL, 0,
+ "dup message key", HFILL}
+ },
/* _client_info */
{&hf_qnet6_kif_client_info,
{"Client_info", "qnet6.kif.client_info",
- FT_STRINGZ,
- BASE_NONE,
- NULL, 0, "client information",
- HFILL}
- },
+ FT_STRINGZ, BASE_NONE, NULL, 0,
+ "client information", HFILL}
+ },
{&hf_qnet6_kif_zero,
{"Zero", "qnet6.kif.zero",
- FT_BYTES,
- BASE_NONE,
- NULL, 0, "All bytes should be zero",
- HFILL}
- },
+ FT_BYTES, BASE_NONE, NULL, 0,
+ "All bytes should be zero", HFILL}
+ },
{&hf_qnet6_kif_client_info_nd,
{"Nd", "qnet6.kif.client_info.nd",
- FT_UINT32,
- BASE_DEC_HEX,
- NULL, 0, "node id",
- HFILL}
- },
+ FT_UINT32, BASE_DEC_HEX, NULL, 0,
+ "node id", HFILL}
+ },
{&hf_qnet6_kif_client_info_pid,
{"Pid", "qnet6.kif.client_info.pid",
- FT_INT32,
- BASE_DEC,
- NULL, 0, "process id",
- HFILL}
- },
+ FT_INT32, BASE_DEC, NULL, 0,
+ "process id", HFILL}
+ },
{&hf_qnet6_kif_client_info_sid,
{"Sid", "qnet6.kif.client_info.sid",
- FT_INT32,
- BASE_DEC,
- NULL, 0, "server connection id",
- HFILL}
- },
+ FT_INT32, BASE_DEC, NULL, 0,
+ "server connection id", HFILL}
+ },
{&hf_qnet6_kif_client_info_flags,
{"Flags", "qnet6.kif.client_info.flags",
- FT_UINT32,
- BASE_HEX,
- NULL, 0, "connection flags",
- HFILL}
- },
+ FT_UINT32, BASE_HEX, NULL, 0,
+ "connection flags", HFILL}
+ },
{&hf_qnet6_kif_client_info_cred,
{"Cred", "qnet6.kif.client_info.cred",
- FT_STRINGZ,
- BASE_NONE,
- NULL, 0, "client credential information",
- HFILL}
- },
+ FT_STRINGZ, BASE_NONE, NULL, 0,
+ "client credential information", HFILL}
+ },
{&hf_qnet6_kif_client_info_cred_ruid,
{"Ruid", "qnet6.kif.client_info.cred.ruid",
- FT_INT32,
- BASE_DEC,
- NULL, 0, "client real uid",
- HFILL}
- },
+ FT_INT32, BASE_DEC, NULL, 0,
+ "client real uid", HFILL}
+ },
{&hf_qnet6_kif_client_info_cred_euid,
{"Euid", "qnet6.kif.client_info.cred.euid",
- FT_INT32,
- BASE_DEC, NULL, 0, "client effective uid",
- HFILL}
- },
+ FT_INT32, BASE_DEC, NULL, 0,
+ "client effective uid", HFILL}
+ },
{&hf_qnet6_kif_client_info_cred_suid,
{"Suid", "qnet6.kif.client_info.cred.suid",
- FT_INT32,
- BASE_DEC, NULL, 0, "client saved uid",
- HFILL}
- },
+ FT_INT32, BASE_DEC, NULL, 0,
+ "client saved uid", HFILL}
+ },
{&hf_qnet6_kif_client_info_cred_rgid,
{"Rgid", "qnet6.kif.client_info.cred.rgid",
- FT_INT32,
- BASE_DEC,
- NULL, 0, "client real gid",
- HFILL}
- },
+ FT_INT32, BASE_DEC, NULL, 0,
+ "client real gid", HFILL}
+ },
{&hf_qnet6_kif_client_info_cred_egid,
{"Egid", "qnet6.kif.client_info.cred.egid",
- FT_INT32,
- BASE_DEC,
- NULL, 0, "client effective gid",
- HFILL}
- },
+ FT_INT32, BASE_DEC, NULL, 0,
+ "client effective gid", HFILL}
+ },
{&hf_qnet6_kif_client_info_cred_sgid,
{"Sgid", "qnet6.kif.client_info.cred.sgid",
- FT_INT32,
- BASE_DEC,
- NULL, 0, "client saved gid",
- HFILL}
- },
+ FT_INT32, BASE_DEC, NULL, 0,
+ "client saved gid", HFILL}
+ },
{&hf_qnet6_kif_client_info_cred_ngroups,
{"Ngroups", "qnet6.kif.client_info.cred.ngroups",
- FT_UINT32,
- BASE_DEC_HEX,
- NULL, 0, "number of groups client belongs to",
- HFILL}
- },
+ FT_UINT32, BASE_DEC_HEX, NULL, 0,
+ "number of groups client belongs to", HFILL}
+ },
{&hf_qnet6_kif_client_info_cred_grouplist,
{"Grouplist", "qnet6.kif.client_info.cred.grouplist",
- FT_UINT32,
- BASE_DEC,
- NULL, 0, "groups client belongs to",
- HFILL}
- }
+ FT_UINT32, BASE_DEC, NULL, 0,
+ "groups client belongs to", HFILL}
+ }
};
/* Setup protocol subtree array */