diff options
Diffstat (limited to 'plugins/wimax/wimax_utils.c')
-rw-r--r-- | plugins/wimax/wimax_utils.c | 73 |
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: + */ |