More tools/check_typed_item_calls.py fussing
This commit is contained in:
parent
5eab2f8b63
commit
a4df6e1eb1
|
@ -30,14 +30,14 @@ void proto_reg_handoff_adwin_config(void);
|
|||
#define UDPIXP425FlashUpdateLENGTH 92
|
||||
#define UDPOutLENGTH 22
|
||||
|
||||
#define STATUS_WITH_BOOTLOADER 0x0001
|
||||
#define STATUS_REPROGRAMMABLE 0x0002
|
||||
#define STATUS_CONFIGURABLE 0x0004
|
||||
#define STATUS_BOOTLOADER_BOOTS 0x0008
|
||||
#define STATUS_BOOTLOADER_REPROGRAMMABLE 0x0010
|
||||
#define STATUS_BOOTLOADER_RECEIVES_DATA 0x0020
|
||||
#define STATUS_BOOTLOADER_REPROGRAMMING_DONE 0x0040
|
||||
#define STATUS_WITH_EEPROM_SUPPORT 0x0080
|
||||
#define STATUS_WITH_BOOTLOADER 0x00000001
|
||||
#define STATUS_REPROGRAMMABLE 0x00000002
|
||||
#define STATUS_CONFIGURABLE 0x00000004
|
||||
#define STATUS_BOOTLOADER_BOOTS 0x00000008
|
||||
#define STATUS_BOOTLOADER_REPROGRAMMABLE 0x00000010
|
||||
#define STATUS_BOOTLOADER_RECEIVES_DATA 0x00000020
|
||||
#define STATUS_BOOTLOADER_REPROGRAMMING_DONE 0x00000040
|
||||
#define STATUS_WITH_EEPROM_SUPPORT 0x00000080
|
||||
|
||||
static const value_string pattern_mapping[] = {
|
||||
{ 0x12343210, "Reset reset/socket counters"},
|
||||
|
|
|
@ -9467,7 +9467,7 @@ proto_register_cip(void)
|
|||
{ &hf_time_sync_parent_clock_clock_id, { "Clock Identity", "cip.time_sync.parent_clock.clock_id", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
|
||||
{ &hf_time_sync_parent_clock_port_number, { "Port Number", "cip.time_sync.parent_clock.port_number", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
|
||||
{ &hf_time_sync_parent_clock_observed_offset_scaled_log_variance, { "Observed Offset Scaled Log Variance", "cip.time_sync.parent_clock.observed_offset_scaled_log_variance", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
|
||||
{ &hf_time_sync_parent_clock_observed_phase_change_rate, { "Observed Phase Change Rate", "cip.time_sync.parent_clock.observed_phase_change_rate", FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
|
||||
{ &hf_time_sync_parent_clock_observed_phase_change_rate, { "Observed Phase Change Rate", "cip.time_sync.parent_clock.observed_phase_change_rate", FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
|
||||
{ &hf_time_sync_local_clock_clock_id, { "Clock Identity", "cip.time_sync.local_clock.clock_id", FT_BYTES, BASE_NONE, NULL, 0, NULL, HFILL }},
|
||||
{ &hf_time_sync_local_clock_clock_class, { "Clock Class", "cip.time_sync.local_clock.clock_class", FT_UINT16, BASE_DEC, VALS(cip_time_sync_clock_class_vals), 0, NULL, HFILL }},
|
||||
{ &hf_time_sync_local_clock_time_accuracy, { "Time Accuracy", "cip.time_sync.local_clock.time_accuracy", FT_UINT16, BASE_DEC, VALS(cip_time_sync_time_accuracy_vals), 0, NULL, HFILL }},
|
||||
|
|
|
@ -1885,7 +1885,7 @@ proto_register_dccp(void)
|
|||
{&hf_mpdccp_addrid,{"Address ID", "dccp.mp_addrid",FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL}},
|
||||
{&hf_mpdccp_addr_dec,{"Address", "dccp.mp_ipv4addr",FT_IPv4, BASE_NONE, NULL, 0x0, NULL, HFILL}},
|
||||
{&hf_mpdccp_addr_hex,{"Address", "dccp.mp_ipv6addr",FT_IPv6, BASE_NONE, NULL, 0x0, NULL, HFILL}},
|
||||
{&hf_mpdccp_addrport,{"Port", "dccp.mp_addrport",FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL}},
|
||||
{&hf_mpdccp_addrport,{"Port", "dccp.mp_addrport",FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL}},
|
||||
|
||||
{&hf_mpdccp_removeaddr,{"MP_REMOVEADDR", "dccp.mp_removeaddr",FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL}},
|
||||
|
||||
|
|
|
@ -34,19 +34,19 @@ void proto_reg_handoff_devicenet(void);
|
|||
static dissector_handle_t devicenet_handle;
|
||||
|
||||
#define DEVICENET_CANID_MASK CAN_SFF_MASK
|
||||
#define MESSAGE_GROUP_1_ID 0x3FF
|
||||
#define MESSAGE_GROUP_1_MSG_MASK 0x3C0
|
||||
#define MESSAGE_GROUP_1_MAC_ID_MASK 0x03F
|
||||
#define MESSAGE_GROUP_1_ID 0x03FF
|
||||
#define MESSAGE_GROUP_1_MSG_MASK 0x03C0
|
||||
#define MESSAGE_GROUP_1_MAC_ID_MASK 0x003F
|
||||
|
||||
#define MESSAGE_GROUP_2_ID 0x5FF
|
||||
#define MESSAGE_GROUP_2_MSG_MASK 0x007
|
||||
#define MESSAGE_GROUP_2_MAC_ID_MASK 0x1F8
|
||||
#define MESSAGE_GROUP_2_ID 0x05FF
|
||||
#define MESSAGE_GROUP_2_MSG_MASK 0x0007
|
||||
#define MESSAGE_GROUP_2_MAC_ID_MASK 0x01F8
|
||||
|
||||
#define MESSAGE_GROUP_3_ID 0x7BF
|
||||
#define MESSAGE_GROUP_3_MSG_MASK 0x1C0
|
||||
#define MESSAGE_GROUP_3_MAC_ID_MASK 0x03F
|
||||
#define MESSAGE_GROUP_3_FRAG_MASK 0x80
|
||||
#define MESSAGE_GROUP_3_XID_MASK 0x40
|
||||
#define MESSAGE_GROUP_3_ID 0x07BF
|
||||
#define MESSAGE_GROUP_3_MSG_MASK 0x01C0
|
||||
#define MESSAGE_GROUP_3_MAC_ID_MASK 0x003F
|
||||
#define MESSAGE_GROUP_3_FRAG_MASK 0x0080
|
||||
#define MESSAGE_GROUP_3_XID_MASK 0x0040
|
||||
|
||||
#define MESSAGE_GROUP_4_ID 0x07EF
|
||||
#define MESSAGE_GROUP_4_MSG_MASK 0x003F
|
||||
|
|
|
@ -7556,7 +7556,7 @@ proto_register_dhcp(void)
|
|||
|
||||
{ &hf_dhcp_pkt_mta_cap_len,
|
||||
{ "MTA DC Length", "dhcp.vendor.pktc.mta_cap_len",
|
||||
FT_UINT8, BASE_DEC, NULL, 0x0,
|
||||
FT_UINT16, BASE_DEC, NULL, 0x0,
|
||||
"PacketCable MTA Device Capabilities Length", HFILL }},
|
||||
|
||||
{ &hf_dhcp_pkt_mta_cap_type,
|
||||
|
|
|
@ -543,13 +543,13 @@ proto_register_dpnet(void)
|
|||
},
|
||||
{ &hf_dpnet_session_offset,
|
||||
{ "Session Offset", "dpnet.session_offset",
|
||||
FT_UINT16, BASE_DEC,
|
||||
FT_UINT32, BASE_DEC,
|
||||
NULL, 0,
|
||||
NULL, HFILL }
|
||||
},
|
||||
{ &hf_dpnet_session_size,
|
||||
{ "Session Size", "dpnet.session_size",
|
||||
FT_UINT16, BASE_DEC,
|
||||
FT_UINT32, BASE_DEC,
|
||||
NULL, 0,
|
||||
NULL, HFILL }
|
||||
},
|
||||
|
@ -585,13 +585,13 @@ proto_register_dpnet(void)
|
|||
},
|
||||
{ &hf_dpnet_application_offset,
|
||||
{ "Application Offset", "dpnet.application_offset",
|
||||
FT_UINT16, BASE_DEC,
|
||||
FT_UINT32, BASE_DEC,
|
||||
NULL, 0,
|
||||
NULL, HFILL }
|
||||
},
|
||||
{ &hf_dpnet_application_size,
|
||||
{ "Application Size", "dpnet.application_size",
|
||||
FT_UINT16, BASE_DEC,
|
||||
FT_UINT32, BASE_DEC,
|
||||
NULL, 0,
|
||||
NULL, HFILL }
|
||||
},
|
||||
|
|
|
@ -190,21 +190,21 @@ static const value_string names_protocol[] = {
|
|||
{ 0, NULL }
|
||||
};
|
||||
|
||||
#define LUP_DEEP 0x0001
|
||||
#define LUP_CONTAINERS 0x0002
|
||||
#define LUP_NOCONTAINERS 0x0004
|
||||
#define LUP_NEAREST 0x0008
|
||||
#define LUP_RETURN_NAME 0x0010
|
||||
#define LUP_RETURN_TYPE 0x0020
|
||||
#define LUP_RETURN_VERSION 0x0040
|
||||
#define LUP_RETURN_COMMENT 0x0080
|
||||
#define LUP_RETURN_ADDR 0x0100
|
||||
#define LUP_RETURN_BLOB 0x0200
|
||||
#define LUP_RETURN_ALIASES 0x0400
|
||||
#define LUP_RETURN_QUERY_STRING 0x0800
|
||||
#define LUP_FLUSHCACHE 0x1000
|
||||
#define LUP_FLUSHPREVIOUS 0x2000
|
||||
#define LUP_RES_SERVICE 0x8000
|
||||
#define LUP_DEEP 0x00000001
|
||||
#define LUP_CONTAINERS 0x00000002
|
||||
#define LUP_NOCONTAINERS 0x00000004
|
||||
#define LUP_NEAREST 0x00000008
|
||||
#define LUP_RETURN_NAME 0x00000010
|
||||
#define LUP_RETURN_TYPE 0x00000020
|
||||
#define LUP_RETURN_VERSION 0x00000040
|
||||
#define LUP_RETURN_COMMENT 0x00000080
|
||||
#define LUP_RETURN_ADDR 0x00000100
|
||||
#define LUP_RETURN_BLOB 0x00000200
|
||||
#define LUP_RETURN_ALIASES 0x00000400
|
||||
#define LUP_RETURN_QUERY_STRING 0x00000800
|
||||
#define LUP_FLUSHCACHE 0x00001000
|
||||
#define LUP_FLUSHPREVIOUS 0x00002000
|
||||
#define LUP_RES_SERVICE 0x00008000
|
||||
|
||||
#define SOCKADDR_WITH_LEN 1
|
||||
#define SOCKADDR_CONNECT 2
|
||||
|
|
|
@ -1064,11 +1064,11 @@ static const true_false_string tlv_upstr_sbit_vals = {
|
|||
"LSR is withdrawing the capability to distribute and receive upstream-assigned label bindings"
|
||||
};
|
||||
|
||||
#define PW_NOT_FORWARDING 0x1
|
||||
#define PW_LAC_INGRESS_RECV_FAULT 0x2
|
||||
#define PW_LAC_EGRESS_TRANS_FAULT 0x4
|
||||
#define PW_PSN_PW_INGRESS_RECV_FAULT 0x8
|
||||
#define PW_PSN_PW_EGRESS_TRANS_FAULT 0x10
|
||||
#define PW_NOT_FORWARDING 0x00000001
|
||||
#define PW_LAC_INGRESS_RECV_FAULT 0x00000002
|
||||
#define PW_LAC_EGRESS_TRANS_FAULT 0x00000004
|
||||
#define PW_PSN_PW_INGRESS_RECV_FAULT 0x00000008
|
||||
#define PW_PSN_PW_EGRESS_TRANS_FAULT 0x00000010
|
||||
|
||||
static void
|
||||
dissect_subtlv_interface_parameters(tvbuff_t *tvb, guint offset, proto_tree *tree, int rem, int *interface_parameters_hf[]);
|
||||
|
|
|
@ -35,8 +35,8 @@ void proto_reg_handoff_mih(void);
|
|||
#define MORE_FRAG_MASK 0x1
|
||||
#define FRAG_NO_MASK 0xFE
|
||||
#define SID_MASK 0xF000
|
||||
#define OPCODE_MASK 0xC00
|
||||
#define AID_MASK 0x3FF
|
||||
#define OPCODE_MASK 0x0C00
|
||||
#define AID_MASK 0x03FF
|
||||
#define TRANS_ID_MASK 0x0FFF
|
||||
#define LEN_OF_LEN_MASK 0x80
|
||||
|
||||
|
|
|
@ -869,7 +869,7 @@ proto_register_mpls_pm(void)
|
|||
&hf_mpls_pm_flags_r,
|
||||
{
|
||||
"Response indicator (R)", "mpls_pm.flags.r",
|
||||
FT_BOOLEAN, 4, TFS(&tfs_set_notset), MPLS_PM_FLAGS_R,
|
||||
FT_BOOLEAN, 8, TFS(&tfs_set_notset), MPLS_PM_FLAGS_R,
|
||||
NULL, HFILL
|
||||
}
|
||||
},
|
||||
|
@ -878,7 +878,7 @@ proto_register_mpls_pm(void)
|
|||
{
|
||||
"Traffic-class-specific measurement indicator (T)",
|
||||
"mpls_pm.flags.t",
|
||||
FT_BOOLEAN, 4, TFS(&tfs_set_notset), MPLS_PM_FLAGS_T,
|
||||
FT_BOOLEAN, 8, TFS(&tfs_set_notset), MPLS_PM_FLAGS_T,
|
||||
NULL, HFILL
|
||||
}
|
||||
},
|
||||
|
@ -887,7 +887,7 @@ proto_register_mpls_pm(void)
|
|||
{
|
||||
"Reserved",
|
||||
"mpls_pm.flags.res",
|
||||
FT_BOOLEAN, 4, TFS(&tfs_set_notset), MPLS_PM_FLAGS_RES,
|
||||
FT_BOOLEAN, 8, TFS(&tfs_set_notset), MPLS_PM_FLAGS_RES,
|
||||
NULL, HFILL
|
||||
}
|
||||
},
|
||||
|
|
|
@ -6930,7 +6930,7 @@ proto_register_mswsp(void)
|
|||
&hf_mswsp_ccategspec_type,
|
||||
{
|
||||
"type", "mswsp.ccategspec.type",
|
||||
FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL
|
||||
FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
|
@ -270,7 +270,7 @@ static const value_string japan_test_message_type_acro_values[] = {
|
|||
#define ANSI_COO_SLC_MASK 0x000f
|
||||
#define ANSI_COO_FSN_MASK 0x07f0
|
||||
#define ITU_COO_LENGTH 1
|
||||
#define ITU_COO_FSN_MASK 0x007f
|
||||
#define ITU_COO_FSN_MASK 0x7f
|
||||
#define ANSI_XCO_LENGTH 4
|
||||
#define ANSI_XCO_SLC_MASK 0x0000000f
|
||||
#define ANSI_XCO_FSN_MASK 0x0ffffff0
|
||||
|
@ -319,7 +319,7 @@ static const value_string japan_test_message_type_acro_values[] = {
|
|||
#define TEST_LENGTH_MASK 0xf0
|
||||
#define TEST_LENGTH_SHIFT 4
|
||||
#define TEST_PATTERN_OFFSET TEST_LENGTH
|
||||
#define ANSI_TEST_SLC_MASK 0x000f
|
||||
#define ANSI_TEST_SLC_MASK 0x0f
|
||||
|
||||
#define JAPAN_SPARE_LENGTH 1
|
||||
#define JAPAN_H0H1_OFFSET JAPAN_SPARE_LENGTH
|
||||
|
|
|
@ -156,38 +156,38 @@ static gint ett_nisplus_tag = -1;
|
|||
static gint ett_nisplus_log_entry = -1;
|
||||
|
||||
|
||||
#define NIS_MASK_TABLE_BINARY 0x0001
|
||||
#define NIS_MASK_TABLE_CRYPT 0x0002
|
||||
#define NIS_MASK_TABLE_XDR 0x0004
|
||||
#define NIS_MASK_TABLE_SRCH 0x0008
|
||||
#define NIS_MASK_TABLE_CASE 0x0010
|
||||
#define NIS_MASK_TABLE_MODIFIED 0x0020
|
||||
#define NIS_MASK_TABLE_ASN 0x0040
|
||||
#define NIS_MASK_TABLE_BINARY 0x00000001
|
||||
#define NIS_MASK_TABLE_CRYPT 0x00000002
|
||||
#define NIS_MASK_TABLE_XDR 0x00000004
|
||||
#define NIS_MASK_TABLE_SRCH 0x00000008
|
||||
#define NIS_MASK_TABLE_CASE 0x00000010
|
||||
#define NIS_MASK_TABLE_MODIFIED 0x00000020
|
||||
#define NIS_MASK_TABLE_ASN 0x00000040
|
||||
|
||||
|
||||
#define NIS_MASK_ENTRY_BINARY 0x0001
|
||||
#define NIS_MASK_ENTRY_CRYPT 0x0002
|
||||
#define NIS_MASK_ENTRY_XDR 0x0004
|
||||
#define NIS_MASK_ENTRY_MODIFIED 0x0008
|
||||
#define NIS_MASK_ENTRY_ASN 0x0040
|
||||
#define NIS_MASK_ENTRY_BINARY 0x00000001
|
||||
#define NIS_MASK_ENTRY_CRYPT 0x00000002
|
||||
#define NIS_MASK_ENTRY_XDR 0x00000004
|
||||
#define NIS_MASK_ENTRY_MODIFIED 0x00000008
|
||||
#define NIS_MASK_ENTRY_ASN 0x00000040
|
||||
|
||||
|
||||
#define NIS_MASK_WORLD_READ 0x0001
|
||||
#define NIS_MASK_WORLD_MODIFY 0x0002
|
||||
#define NIS_MASK_WORLD_CREATE 0x0004
|
||||
#define NIS_MASK_WORLD_DESTROY 0x0008
|
||||
#define NIS_MASK_GROUP_READ 0x0010
|
||||
#define NIS_MASK_GROUP_MODIFY 0x0020
|
||||
#define NIS_MASK_GROUP_CREATE 0x0040
|
||||
#define NIS_MASK_GROUP_DESTROY 0x0080
|
||||
#define NIS_MASK_OWNER_READ 0x0100
|
||||
#define NIS_MASK_OWNER_MODIFY 0x0200
|
||||
#define NIS_MASK_OWNER_CREATE 0x0400
|
||||
#define NIS_MASK_OWNER_DESTROY 0x0800
|
||||
#define NIS_MASK_NOBODY_READ 0x1000
|
||||
#define NIS_MASK_NOBODY_MODIFY 0x2000
|
||||
#define NIS_MASK_NOBODY_CREATE 0x4000
|
||||
#define NIS_MASK_NOBODY_DESTROY 0x8000
|
||||
#define NIS_MASK_WORLD_READ 0x00000001
|
||||
#define NIS_MASK_WORLD_MODIFY 0x00000002
|
||||
#define NIS_MASK_WORLD_CREATE 0x00000004
|
||||
#define NIS_MASK_WORLD_DESTROY 0x00000008
|
||||
#define NIS_MASK_GROUP_READ 0x00000010
|
||||
#define NIS_MASK_GROUP_MODIFY 0x00000020
|
||||
#define NIS_MASK_GROUP_CREATE 0x00000040
|
||||
#define NIS_MASK_GROUP_DESTROY 0x00000080
|
||||
#define NIS_MASK_OWNER_READ 0x00000100
|
||||
#define NIS_MASK_OWNER_MODIFY 0x00000200
|
||||
#define NIS_MASK_OWNER_CREATE 0x00000400
|
||||
#define NIS_MASK_OWNER_DESTROY 0x00000800
|
||||
#define NIS_MASK_NOBODY_READ 0x00001000
|
||||
#define NIS_MASK_NOBODY_MODIFY 0x00002000
|
||||
#define NIS_MASK_NOBODY_CREATE 0x00004000
|
||||
#define NIS_MASK_NOBODY_DESTROY 0x00008000
|
||||
|
||||
|
||||
static const value_string key_type[] = {
|
||||
|
|
|
@ -2891,11 +2891,11 @@ static const value_string MSV1_0_CRED_VERSION[] = {
|
|||
{ 0, NULL }
|
||||
};
|
||||
|
||||
#define MSV1_0_CRED_LM_PRESENT 0x0001
|
||||
#define MSV1_0_CRED_NT_PRESENT 0x0002
|
||||
#define MSV1_0_CRED_REMOVED 0x0004
|
||||
#define MSV1_0_CRED_CREDKEY_PRESENT 0x0008
|
||||
#define MSV1_0_CRED_SHA_PRESENT 0x0010
|
||||
#define MSV1_0_CRED_LM_PRESENT 0x00000001
|
||||
#define MSV1_0_CRED_NT_PRESENT 0x00000002
|
||||
#define MSV1_0_CRED_REMOVED 0x00000004
|
||||
#define MSV1_0_CRED_CREDKEY_PRESENT 0x00000008
|
||||
#define MSV1_0_CRED_SHA_PRESENT 0x00000010
|
||||
|
||||
static int* const MSV1_0_CRED_FLAGS_bits[] = {
|
||||
&hf_ntlmssp_NTLM_REMOTE_SUPPLEMENTAL_CREDENTIAL_FLAG_LM_PRESENT,
|
||||
|
|
|
@ -526,13 +526,13 @@ static value_string_ext priv_rc_types_ext = VALUE_STRING_EXT_INIT(priv_rc_types)
|
|||
#define PRIV_SYS_FLAG_AUTH 0x40
|
||||
#define PRIV_SYS_FLAG_CAL 0x80
|
||||
|
||||
#define PRIV_RESET_FLAG_ALLPEERS 0x01
|
||||
#define PRIV_RESET_FLAG_IO 0x02
|
||||
#define PRIV_RESET_FLAG_SYS 0x04
|
||||
#define PRIV_RESET_FLAG_MEM 0x08
|
||||
#define PRIV_RESET_FLAG_TIMER 0x10
|
||||
#define PRIV_RESET_FLAG_AUTH 0x20
|
||||
#define PRIV_RESET_FLAG_CTL 0x40
|
||||
#define PRIV_RESET_FLAG_ALLPEERS 0x00000001
|
||||
#define PRIV_RESET_FLAG_IO 0x00000002
|
||||
#define PRIV_RESET_FLAG_SYS 0x00000004
|
||||
#define PRIV_RESET_FLAG_MEM 0x00000008
|
||||
#define PRIV_RESET_FLAG_TIMER 0x00000010
|
||||
#define PRIV_RESET_FLAG_AUTH 0x00000020
|
||||
#define PRIV_RESET_FLAG_CTL 0x00000040
|
||||
|
||||
static const range_string stratum_rvals[] = {
|
||||
{ 0, 0, "unspecified or invalid" },
|
||||
|
|
|
@ -28,11 +28,11 @@
|
|||
#define OCP1_PDU_TYPE_OCA_KEEPALIVE 0x04
|
||||
|
||||
/* DeviceState flags */
|
||||
#define OCP1_DEVICESTATE_OPER 0x01
|
||||
#define OCP1_DEVICESTATE_DISABLED 0x02
|
||||
#define OCP1_DEVICESTATE_ERROR 0x04
|
||||
#define OCP1_DEVICESTATE_INIT 0x08
|
||||
#define OCP1_DEVICESTATE_UPDATING 0x10
|
||||
#define OCP1_DEVICESTATE_OPER 0x0001
|
||||
#define OCP1_DEVICESTATE_DISABLED 0x0002
|
||||
#define OCP1_DEVICESTATE_ERROR 0x0004
|
||||
#define OCP1_DEVICESTATE_INIT 0x0008
|
||||
#define OCP1_DEVICESTATE_UPDATING 0x0010
|
||||
|
||||
/* no valid PDU type, only used as array index for type errors
|
||||
* must be highest PDU type + 1 */
|
||||
|
|
|
@ -255,25 +255,25 @@ static expert_field ei_pcp_label_error_endianness = EI_INIT;
|
|||
#define PCP_SECURE_ACK_SUCCESSFUL 0
|
||||
|
||||
static const value_string pcp_feature_flags[] = {
|
||||
#define PCP_PDU_FLAG_SECURE 0x1
|
||||
#define PCP_PDU_FLAG_SECURE 0x0001
|
||||
{ PCP_PDU_FLAG_SECURE, "SECURE" },
|
||||
#define PCP_PDU_FLAG_COMPRESS 0x2
|
||||
#define PCP_PDU_FLAG_COMPRESS 0x0002
|
||||
{ PCP_PDU_FLAG_COMPRESS, "COMPRESS" },
|
||||
#define PCP_PDU_FLAG_AUTH 0x4
|
||||
#define PCP_PDU_FLAG_AUTH 0x0004
|
||||
{ PCP_PDU_FLAG_AUTH, "AUTH"},
|
||||
#define PCP_PDU_FLAG_CREDS_REQD 0x8
|
||||
#define PCP_PDU_FLAG_CREDS_REQD 0x0008
|
||||
{ PCP_PDU_FLAG_CREDS_REQD, "CREDS_REQD" },
|
||||
#define PCP_PDU_FLAG_SECURE_ACK 0x10
|
||||
#define PCP_PDU_FLAG_SECURE_ACK 0x0010
|
||||
{ PCP_PDU_FLAG_SECURE_ACK, "SECURE_ACK" },
|
||||
#define PCP_PDU_FLAG_NO_NSS_INIT 0x20
|
||||
#define PCP_PDU_FLAG_NO_NSS_INIT 0x0020
|
||||
{ PCP_PDU_FLAG_NO_NSS_INIT, "NO_NSS_INIT" },
|
||||
#define PCP_PDU_FLAG_CONTAINER 0x40
|
||||
#define PCP_PDU_FLAG_CONTAINER 0x0040
|
||||
{ PCP_PDU_FLAG_CONTAINER, "CONTAINER" },
|
||||
#define PCP_PDU_FLAG_CERT_REQD 0x80
|
||||
#define PCP_PDU_FLAG_CERT_REQD 0x0080
|
||||
{ PCP_PDU_FLAG_CERT_REQD, "CERT_REQD" },
|
||||
#define PCP_PDU_FLAG_BAD_LABEL 0x100
|
||||
#define PCP_PDU_FLAG_BAD_LABEL 0x0100
|
||||
{ PCP_PDU_FLAG_BAD_LABEL, "BAD_LABEL" },
|
||||
#define PCP_PDU_FLAG_LABELS 0x200
|
||||
#define PCP_PDU_FLAG_LABELS 0x0200
|
||||
{ PCP_PDU_FLAG_LABELS, "LABELS" },
|
||||
{ 0, NULL }
|
||||
};
|
||||
|
|
|
@ -91,13 +91,13 @@
|
|||
#define DOT11_FLAG_FCS_INVALID 0x0004
|
||||
#define DOT11_FLAG_PHY_ERROR 0x0008
|
||||
|
||||
#define DOT11N_FLAG_GREENFIELD 0x0001
|
||||
#define DOT11N_FLAG_HT40 0x0002
|
||||
#define DOT11N_FLAG_SHORT_GI 0x0004
|
||||
#define DOT11N_FLAG_DUPLICATE_RX 0x0008
|
||||
#define DOT11N_FLAG_IS_AGGREGATE 0x0010
|
||||
#define DOT11N_FLAG_MORE_AGGREGATES 0x0020
|
||||
#define DOT11N_FLAG_AGG_CRC_ERROR 0x0040
|
||||
#define DOT11N_FLAG_GREENFIELD 0x00000001
|
||||
#define DOT11N_FLAG_HT40 0x00000002
|
||||
#define DOT11N_FLAG_SHORT_GI 0x00000004
|
||||
#define DOT11N_FLAG_DUPLICATE_RX 0x00000008
|
||||
#define DOT11N_FLAG_IS_AGGREGATE 0x00000010
|
||||
#define DOT11N_FLAG_MORE_AGGREGATES 0x00000020
|
||||
#define DOT11N_FLAG_AGG_CRC_ERROR 0x00000040
|
||||
|
||||
#define DOT11N_IS_AGGREGATE(flags) (flags & DOT11N_FLAG_IS_AGGREGATE)
|
||||
#define DOT11N_MORE_AGGREGATES(flags) ( \
|
||||
|
|
|
@ -15650,7 +15650,7 @@ void proto_register_rtps(void) {
|
|||
|
||||
{ &hf_rtps_encapsulation_kind, {
|
||||
"kind", "rtps.encapsulation_kind",
|
||||
FT_UINT16, BASE_HEX, VALS(participant_message_data_kind), 0, NULL, HFILL }
|
||||
FT_UINT32, BASE_HEX, VALS(participant_message_data_kind), 0, NULL, HFILL }
|
||||
},
|
||||
|
||||
{ &hf_rtps_octets_to_inline_qos, {
|
||||
|
|
|
@ -78,17 +78,17 @@ static int ett_smb_logon = -1;
|
|||
static int ett_smb_account_flags = -1;
|
||||
static int ett_smb_db_info = -1;
|
||||
|
||||
#define ACC_FLAG_AUTO_LOCKED 0x0400
|
||||
#define ACC_FLAG_EXPIRE 0x0200
|
||||
#define ACC_FLAG_SERVER_TRUST 0x0100
|
||||
#define ACC_FLAG_WORKSTATION_TRUST 0x0080
|
||||
#define ACC_FLAG_INTERDOMAIN_TRUST 0x0040
|
||||
#define ACC_FLAG_MNS_USER 0x0020
|
||||
#define ACC_FLAG_NORMAL_USER 0x0010
|
||||
#define ACC_FLAG_TEMP_DUP_USER 0x0008
|
||||
#define ACC_FLAG_PASSWORD_REQUIRED 0x0004
|
||||
#define ACC_FLAG_HOMEDIR_REQUIRED 0x0002
|
||||
#define ACC_FLAG_ENABLED 0x0001
|
||||
#define ACC_FLAG_AUTO_LOCKED 0x00000400
|
||||
#define ACC_FLAG_EXPIRE 0x00000200
|
||||
#define ACC_FLAG_SERVER_TRUST 0x00000100
|
||||
#define ACC_FLAG_WORKSTATION_TRUST 0x00000080
|
||||
#define ACC_FLAG_INTERDOMAIN_TRUST 0x00000040
|
||||
#define ACC_FLAG_MNS_USER 0x00000020
|
||||
#define ACC_FLAG_NORMAL_USER 0x00000010
|
||||
#define ACC_FLAG_TEMP_DUP_USER 0x00000008
|
||||
#define ACC_FLAG_PASSWORD_REQUIRED 0x00000004
|
||||
#define ACC_FLAG_HOMEDIR_REQUIRED 0x00000002
|
||||
#define ACC_FLAG_ENABLED 0x00000001
|
||||
|
||||
static const true_false_string tfs_flags_autolock = {
|
||||
"User account auto-locked",
|
||||
|
|
|
@ -2187,13 +2187,13 @@ proto_register_tibia(void)
|
|||
},
|
||||
{ &hf_tibia_client_clock,
|
||||
{ "CPU clock", "tibia.client.cpu.clock",
|
||||
FT_UINT8, BASE_DEC,
|
||||
FT_UINT16, BASE_DEC,
|
||||
NULL, 0x0,
|
||||
NULL, HFILL }
|
||||
},
|
||||
{ &hf_tibia_client_clock2,
|
||||
{ "CPU clock2", "tibia.client.cpu.clock2",
|
||||
FT_UINT8, BASE_DEC,
|
||||
FT_UINT16, BASE_DEC,
|
||||
NULL, 0x0,
|
||||
NULL, HFILL }
|
||||
},
|
||||
|
|
|
@ -513,7 +513,7 @@ proto_register_trmac(void)
|
|||
NULL, HFILL }},
|
||||
|
||||
{ &hf_trmac_length,
|
||||
{ "Total Length", "trmac.length", FT_UINT8, BASE_DEC|BASE_UNIT_STRING, &units_byte_bytes, 0x0,
|
||||
{ "Total Length", "trmac.length", FT_UINT16, BASE_DEC|BASE_UNIT_STRING, &units_byte_bytes, 0x0,
|
||||
NULL, HFILL }},
|
||||
|
||||
{ &hf_trmac_srcclass,
|
||||
|
|
|
@ -283,7 +283,9 @@ class ProtoTreeAddItemCheck(APICheck):
|
|||
'big_endian ? ENC_BIG_ENDIAN : ENC_LITTLE_ENDIAN',
|
||||
'(skip == 1) ? ENC_BIG_ENDIAN : ENC_LITTLE_ENDIAN',
|
||||
'pdu_info->sbc', 'pdu_info->mbc',
|
||||
'seq_info->txt_enc | ENC_NA' }:
|
||||
'seq_info->txt_enc | ENC_NA',
|
||||
'BASE_SHOW_UTF_8_PRINTABLE'
|
||||
}:
|
||||
global warnings_found
|
||||
|
||||
print('Warning:', self.file + ':' + str(line_number),
|
||||
|
|
Loading…
Reference in New Issue