summaryrefslogtreecommitdiff
path: root/plugins/wimax/wimax_utils.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2014-10-05 21:34:19 -0400
committerBill Meier <wmeier@newsguy.com>2014-10-06 01:42:32 +0000
commit0111e461938d47efd1eb8dc17f135b93b253ab52 (patch)
tree9409d7bf28086b3fd230993210264df1e884ec5b /plugins/wimax/wimax_utils.c
parent9e776a1ed114bb3982c061b41389143cb67b94de (diff)
downloadwireshark-0111e461938d47efd1eb8dc17f135b93b253ab52.tar.gz
plugins: Add editor modelines; Adjust whitespace as needed.
Change-Id: I36124f6021d46a228721bdc976f6b9fef1c8c088 Reviewed-on: https://code.wireshark.org/review/4488 Reviewed-by: Bill Meier <wmeier@newsguy.com>
Diffstat (limited to 'plugins/wimax/wimax_utils.c')
-rw-r--r--plugins/wimax/wimax_utils.c73
1 files changed, 43 insertions, 30 deletions
diff --git a/plugins/wimax/wimax_utils.c b/plugins/wimax/wimax_utils.c
index 51f0ab15d5..20e0a36870 100644
--- a/plugins/wimax/wimax_utils.c
+++ b/plugins/wimax/wimax_utils.c
@@ -187,16 +187,16 @@ static const value_string vals_harq[] =
static const value_string vals_cs_specification[] =
{
- {0, "Reserved"},
- {1, "Packet, IPv4"},
- {2, "Packet, IPv6"},
- {3, "Packet, IEEE 802.3/Ethernet"},
- {4, "Packet, IEEE 802.1Q VLAN"},
- {5, "Packet, IPv4 over IEEE 802.3/Ethernet"},
- {6, "Packet, IPv6 over IEEE 802.3/Ethernet"},
- {7, "Packet, IPv4 over IEEE 802.1Q VLAN"},
- {8, "Packet, IPv6 over IEEE 802.1Q VLAN"},
- {9, "ATM"},
+ { 0, "Reserved"},
+ { 1, "Packet, IPv4"},
+ { 2, "Packet, IPv6"},
+ { 3, "Packet, IEEE 802.3/Ethernet"},
+ { 4, "Packet, IEEE 802.1Q VLAN"},
+ { 5, "Packet, IPv4 over IEEE 802.3/Ethernet"},
+ { 6, "Packet, IPv6 over IEEE 802.3/Ethernet"},
+ { 7, "Packet, IPv4 over IEEE 802.1Q VLAN"},
+ { 8, "Packet, IPv6 over IEEE 802.1Q VLAN"},
+ { 9, "ATM"},
{10, "Packet, IEEE 802.3/Ethernet with ROCH header compression"},
{11, "Packet, IEEE 802.3/Ethernet with ECRTP header compression"},
{12, "Packet, IP2 with ROCH header compression"},
@@ -262,16 +262,16 @@ static const value_string vals_atm_switching_encodings[] =
static const value_string vals_cc[] =
{
- {0, "OK/success"},
- {1, "Reject-other"},
- {2, "Reject-unrecognized-configuration-setting"},
- {3, "Reject-temporary / reject-resource"},
- {4, "Reject-permanent / reject-admin"},
- {5, "Reject-not-owner"},
- {6, "Reject-service-flow-not-found"},
- {7, "Reject-service-flow-exists"},
- {8, "Reject-required-parameter-not-present"},
- {9, "Reject-header-suppression"},
+ { 0, "OK/success"},
+ { 1, "Reject-other"},
+ { 2, "Reject-unrecognized-configuration-setting"},
+ { 3, "Reject-temporary / reject-resource"},
+ { 4, "Reject-permanent / reject-admin"},
+ { 5, "Reject-not-owner"},
+ { 6, "Reject-service-flow-not-found"},
+ { 7, "Reject-service-flow-exists"},
+ { 8, "Reject-required-parameter-not-present"},
+ { 9, "Reject-header-suppression"},
{10, "Reject-unknown-transaction-id"},
{11, "Reject-authentication-failure"},
{12, "Reject-add-aborted"},
@@ -292,8 +292,8 @@ static const value_string vals_classification_action_rule[] =
static const true_false_string tfs_supported =
{
- "supported",
- "not supported"
+ "supported",
+ "not supported"
};
#if 0
@@ -392,13 +392,13 @@ static const value_string vals_tek_encryption_ids[] =
static const value_string vals_dcd_mac_version[] =
{
- {1, "Conformance with IEEE Std 802.16-2001"},
- {2, "Conformance with IEEE Std 802.16c-2002 and its predecessors"},
- {3, "Conformance with IEEE Std 802.16a-2003 and its predecessors"},
- {4, "Conformance with IEEE Std 802.16-2004"},
- {5, "Conformance with IEEE Std 802.16-2004 and IEEE Std 802.16e-2005"},
- {6, "reserved"},
- {0, NULL}
+ {1, "Conformance with IEEE Std 802.16-2001"},
+ {2, "Conformance with IEEE Std 802.16c-2002 and its predecessors"},
+ {3, "Conformance with IEEE Std 802.16a-2003 and its predecessors"},
+ {4, "Conformance with IEEE Std 802.16-2004"},
+ {5, "Conformance with IEEE Std 802.16-2004 and IEEE Std 802.16e-2005"},
+ {6, "reserved"},
+ {0, NULL}
};
/* fix fields */
@@ -2424,7 +2424,7 @@ void wimax_service_flow_encodings_decoder(tvbuff_t *tvb, packet_info *pinfo, pro
break;
} /* end of switch */
offset += tlv_len;
- } /* end of while loop */
+ } /* end of while loop */
}
/**************************************************************/
@@ -3381,3 +3381,16 @@ guint wimax_common_tlv_encoding_decoder(tvbuff_t *tvb, packet_info *pinfo, proto
} /* end of while loop */
return offset;
}
+
+/*
+ * Editor modelines - http://www.wireshark.org/tools/modelines.html
+ *
+ * Local variables:
+ * c-basic-offset: 8
+ * tab-width: 8
+ * indent-tabs-mode: t
+ * End:
+ *
+ * vi: set shiftwidth=8 tabstop=8 noexpandtab:
+ * :indentSize=8:tabSize=8:noTabs=false:
+ */