Fix lots of spellings

This commit is contained in:
Martin Mathieson 2024-02-25 22:46:47 +00:00
parent eb706e9b84
commit e0300eaed8
207 changed files with 324 additions and 319 deletions

View File

@ -707,7 +707,7 @@ These preferences allow you to define the layout of the GUI once a capture file
image::images/ws-pref-appearance-layout.png[{screenshot-attrs}]
Make sure that you have at least one pane configured to contain the Packet list.
Three panes can be active at the same time and they can be layed out as shown in the top layer.
Three panes can be active at the same time and they can be laid out as shown in the top layer.
The exact sizes of these panes can be changed as needed once a capture file is opened.
Selecting _Show packet list separator_ causes the packet list entries to be slightly set apart, which may improve readability at the cost of the amount of packets shown in the packet list.

View File

@ -343,7 +343,7 @@ extern void add_ether_byip(const guint ip, const guint8 *eth);
/** Translates a string representing a hostname or dotted-decimal IPv4 address
* into a numeric IPv4 address value in network byte order. If compiled with
* c-ares, the request will wait a maximum of 250ms for the request to finish.
* Otherwise the wait time will be system-dependent, ususally much longer.
* Otherwise the wait time will be system-dependent, usually much longer.
* Immediately returns FALSE for hostnames if network name resolution is
* disabled.
*

View File

@ -256,7 +256,7 @@ Dot11DecryptFtDerivePtk(
* @param action [IN] Tdls Action code (response or confirm)
*
* @return
* DOT11DECRYPT_RET_SUCCESS if Key has been sucessfully derived (and MIC verified)
* DOT11DECRYPT_RET_SUCCESS if Key has been successfully derived (and MIC verified)
* DOT11DECRYPT_RET_UNSUCCESS otherwise
*/
static int
@ -503,7 +503,7 @@ Dot11DecryptDecryptKeyData(PDOT11DECRYPT_CONTEXT ctx,
memcpy(decrypted_data, data, key_bytes_len);
g_free(data);
} else {
/* Ideally AKM from EAPOL message 2 of 4 should be used to determine Key-wrap algoritm to use */
/* Ideally AKM from EAPOL message 2 of 4 should be used to determine Key-wrap algorithm to use */
/* Though fortunately IEEE802.11-2016 Table 12-8 state that all AKMs use "NIST AES Key Wrap" */
/* algorithm so no AKM lookup is needed. */
@ -2043,7 +2043,7 @@ Dot11DecryptRsnaMicCheck(
algo = GCRY_MD_SHA1;
hmac = true;
} else {
/* Mic check algoritm determined by AKM type */
/* Mic check algorithm determined by AKM type */
if (Dot11DecryptGetIntegrityAlgoFromAkm(akm, &algo, &hmac)) {
ws_warning("Unknown Mic check algo");
return DOT11DECRYPT_RET_UNSUCCESS;

View File

@ -56,7 +56,7 @@ be passed to the dissector table to change the dissection output.
typedef struct decode_as_value_s {
build_label_func label_func; /**< function pointer to the function used to create the label*/
guint num_values; /**< Number of values */
build_valid_func* build_values; /**< Function used to build the value to go into the table. Retreive from current frame */
build_valid_func* build_values; /**< Function used to build the value to go into the table. Retrieve from current frame */
} decode_as_value_t;
/**

View File

@ -455,7 +455,7 @@ HexExponent ([pP][+-]?[[:digit:]]+)
update_location(yyextra, yytext);
/* Check if we have a protocol or protocol field, otherwise assume a literal. */
/* It is only reasonable to assume a literal here, instead of a
* (possibly non-existant) protocol field, because protocol field filter names
* (possibly non-existent) protocol field, because protocol field filter names
* should not start with a digit (the lexical syntax for numbers). */
header_field_info *hfinfo = dfilter_resolve_unparsed(yytext, yyextra->deprecated);
if (hfinfo != NULL) {
@ -484,7 +484,7 @@ HexExponent ([pP][+-]?[[:digit:]]+)
update_location(yyextra, yytext);
/* Check if we have a protocol or protocol field, otherwise assume a literal. */
/* It is only reasonable to assume a literal here, instead of a
* (possibly non-existant) protocol field, because protocol field filter names
* (possibly non-existent) protocol field, because protocol field filter names
* should not start with a digit (the lexical syntax for numbers). */
header_field_info *hfinfo = dfilter_resolve_unparsed(yytext, yyextra->deprecated);
if (hfinfo != NULL) {

View File

@ -149,7 +149,7 @@ save_invoke_data(packet_info *pinfo, proto_tree *tree _U_, tvbuff_t *tvb _U_){
if ((!pinfo->fd->visited)&&(ansi_tcap_private.TransactionID_str)){
/* Only do this once XXX I hope it's the right thing to do */
/* The hash string needs to contain src and dest to distiguish differnt flows */
/* The hash string needs to contain src and dest to distiguish different flows */
switch(ansi_tcap_response_matching_type){
case ANSI_TCAP_TID_ONLY:
buf = wmem_strdup(pinfo->pool, ansi_tcap_private.TransactionID_str);
@ -191,7 +191,7 @@ find_saved_invokedata(packet_info *pinfo, proto_tree *tree _U_, tvbuff_t *tvb _U
src = address_to_str(pinfo->pool, &(pinfo->src));
dst = address_to_str(pinfo->pool, &(pinfo->dst));
/* The hash string needs to contain src and dest to distiguish differnt flows */
/* The hash string needs to contain src and dest to distiguish different flows */
buf = (char *)wmem_alloc(pinfo->pool, MAX_TID_STR_LEN);
buf[0] = '\0';
/* Reverse order to invoke */

View File

@ -62,7 +62,7 @@ PDV-list/presentation-data-values/arbitrary pdv-list_presentation-data-values_ar
NULL);
if (tvb_usr) {
/* call appropiate dissector for bitstring data */
/* call appropriate dissector for bitstring data */
switch(ulcs_context_value){
case 1: /* ACSE PDU*/
atn_ulcs_tree = proto_tree_add_subtree(

View File

@ -38,10 +38,10 @@
why not using existing ses, pres and acse dissectors ?
ATN upper layers are derived from OSI standards for session,
presentation and application but the encoding differs
(it's PER instead of BER encoding to save bandwith).
(it's PER instead of BER encoding to save bandwidth).
Session and presentation use the "null" encoding option,
meaning that they are only present at connection establishment
and ommitted otherwise.
and omitted otherwise.
Instead of adapting existing dissectors it seemed simpler and cleaner
to implement everything the new atn-ulcs dissector.

View File

@ -906,7 +906,7 @@ if (!gsm_map_priv || !gsm_map_priv->signal_info_tvb)
case 1:
/* gsm-0408 */
/* As per comment abowe Individual IE:(s) will be found here in TLV format
* Unfortunatly a branch for each IE must be made to call the apropriate
* Unfortunately a branch for each IE must be made to call the appropriate
* function
*/
/* Get tag */
@ -988,7 +988,7 @@ MAP interfaces
case 1:
/* gsm-0408 */
/* As per comment abowe Individual IE:(s) will be found here in TLV format
* Unfortunatly a branch for each IE must be made to call the apropriate
* Unfortunately a branch for each IE must be made to call the appropriate
* function
*/
/* Get tag */

View File

@ -1137,7 +1137,7 @@ typedef int (* dissect_function_t)( bool,
/*
* Dissect Multiple Choice Message
* This function is used to decode a message, when several encoding may be used.
* For exemple, in the last MAP version, the Cancel Location is defined like this:
* For example, in the last MAP version, the Cancel Location is defined like this:
* CancelLocationArg ::= [3] IMPLICIT SEQUENCE
* But in the previous MAP version, it was a CHOICE between a SEQUENCE and an IMSI
* As ASN1 encoders (or software) still uses the old encoding, this function allows

View File

@ -1633,7 +1633,7 @@ nbap_private_data->binding_id_port = 0;
expert_add_info(actx->pinfo, NULL, &ei_nbap_no_set_comm_context_id);
}
/* Check if we allready have this context */
/* Check if we already have this context */
e_dch_macdflow_id = nbap_private_data->e_dch_macdflow_id;
if( (old_info = (nbap_edch_port_info_t *)wmem_tree_lookup32(edch_flow_port_map,nbap_private_data->com_context_id)) == NULL ){
nbap_edch_port_info_t * nbap_edch_port_info;
@ -1723,7 +1723,7 @@ nbap_edch_channel_info = nbap_private_data->nbap_edch_channel_info;
* MAC-i/is => Type 2
* The specifications isn't very clear about the indicator for what entity
* should be used. For now, it seems like the presence of the "Maximum MAC-d PDU Size Extended IE"
* indicates MAC-i/is and it's absense means MAC-e/es
* indicates MAC-i/is and it's absence means MAC-e/es
*/
if(nbap_private_data->max_mac_d_pdu_size_ext_ie_present){
fp_edch_channel_info->edch_type = 1; /* 1 means Type 2 */
@ -1906,7 +1906,7 @@ nbap_private_data->num_items = 1;
* MAC-i/is => Type 2
* The specifications isn't very clear about the indicator for what entity
* should be used. For now, it seems like the presence of the "Maximum MAC-d PDU Size Extended IE"
* indicates MAC-i/is and it's absense means MAC-e/es
* indicates MAC-i/is and it's absence means MAC-e/es
*/
if(nbap_private_data->max_mac_d_pdu_size_ext_ie_present){
fp_edch_channel_info->edch_type = 1; /* 1 means Type 2 */
@ -2503,7 +2503,7 @@ nbap_hsdsch_channel_info = nbap_private_data->nbap_hsdsch_channel_info;
return offset;
}
/*Find the conversations assoicated with the HS-DSCH flows in this packet and set proper H-RNTI*/
/*Find the conversations associated with the HS-DSCH flows in this packet and set proper H-RNTI*/
clear_address(&null_addr);
for (i = 0; i < maxNrOfMACdFlows; i++) {
if (nbap_hsdsch_channel_info[i].crnc_port != 0){

View File

@ -238,7 +238,7 @@ Extension ::= SEQUENCE {
-- invalidityDate |
-- certificateIssuer }
--
-- information object classes used in the defintion
-- information object classes used in the definition
-- of certificates and CRLs
--
-- Parameterized Type SIGNED
@ -499,7 +499,7 @@ RelativeDistinguishedName ::= SET OF AttributeTypeAndValue
--id-at-dnQualifier OBJECT IDENTIFIER ::= {id-at 46}
--
-- Directory string type, used extensively in Name types
--Make it a PrintableString will amke it look prettier
--Make it a PrintableString will make it look prettier
DirectoryString ::= PrintableString
--DirectoryString { INTEGER:maxSize } ::= CHOICE {
-- teletexString TeletexString (SIZE (1..maxSize)),

View File

@ -118,7 +118,7 @@ ProtocolIE-ContainerPairList
switch (pdata->ProcedureCode) {
case RNSAP_ID_DOWNLINKSIGNALLINGTRANSFER:
/* TODO: seperate into Iur and Iur-g cases: */
/* TODO: separate into Iur and Iur-g cases: */
/* For the Iur-g interface, L3 message is a GERAN-RRC message for which a dissector does not currently exist */
/* For the Iur interface, L3 message is a UMTS RRC DL-CCCH message */
parameter_handle = rrc_dl_ccch_handle;

View File

@ -53,7 +53,7 @@
* o Block Type: The block type of a Darwin Process Event Block is 2147483649.
*
* Note: This specific block type number falls into the range defined
* for "local use" but has in fact been available publically since Darwin
* for "local use" but has in fact been available publicly since Darwin
* 13.0 for pcapng files generated by Apple's tcpdump when using the PKTAP
* enhanced interface.
*

View File

@ -14,7 +14,7 @@
/*
Todo:
Add reading of DDL files so we can futher explode DMP packets
Add reading of DDL files so we can further explode DMP packets
For some of the Set/Get properties where we have a range of data
it would be better to show the block of data rather and
address-data pair on each line...

View File

@ -1108,7 +1108,7 @@ dissect_adwin(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U
dissect_UDPR1(tvb, pinfo, adwin_tree, adwin_debug_tree, &info_string);
break;
case UDPH2_LENGTH: /* to the best of my knowledge, this struct
* has never been used publically! */
* has never been used publicly! */
/* dissect_UDPH2(tvb, pinfo, adwin_tree, adwin_debug_tree); */
info_string = wmem_strdup(pinfo->pool, "UDPH2 - UNUSED");
break;

View File

@ -2002,7 +2002,7 @@ trans_param_address(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint l
email_addr = (((oct & 0x38) >> 3) == 0x02) ? TRUE : FALSE;
/*
* do not change to ...add_item() with VALS in hf defintion because this parameter is
* do not change to ...add_item() with VALS in hf definition because this parameter is
* used below in the 'else' with a different string array
*/
proto_tree_add_uint_format_value(tree, hf_ansi_637_trans_addr_param_ton, tvb, offset, 1,

View File

@ -790,7 +790,7 @@ static const value_string cell_disc_vals[] = {
};
/*
* Not strictly A-interface info, but put here to avoid file polution
* Not strictly A-interface info, but put here to avoid file pollution
*
* Title 3GPP2 Other
*

View File

@ -42,7 +42,7 @@ WS_DLL_PUBLIC const ext_value_string_t ansi_a_ios401_bsmap_strings[];
WS_DLL_PUBLIC const ext_value_string_t ansi_a_ios401_dtap_strings[];
/*
* Not strictly A-interface info, but put here to avoid file polution
* Not strictly A-interface info, but put here to avoid file pollution
*
* Title 3GPP2 Other
*

View File

@ -225,7 +225,7 @@ save_invoke_data(packet_info *pinfo, proto_tree *tree _U_, tvbuff_t *tvb _U_){
if ((!pinfo->fd->visited)&&(ansi_tcap_private.TransactionID_str)){
/* Only do this once XXX I hope it's the right thing to do */
/* The hash string needs to contain src and dest to distiguish differnt flows */
/* The hash string needs to contain src and dest to distiguish different flows */
switch(ansi_tcap_response_matching_type){
case ANSI_TCAP_TID_ONLY:
buf = wmem_strdup(pinfo->pool, ansi_tcap_private.TransactionID_str);
@ -267,7 +267,7 @@ find_saved_invokedata(packet_info *pinfo, proto_tree *tree _U_, tvbuff_t *tvb _U
src = address_to_str(pinfo->pool, &(pinfo->src));
dst = address_to_str(pinfo->pool, &(pinfo->dst));
/* The hash string needs to contain src and dest to distiguish differnt flows */
/* The hash string needs to contain src and dest to distiguish different flows */
buf = (char *)wmem_alloc(pinfo->pool, MAX_TID_STR_LEN);
buf[0] = '\0';
/* Reverse order to invoke */

View File

@ -78,7 +78,7 @@
*
* Radiotap (type 6):
*
* As part of 802.11ax developement, Aruba has added radiotap capture
* As part of 802.11ax development, Aruba has added radiotap capture
* encapsulation. This new format can be used with any model of AP
* be it 11ax, 11ac or 11n.
* Note: type 6 is _only_ supported in ArubaOS 8.6 and higher.

View File

@ -30,7 +30,7 @@ static dissector_handle_t ath_handle;
*
* - UDP heartbeats to maintain a status of all the members of the cluster
*
* - TCP RMI to send data accross members
* - TCP RMI to send data across members
*
* This dissector is about UDP heartbeats, that we will call ATH, standing for
* Apache Tribes Heartbeat. Tribes is the name of the clustering libraries

View File

@ -43,10 +43,10 @@
why not using existing ses, pres and acse dissectors ?
ATN upper layers are derived from OSI standards for session,
presentation and application but the encoding differs
(it's PER instead of BER encoding to save bandwith).
(it's PER instead of BER encoding to save bandwidth).
Session and presentation use the "null" encoding option,
meaning that they are only present at connection establishment
and ommitted otherwise.
and omitted otherwise.
Instead of adapting existing dissectors it seemed simpler and cleaner
to implement everything the new atn-ulcs dissector.
@ -363,7 +363,7 @@ dissect_atn_ulcs_T_pdv_list_presentation_data_values_arbitrary(tvbuff_t *tvb _U_
NULL);
if (tvb_usr) {
/* call appropiate dissector for bitstring data */
/* call appropriate dissector for bitstring data */
switch(ulcs_context_value){
case 1: /* ACSE PDU*/
atn_ulcs_tree = proto_tree_add_subtree(

View File

@ -2218,7 +2218,7 @@ void proto_register_awdl(void)
}
},
/* Service Reponse */
/* Service Response */
{ &hf_awdl_dns_name_len,
{ "Name Length", "awdl.dns.name.len",
FT_UINT16, BASE_DEC, NULL, 0x0,

View File

@ -6541,7 +6541,7 @@ BACnetVendorIdentifiers [] = {
{ 1268, "Lion Controls Co., LTD" },
{ 1269, "Sinux" },
{ 1270, "Avnet Inc." },
{ 1271, "Somfy Activites SA" },
{ 1271, "Somfy Activities SA" },
{ 1272, "Amico" },
{ 1273, "SageGlass" },
{ 1274, "AuVerte" },

View File

@ -1793,7 +1793,7 @@ dissect_ber_octet_string_wcb(bool implicit_tag, asn1_ctx_t *actx, proto_tree *tr
if (func && out_tvb && (tvb_reported_length(out_tvb) > 0)) {
if (hf_id > 0)
tree = proto_item_add_subtree(actx->created_item, ett_ber_octet_string);
/* TODO Should hf_id2 be pased as last parameter???*/
/* TODO Should hf_id2 be passed as last parameter???*/
func(FALSE, out_tvb, 0, actx, tree, -1);
}
return offset;

View File

@ -3276,7 +3276,7 @@ load_afi_safi_data(packet_info *pinfo) {
* A real BGP speaker would rely on the BGP Additional Path in the BGP Open messages.
* But it is not suitable for a packet analyse because the BGP sessions are not supposed to
* restart very often, and Open messages from both sides of the session would be needed
* to determine the result of the capability negociation.
* to determine the result of the capability negotiation.
* Code inspired from the decode_prefix4 function
*/
static int
@ -13475,7 +13475,7 @@ proto_register_bgp(void)
{ &hf_bgp_evpn_nlri_ipv6_gtw,
{ "IPv6 Gateway address", "bgp.evpn.nlri.ipv6.gtw_addr", FT_IPv6,
BASE_NONE, NULL, 0x0, NULL, HFILL}},
/* segment routing extentions to link state */
/* segment routing extensions to link state */
/* Node Attributes TLVs */
{ &hf_bgp_ls_sr_tlv_capabilities,
{ "SR Capabilities", "bgp.ls.sr.tlv.capabilities", FT_NONE,

View File

@ -1530,7 +1530,7 @@ proto_register_bitcoin(void)
NULL, HFILL }
},
{ &hf_msg_version_addr_me,
{ "Address of emmitting node", "bitcoin.version.addr_me",
{ "Address of emitting node", "bitcoin.version.addr_me",
FT_NONE, BASE_NONE, NULL, 0x0,
NULL, HFILL }
},

View File

@ -1467,7 +1467,7 @@ static int dissect_bp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void
const wmem_list_t *seen_list = wmem_map_lookup(bp_history->bundles, bundle->ident);
wmem_list_frame_t *seen_it = seen_list ? wmem_list_head(seen_list) : NULL;
const bp_bundle_t *seen_first = seen_it ? wmem_list_frame_data(seen_it) : NULL;
// show first occurance if not this one
// show first occurrence if not this one
if (seen_first && (seen_first->frame_num != pinfo->num)) {
proto_item *item_seen = proto_tree_add_uint(tree_ident, hf_bundle_first_seen, tvb, 0, 0, seen_first->frame_num);
proto_item_set_generated(item_seen);

View File

@ -11984,7 +11984,7 @@ proto_register_btatt(void)
module_t *module;
expert_module_t *expert_btatt;
//src_port will be filled wiht handle
//src_port will be filled with handle
//dst_port will be filled with opcode
reassembly_table_register(&msg_reassembly_table,
&addresses_ports_reassembly_table_functions);

View File

@ -2522,7 +2522,7 @@ dissect_btle(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data)
case 0x02: /* AUX_SYNC_IND */
case 0x03: /* AUX_SCAN_RSP */
if (aux_pointer_present) {
/* Begining of new sequence of fragments */
/* Beginning of new sequence of fragments */
if (!pinfo->fd->visited && adi_present) {
ae_had_info = wmem_new0(wmem_file_scope(), ae_had_info_t);
ae_had_info->first_frame_num=pinfo->num;

View File

@ -3171,7 +3171,7 @@ upper_transport_init_routine(void)
reassembly_table_register(&upper_transport_reassembly_table, &upper_transport_reassembly_table_functions);
}
/* A BT Mesh dissector is not realy useful without decryption as all packets are encrypted. Just leave a stub dissector outside of */
/* A BT Mesh dissector is not really useful without decryption as all packets are encrypted. Just leave a stub dissector outside of */
/* BT Mesh s1 function */
static gboolean

View File

@ -3986,7 +3986,7 @@ static int hf_c15ch_tone_tone_control_tone_type;
max_num_digits is used in a call to proto_tree_add_string().
offset_from_digits_to_consume: This number is substracted from first_offset to give the location
offset_from_digits_to_consume: This number is subtracted from first_offset to give the location
where the num_digits field was read e.g.
offset_from_digits_to_consume == 1 if length is given in one byte just before digits
offset_from_digits_to_consume == 4 if length is given in four bytes just before digits

View File

@ -10,7 +10,7 @@
*
* SPDX-License-Identifier: GPL-2.0-or-later
*
* Contributers:
* Contributors:
* Kyle J. Harms <kyle.j.harms@boeing.com>
* Brian M. Ames <bmames@apk.net>
*/

View File

@ -16,7 +16,7 @@
#include "packet-enip.h"
/* Classes that have class-specfic dissectors */
/* Classes that have class-specific dissectors */
#define CI_CLS_SAFETY_SUPERVISOR 0x39 /* Safety Supervisor */
#define CI_CLS_SAFETY_VALIDATOR 0x3A /* Safety Validator */

View File

@ -1658,7 +1658,7 @@ static int dissect_cops_pr_object_data(tvbuff_t *tvb, packet_info *pinfo, guint3
asn_tree = proto_tree_add_subtree(tree, tvb, offset, len, ett_cops_asn1, NULL, "Contents:");
/*
* XXX: LAZYNESS WARNING:
* XXX: LAZINESS WARNING:
* We are assuming that for the first element in the sequence
* that describes an entry subid==1, and, that the subsequent elements
* use ++subid; This is true for all IETF's PIBs (and good sense
@ -1690,7 +1690,7 @@ static int dissect_cops_pr_object_data(tvbuff_t *tvb, packet_info *pinfo, guint3
if (oid_info) {
/*
* XXX: LAZYNESS WARNING:
* XXX: LAZINESS WARNING:
* We are assuming that the value of the sequenced item is of
* the right class, the right type and the right length.
* We should check that to avoid throwing a Malformed packet and

View File

@ -163,7 +163,7 @@ typedef struct {
* Each client can have many hosts, each host can be multi-homed,
* and each host can be running many processes talking to the
* server. Each packet needs to be uniquely numbered, so that the
* server can recognize as interchangable all of the (re)transmissions
* server can recognize as interchangeable all of the (re)transmissions
* of a single report (rid) from a client process (pid) on a single
* host (hid), and the client can know which transmission (tid)
* produced a given server response to maintain the client's RTT

View File

@ -2404,7 +2404,7 @@ netlogon_dissect_VALIDATION(tvbuff_t *tvb, int offset,
* IDL [in][ref] LOGON_LEVEL *logonlevel,
* IDL [in] short ValidationLevel,
* IDL [out][ref] VALIDATION *validation,
* IDL [out][ref] boolean Authorative
* IDL [out][ref] boolean Authoritative
* IDL [in][out] unsigned long ExtraFlags
* IDL );
*/
@ -2477,7 +2477,7 @@ netlogon_dissect_netrlogonsamlogonflags_reply(tvbuff_t *tvb, int offset,
* IDL [in][ref] LOGON_LEVEL *logonlevel,
* IDL [in] short ValidationLevel,
* IDL [out][ref] VALIDATION *validation,
* IDL [out][ref] boolean Authorative
* IDL [out][ref] boolean Authoritative
* IDL );
*/
static int

View File

@ -2947,7 +2947,7 @@ dissect_ndr_wchar_vstring(tvbuff_t *tvb, int offset, packet_info *pinfo,
/* ndr pointer handling */
/* Should we re-read the size of the list ?
* Instead of re-calculating the size everytime, use the stored value unless this
* Instead of re-calculating the size every time, use the stored value unless this
* flag is set which means: re-read the size of the list
*/
static gboolean must_check_size = FALSE;

View File

@ -14,7 +14,7 @@
/*
* This is a proprietary protocol deveolped by Mitel for communication
* inbetween the DECT system management Software (OMM) and the DECT
* between the DECT system management Software (OMM) and the DECT
* base station (RFPs)
*/

View File

@ -29,7 +29,7 @@
* Copyright 2015, Adrian Simionov <daniel.simionov@gmail.com>
* Copyright 2003, Brian Wheeler <brian.wheeler[AT]arrisi.com>
*
* Routines for Intial Ranging Request Message dissection
* Routines for Initial Ranging Request Message dissection
* Copyright 2003, Brian Wheeler <brian.wheeler[AT]arrisi.com>
*
* Routines for Baseline Privacy Key Management Attributes dissection
@ -40,7 +40,7 @@
* Copyright 2014, Adrian Simionov <adrian.simionov@arrisi.com>
* Copyright 2007, Bruno Verstuyft <bruno.verstuyft@excentis.com>
*
* Routines for DOCSIS 3.0 Bonded Intial Ranging Request Message dissection.
* Routines for DOCSIS 3.0 Bonded Initial Ranging Request Message dissection.
* Copyright 2009, Geoffrey Kimball <gekimbal[AT]cisco.com>
*
* Routines for Type 35 UCD - DOCSIS 3.0 only - Message dissection

View File

@ -208,7 +208,7 @@
/**
* This structure represents a SID, or Sender ID, in the system.
* This is allocated as global memory, and must be freed. SIDs
* are Object IDs, and can be displayed in hex but preferrably
* are Object IDs, and can be displayed in hex but preferably
* using the OID output format. Even though the OID contains
* a length, we prefix this buffer with a length (which must
* be less than 255 by the definition of a SID.
@ -3301,7 +3301,7 @@ typedef struct _tcp_session_data
dof_transport_session common;
/* This flag is used to determine that an entire TCP session is NOT OpenDOF.
* Because of TCP/IP negotation in the DPS it is easy to confuse arbitrary
* Because of TCP/IP negotiation in the DPS it is easy to confuse arbitrary
* protocols as OpenDOF. Once it is determined that it is not then this
* flag can be set, which will turn off all the OpenDOF dissectors.
*/
@ -4557,7 +4557,7 @@ static guint8 parseAttribute(struct parseCtx *ctx)
{
if (parseAttributeID(ctx) == 0)
{
/* seperated by ':' */
/* separated by ':' */
if (PARSECTX_READ_CHAR_OID(ctx) == ':' && PARSECTX_CHECK_LEN(ctx, 1) == 0)
{
guint8 *length = PARSECTX_GET_CURRENT_POS_BUF(ctx);
@ -4590,7 +4590,7 @@ static guint8 parseAttributes(struct parseCtx *ctx)
if (parseAttribute(ctx) != 0)
return 1;
/* multiple seperated by '|' */
/* multiple separated by '|' */
if (PARSECTX_PEEK_CHAR_OID(ctx) == '|' && PARSECTX_PEEK_NEXT_CHAR_OID(ctx) != ')')
{
PARSECTX_OR_AT_POS_BUF(ctx, avpID, 0x80); /* set that there is a next attribute */
@ -4612,7 +4612,7 @@ static guint8 parseFormatOID(struct parseCtx *ctx)
/* Get class id */
if (parseOIDClass(ctx) == 0)
{
/* seperated by ':' */
/* separated by ':' */
if (PARSECTX_READ_CHAR_OID(ctx) == ':' && PARSECTX_CHECK_LEN(ctx, 1) == 0)
{
guint8 *length = PARSECTX_GET_CURRENT_POS_BUF(ctx);
@ -9603,7 +9603,7 @@ static int dissect_tep(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void
}
/* Whether or not this can be decrypted, the security mode infomation
/* Whether or not this can be decrypted, the security mode information
* should be kept with the session.
*/
{

View File

@ -73,7 +73,7 @@ static int hf_dsr_opt_srcrt_reserved;
static int hf_dsr_opt_srcrt_salvage;
static int hf_dsr_opt_srcrt_segsleft;
static int hf_dsr_opt_srcrt_address;
/* Flow State Extentions */
/* Flow State Extensions */
/* Timout option fields */
static int hf_dsr_fs_opt_timeout_timeout;
/* Flow ID / destination option fields */
@ -114,7 +114,7 @@ static gint ett_dsr_srcrt_hoplist;
#define DSR_OPT_TYPE_SRCRT 96
#define DSR_OPT_TYPE_PAD1 224
#define DSR_OPT_TYPE_PADN 0
/* DSR Flow State extention types */
/* DSR Flow State extension types */
#define DSR_FS_OPT_TYPE_TIMEOUT 128
#define DSR_FS_OPT_TYPE_DESTFLOWID 129
/* Route error types */

View File

@ -1733,7 +1733,7 @@ static int dissect_dvb_s2_bb(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree
user_packet_length >>= 3;
/* UPL should be *at least* MP2T_PACKET_SIZE, depending on npd (1 byte)
* and issy (2 or 3 bytes). The fields are overdetermined (something
* addressed in -C2 and -T2's High Efficency Mode for TS), so how to
* addressed in -C2 and -T2's High Efficiency Mode for TS), so how to
* process in the case of inconsistency is a judgment call. The
* approach here is to disable anything for which there is insufficent
* room, but not to enable anything marked as inactive.

View File

@ -25,7 +25,7 @@
* - Multiple SOD Read/Write dissection
* - Include AInv message type
* - Straighten text formatting
* - Remove unneccessary if(tree) checks
* - Remove unnecessary if(tree) checks
*
* Copyright (c) 2017: Karlsruhe Institute of Technology (KIT)
* Institute for Anthropomatics and Robotics (IAR)
@ -1858,7 +1858,7 @@ epl_address_equal(gconstpointer a, gconstpointer b)
/* FIXME
* PDO Mappings store object/subobjct pointers and thus need to be
* updated after a profile change. We purge them by resetting the
* memory pool. As PDO Mappings are refereneced via Conversations,
* memory pool. As PDO Mappings are referenced via Conversations,
* we need to fix up those too. I didn't figure out how to clear
* conversations yet, so till now, we keep a variable to tell us
* if we have dangling pointers. Courtesy of Peter Wu.
@ -6551,7 +6551,7 @@ device_profile_parse_uat(void)
wmem_map_foreach(epl_profiles_by_device, drop_profiles, NULL);
/* PDO Mappings will have stale pointers after a profile change
* so we reset the memory pool. As PDO Mappings are refereneced
* so we reset the memory pool. As PDO Mappings are referenced
* via Conversations, we need to fixup those too to avoid a use
* after free, preferably by clearing them.
* This generation++ is a temporary workaround
@ -6643,7 +6643,7 @@ nodeid_profile_parse_uat(void)
/* PDO Mappings will have stale pointers after a profile change
* so we reset the memory pool. As PDO Mappings are refereneced
* so we reset the memory pool. As PDO Mappings are referenced
* via Conversations, we need to fixup those too to avoid a use
* after free, preferably by clearing them.
* This generation++ is a temporary workaround

View File

@ -772,7 +772,7 @@ static erf_state_t erf_state;
/*
* XXX: These header_field_info are used as templates for dynamically building
* per-section fields for each tag, as well as appropiate value_string arrays.
* per-section fields for each tag, as well as appropriate value_string arrays.
* We abuse the abbrev field to store the short name of the tags.
*/
static const erf_meta_hf_template_t erf_meta_tags[] = {
@ -1963,7 +1963,7 @@ dissect_host_id_source_id(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, g
if (fnum != G_MAXUINT32) {
fnum_current = fnum;
} else {
/* XXX: Possibly undesireable side effect: first metadata record links to next */
/* XXX: Possibly undesirable side effect: first metadata record links to next */
fnum_current = fnum_next;
}

View File

@ -79,7 +79,7 @@ const value_string etype_vals[] = {
{ ETHERTYPE_MRP, "MRP" },
{ ETHERTYPE_IEEE_802_1AD, "802.1ad Provider Bridge (Q-in-Q)" },
{ ETHERTYPE_MACSEC, "802.1AE (MACsec)" },
{ ETHERTYPE_IEEE_1905, "1905.1a Convergent Digital Home Network for Heterogenous Technologies" },
{ ETHERTYPE_IEEE_1905, "1905.1a Convergent Digital Home Network for Heterogeneous Technologies" },
{ ETHERTYPE_IEEE_802_1AH, "802.1ah Provider Backbone Bridge (mac-in-mac)" },
{ ETHERTYPE_IEEE_802_1BR, "802.1br Bridge Port Extension E-Tag" },
{ ETHERTYPE_EAPOL, "802.1X Authentication" },

View File

@ -686,7 +686,7 @@ f5eth_tmmdist_stats_tree_init(stats_tree *st)
/*-----------------------------------------------------------------------------------------------*/
/**
* @brief Per-packet tmm distrubution statistics
* @brief Per-packet tmm distribution statistics
*
* @attention This is an interface function to be called from the rest of wireshark.
*

View File

@ -21,7 +21,7 @@ void proto_register_fcip(void);
void proto_reg_handoff_fcip(void);
#define FCIP_ENCAP_HEADER_LEN 28
#define FCIP_MIN_HEADER_LEN 16 /* upto frame len field */
#define FCIP_MIN_HEADER_LEN 16 /* up to frame len field */
#define FCIP_IS_SF(pflags) ((pflags & 0x1) == 0x1)
#define FCIP_IS_CH(pflags) ((pflags & 0x80) == 0x80)

View File

@ -495,13 +495,13 @@ get_zoneobj_len(tvbuff_t *tvb, gint offset)
* id (id_len bytes)
*/
objtype = tvb_get_guint8(tvb, offset);
len = 4 + ZONENAME_LEN(tvb, offset+4); /* length upto num_of_mbrs field */
len = 4 + ZONENAME_LEN(tvb, offset+4); /* length up to num_of_mbrs field */
numrec = tvb_get_ntohl(tvb, offset+len); /* gets us num of zone mbrs */
len += 4; /* + num_mbrs */
for (i = 0; i < numrec; i++) {
if (objtype == FC_SWILS_ZONEOBJ_ZONESET) {
len += 4 + ZONENAME_LEN(tvb, offset+4+len); /* length upto num_of_mbrs field */
len += 4 + ZONENAME_LEN(tvb, offset+4+len); /* length up to num_of_mbrs field */
numrec1 = tvb_get_ntohl(tvb, offset+len);
len += 4;

View File

@ -1871,7 +1871,7 @@ typedef struct _fix_field {
static const value_string BidType_val[] = {
{ 1, "NON DISCLOSED STYLE" },
{ 2, "DISCLOSED SYTLE" },
{ 2, "DISCLOSED STYLE" },
{ 3, "NO BIDDING PROCESS" },
{ 0, NULL }
};
@ -2066,7 +2066,7 @@ typedef struct _fix_field {
{ 12, "EXECUTING TRADER" },
{ 13, "ORDER ORIGINATION FIRM" },
{ 14, "GIVEUP CLEARING FIRM" },
{ 15, "CORRESPONDANT CLEARING FIRM" },
{ 15, "CORRESPONDENT CLEARING FIRM" },
{ 16, "EXECUTING SYSTEM" },
{ 17, "CONTRA FIRM" },
{ 18, "CONTRA CLEARING FIRM" },

View File

@ -677,7 +677,7 @@ dissect_fmp_Hiervolume(tvbuff_t *tvb, int offset, proto_tree * tree)
offset = dissect_rpc_uint32(tvb, tree, hf_fmp_cookie, offset);
/* hierarchical description of volume. Each volume describes a
piece of the entire hierarchy and is guarenteed to only refer to
piece of the entire hierarchy and is guaranteed to only refer to
volumes that have already been described by the data structure up
to this point in time. In some extreme cases, the number of
volumes and their descriptions may be to large to fit in a single

View File

@ -206,7 +206,7 @@ guint32 eo_row_count = 0;
* FTP is complex in that there's no guarantee that the file transmission
* was completely captured. It might be possible to infer a successful
* transfer with either the "SIZE" command or with a 226 response code
* (indicating that the STOR or RETR command was succesful), but there
* (indicating that the STOR or RETR command was successful), but there
* is no guarantee that either of these are present. As such, this
* implementation takes a best-effort approach of simply appending
* all associated ftp-data packets to the export objects entry.

View File

@ -66,7 +66,7 @@
* Additional interpretation of field Chain Position.
* Show the chain position in the interface list.
* Support for new format of fw monitor file
* writen by option -u | -s for UUID/SUUID.
* written by option -u | -s for UUID/SUUID.
* NOTICE: First paket will have UUID == 0 !
*
* SPDX-License-Identifier: GPL-2.0-or-later

View File

@ -21,7 +21,7 @@
* TODO: -- FS
* 1. heuristic giop dissector table [started]
* 2. GUI options, see 20
* 3. Remove unneccessary reply_status in heuristic dissector calls (now
* 3. Remove unnecessary reply_status in heuristic dissector calls (now
* part of MessageHeader) [done]
* 4. get_CDR_xxx should be passed an alignment offset value
* rather than GIOP_HEADER_SIZE, as alignment can also change in a

View File

@ -144,7 +144,7 @@ extern void delete_giop_user_module(giop_sub_dissector_t *sub, gchar *name,
* - Pseudo Object Types
*
*
* Altough some of these look redundant, I have separated them
* Although some of these look redundant, I have separated them
* out for all CDR types, to assist in auto generation of
* IDL dissectors later, see idl2wrs -- FS
*

View File

@ -229,7 +229,7 @@ dissect_body_data(proto_tree *grpc_tree, packet_info *pinfo, tvbuff_t *tvb, cons
* the grpc message information might be used by the other Lua dissector in the future.
* The grpc message information format is:
* http2_content_type "," http2_path "," ("request" / "response")
* Acording to grpc wire format guide, it will be:
* According to grpc wire format guide, it will be:
* "application/grpc" [("+proto" / "+json" / {custom})] "," "/" service-name "/" method-name "/" "," ("request" / "response")
* For example:
* application/grpc,/helloworld.Greeter/SayHello,request

View File

@ -7,8 +7,8 @@
* In association with Telos Technology Inc.
*
*
* Added the GPRS Mobility Managment Protocol and
* the GPRS Session Managment Protocol
* Added the GPRS Mobility Management Protocol and
* the GPRS Session Management Protocol
* Copyright 2004, Rene Pilz <rene.pilz [AT] ftw.com>
* In association with Telecommunications Research Center
* Vienna (ftw.)Betriebs-GmbH within the Project Metawin.
@ -6879,7 +6879,7 @@ dissect_dtap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data)
return len;
}
/*
* eventhough we don't know if a TI should be in the message yet
* even though we don't know if a TI should be in the message yet
* we rely on the TI/SKIP indicator to be 0 to avoid taking this
* octet
*/

View File

@ -3985,7 +3985,7 @@ MAP interfaces
case 1:
/* gsm-0408 */
/* As per comment abowe Individual IE:(s) will be found here in TLV format
* Unfortunatly a branch for each IE must be made to call the apropriate
* Unfortunately a branch for each IE must be made to call the appropriate
* function
*/
/* Get tag */
@ -18042,7 +18042,7 @@ if (!gsm_map_priv || !gsm_map_priv->signal_info_tvb)
case 1:
/* gsm-0408 */
/* As per comment abowe Individual IE:(s) will be found here in TLV format
* Unfortunatly a branch for each IE must be made to call the apropriate
* Unfortunately a branch for each IE must be made to call the appropriate
* function
*/
/* Get tag */
@ -22388,7 +22388,7 @@ typedef int (* dissect_function_t)( bool,
/*
* Dissect Multiple Choice Message
* This function is used to decode a message, when several encoding may be used.
* For exemple, in the last MAP version, the Cancel Location is defined like this:
* For example, in the last MAP version, the Cancel Location is defined like this:
* CancelLocationArg ::= [3] IMPLICIT SEQUENCE
* But in the previous MAP version, it was a CHOICE between a SEQUENCE and an IMSI
* As ASN1 encoders (or software) still uses the old encoding, this function allows

View File

@ -1123,7 +1123,7 @@ typedef struct
guint8 Exist_A5_bits;
A5_bits_t A5_bits;
/*-- zero means that the same values apply for parameters as in the immediately preceeding Access capabilities field within this IE
/*-- zero means that the same values apply for parameters as in the immediately preceding Access capabilities field within this IE
*-- The presence of the A5 bits is mandatory in the 1st Access capabilies struct within this IE.
*/
@ -1134,7 +1134,7 @@ typedef struct
guint8 Exist_Multislot_capability;
Multislot_capability_t Multislot_capability;
/* -- zero means that the same values apply for multislot parameters as in the immediately preceeding Access capabilities field within this IE.
/* -- zero means that the same values apply for multislot parameters as in the immediately preceding Access capabilities field within this IE.
* -- The presence of the Multislot capability struct is mandatory in the 1st Access capabilites struct within this IE.
*/
/* -------- Rel 99 additions */
@ -2868,7 +2868,7 @@ typedef struct
SI13_PBCCH_Location_t SI13_PBCCH_Location;
} Cell_Selection_t;
/* Neigbour cell list as used in PSI3 and PSI3bis */
/* Neighbour cell list as used in PSI3 and PSI3bis */
typedef struct
{
guint8 FREQ_DIFF_LENGTH;

View File

@ -380,7 +380,7 @@ typedef struct _http3_header_field_def {
* - encoded points to the location of the encoded field in the *original* packet TVB.
* - decoded points to the formatted header string, which is allocated in a cache map,
* to conserve memory.
* The decoded fields are used to create an auxillary TVB which will
* The decoded fields are used to create an auxiliary TVB which will
* be used for dissection of decoded header values.
*/
typedef struct _http3_header_field {

View File

@ -175,7 +175,7 @@ dissect_netmon_802_11(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void
/*
* Furthermore, we may see frames with the A-MSDU Present flag set
* in the QoS Control field but that have a regular frame, nto a
* in the QoS Control field but that have a regular frame, not a
* sequence of A-MSDUs, in the payload.
*/
phdr.no_a_msdus = TRUE;
@ -339,7 +339,7 @@ dissect_netmon_802_11(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void
/*
* ullTimestamp?
*
* If so, should this check the presense flag in flags?
* If so, should this check the presence flag in flags?
*/
phdr.has_tsf_timestamp = TRUE;
phdr.tsf_timestamp = tvb_get_letoh64(tvb, offset);

View File

@ -15254,7 +15254,7 @@ add_ff_action_unprotected_dmg(proto_tree *tree, tvbuff_t *tvb, packet_info *pinf
* Table 8-53g IEEE Std 802.11ac-2013 amendment.
*
* The irregular use of case statements in this function is to improve
* readability in what is otherwise a large funtion that does very little.
* readability in what is otherwise a large function that does very little.
*/
static inline int
vht_compressed_skip_scidx(guint8 nchan_width, guint8 ng, int scidx)

View File

@ -27,7 +27,7 @@ void proto_register_ifcp(void);
void proto_reg_handoff_ifcp(void);
#define iFCP_ENCAP_HEADER_LEN 28
#define iFCP_MIN_HEADER_LEN 16 /* upto frame len field */
#define iFCP_MIN_HEADER_LEN 16 /* up to frame len field */
typedef enum {
iFCP_EOFn = 0x41,

View File

@ -413,7 +413,7 @@ isis_dissect_te_router_id_clv(proto_tree *tree, packet_info* pinfo, tvbuff_t *tv
* Name: isis_dissect_nlpid_clv()
*
* Description:
* Take apart a NLPID packet and display it. The NLPID (for intergrated
* Take apart a NLPID packet and display it. The NLPID (for integrated
* ISIS, contains n network layer protocol IDs that the box supports.
* We max out at 256 entries.
*

View File

@ -31,7 +31,7 @@ static int hf_ismp_seq_num;
static int hf_ismp_code_length;
static int hf_ismp_auth_data;
/* Enterasys/Cabletron Dicovery Protocol fields*/
/* Enterasys/Cabletron Discovery Protocol fields*/
static int hf_ismp_edp;
static int hf_ismp_edp_version;
static int hf_ismp_edp_module_ip;

View File

@ -3095,7 +3095,7 @@ static const value_string _isobus_pgn_names[] = {
{ 64176, "High Voltage Energy Storage Pack 8 History" },
{ 64177, "High Voltage Energy Storage Pack 7 Configuration" },
{ 64178, "High Voltage Energy Storage Pack 7 History" },
{ 64179, "AUTOSAR Time Syncronization" },
{ 64179, "AUTOSAR Time Synchronization" },
{ 64180, "EV DC Charging Limits 1" },
{ 64181, "EVSE DC Charging Limits 1" },
{ 64182, "EVSE DC Charging Limits 2" },
@ -3264,10 +3264,10 @@ static const value_string _isobus_pgn_names[] = {
{ 64348, "Vehicle Fire Suppression System Module 2 Detector Data" },
{ 64349, "Vehicle Fire Suppression System Module 3 Detector Data" },
{ 64350, "Vehicle Fire Suppression System Module 4 Detector Data" },
{ 64351, "Vehicle Fire Suppression System Module 1 Auxilliary Data" },
{ 64352, "Vehicle Fire Suppression System Module 2 Auxilliary Data" },
{ 64353, "Vehicle Fire Suppression System Module 3 Auxilliary Data" },
{ 64354, "Vehicle Fire Suppression System Module 4 Auxilliary Data" },
{ 64351, "Vehicle Fire Suppression System Module 1 Auxiliary Data" },
{ 64352, "Vehicle Fire Suppression System Module 2 Auxiliary Data" },
{ 64353, "Vehicle Fire Suppression System Module 3 Auxiliary Data" },
{ 64354, "Vehicle Fire Suppression System Module 4 Auxiliary Data" },
{ 64355, "Vehicle Fire Suppression System Module 1 Names" },
{ 64356, "Vehicle Fire Suppression System Module 2 Names" },
{ 64357, "Vehicle Fire Suppression System Module 3 Names" },

View File

@ -6586,7 +6586,7 @@ dissect_isup_conference_treatment_indicators_parameter(tvbuff_t *parameter_tvb,
* 0 3 Display information (IA5 characters)
* etc.
* - end - quote -
* Assuming octet 2 and onwards is pased here - just output text ?
* Assuming octet 2 and onwards is passed here - just output text ?
*/
static void
dissect_isup_display_information_parameter(tvbuff_t *parameter_tvb, proto_tree *parameter_tree, proto_item *parameter_item _U_)

View File

@ -678,7 +678,7 @@ before_object(void *tvbparse_data, const void *wanted_data _U_, tvbparse_elem_t
}
if (data->prev_item_type_raw == JSON_MARK_TYPE_MEMBER_NAME) {
/* this is an object value of an member, add the "{" just after the memeber name */
/* this is an object value of an member, add the "{" just after the member name */
ti_raw = data->prev_item_raw;
proto_item_append_text(ti_raw, " {");
} else {
@ -903,7 +903,7 @@ before_array(void *tvbparse_data, const void *wanted_data _U_, tvbparse_elem_t *
}
if (data->prev_item_type_raw == JSON_MARK_TYPE_MEMBER_NAME) {
/* this is an array value of an member, add the "[" just after the memeber name */
/* this is an array value of an member, add the "[" just after the member name */
ti_raw = data->prev_item_raw;
proto_item_append_text(ti_raw, " [");
} else {

View File

@ -767,7 +767,7 @@ static gboolean check_lbmsrs_packet(tvbuff_t *tvb, guint offset)
offset += rsocket_frame_len_field_size;
/*check the length*/
/*rsocket data maybe split accross multiple packets*/
/*rsocket data maybe split across multiple packets*/
guint32 tvb_length = tvb_captured_length(tvb);
if (tvb_length < (offset - start_offset + rsocket_stream_id_field_size))
@ -896,7 +896,7 @@ static gboolean check_lbmsrs_packet(tvbuff_t *tvb, guint offset)
static guint get_rsocket_frame_len(packet_info *pinfo _U_, tvbuff_t *tvb, int offset, void *data _U_)
{
/*get the rsocket frame length (3-byte long field)*/
/*offset argument points to the begining of the Rsocket PDU*/
/*offset argument points to the beginning of the Rsocket PDU*/
guint32 rsocket_frame_len = tvb_get_guint24(tvb, offset, ENC_BIG_ENDIAN);
/*return total RSocket PDU size*/

View File

@ -791,7 +791,7 @@ dissect_lnet_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *
if (msg_filler_length > 72)
goto out;
*/
/* +24 : ksock_message take 24bytes, and allready in offset */
/* +24 : ksock_message take 24bytes, and already in offset */
}
if (msg_filler_length > 0) {

View File

@ -937,7 +937,7 @@ dissect_report_segment(tvbuff_t *tvb, packet_info *pinfo, proto_tree *ltp_tree,
/* There can be multiple reception claims in the same report segment */
for(guint64 ix = 0; ix < rcpt_clm_cnt; ix++){
/* Peek at the offset to see if there is a preceeding gap */
/* Peek at the offset to see if there is a preceding gap */
tvb_get_varint(tvb, frame_offset + segment_offset, FT_VARINT_MAX_LEN, &offset, ENC_VARINT_SDNV);
clm_fst = lower_bound + offset;
ltp_check_reception_gap(ltp_rpt_tree, pinfo, session, clm_lst, clm_fst, &gap_count, &gap_total);

View File

@ -3458,7 +3458,7 @@ dissect_struct_lov_mds_md(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_t
offset += 16;
}
/* This may happend when, server is just returning the stripe
/* This may happen when, server is just returning the stripe
count, but not the stripe data (ie default stripe_count on a
directory) */
if (data_len-(offset-old_offset) != stripe_count*24)
@ -4662,7 +4662,7 @@ dissect_struct_llog_log_hdr(tvbuff_t *tvb, int offset, packet_info *pinfo, proto
/* * Note: llh_bitmap size is variable because llog chunk size could be */
/* * bigger than LLOG_MIN_CHUNK_SIZE, i.e. sizeof(llog_log_hdr) > 8192 */
/* * bytes, and the real size is stored in llh_hdr.lrh_len, which means */
/* * llh_tail should only be refered by LLOG_HDR_TAIL(). */
/* * llh_tail should only be referred by LLOG_HDR_TAIL(). */
/* * But this structure is also used by client/server llog interface */
/* * (see llog_client.c), it will be kept in its original way to avoid */
/* * compatibility issue. *\/ */

View File

@ -1040,7 +1040,7 @@ static guint16 dissect_mausb_mgmt_pkt_ep_handle( proto_tree *tree, tvbuff_t *tvb
size_ep_des = mausb_get_size_ep_des(tvb, offset);
size_field = proto_tree_add_item(tree, hf_mausb_mgmt_ep_des_size, tvb,
offset, 2, ENC_LITTLE_ENDIAN); /* really 6 bits over a byte boundry */
offset, 2, ENC_LITTLE_ENDIAN); /* really 6 bits over a byte boundary */
offset += 1;
/* Padding to DWORD */
@ -1331,7 +1331,7 @@ static guint16 dissect_mausb_mgmt_pkt_flds(struct mausb_header *header,
break;
/* Managment packets with no additional data */
/* Management packets with no additional data */
case DevResetReq:
case DevResetResp:
case UpdateDevResp:
@ -1750,7 +1750,7 @@ proto_register_mausb(void)
}
},
/* Managment Packets Only */
/* Management Packets Only */
{ &hf_mausb_token,
{ "Token", "mausb.token", FT_UINT16, BASE_DEC,
NULL, MAUSB_TOKEN_MASK, NULL, HFILL

View File

@ -119,7 +119,7 @@ static expert_field ei_mc_nmf_size_too_big;
// [MC-NMF] does not have a defined port https://learn.microsoft.com/en-us/openspecs/windows_protocols/mc-nmf/51b5eb53-f488-4b74-b21d-8a498f016b61
// but 9389 is ADWS port https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-adcap/cfff3d7f-e7cd-4529-86a0-4de89efe3855
// which relies on [MC-NMF], so by doing this, all ADWS trafic on port 9389 is properly dissected by default
// which relies on [MC-NMF], so by doing this, all ADWS traffic on port 9389 is properly dissected by default
#define MC_NMF_TCP_PORT 9389
/* Initialize the subtree pointers */

View File

@ -246,7 +246,7 @@ dissect_metamako(tvbuff_t* tvb, packet_info* pinfo, proto_tree* tree, void* data
/* Loop through the trailer bytes, trying to find a valid trailer.
* When:
* i == 0, we assume there IS NO trailing FCS
* i == 1, we assume ther IS a trailing FCS
* i == 1, we assume there IS a trailing FCS
*/
for (i = i_start; i < i_end && !trailer_valid; i++) {
has_fcs = i == 1;

View File

@ -109,7 +109,7 @@ static const value_string mount3_mountstat3[] =
* 3 of the protocol.
* Though not formally defined in the standard, we use the same
* value-to-string mappings as version 3 since we believe that this mapping
* is consistant with most v1 and v2 implementations.
* is consistent with most v1 and v2 implementations.
*/
static int
dissect_fhstatus(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, rpc_call_info_value* civ)

View File

@ -5682,7 +5682,7 @@ static int dissect_CPMGetRows(tvbuff_t *tvb, packet_info *pinfo, proto_tree *par
* GetRows response needs information from GetRow & SetBindings
* requests
*/
/* find the preceeding SetBinding data */
/* find the preceding SetBinding data */
guint32 num_rows = 0;
proto_item *ti;
proto_tree *pad_tree = proto_tree_add_subtree(tree, tvb, offset, 0, ett_mswsp_pad, &ti, "Padding");

View File

@ -6692,7 +6692,7 @@ static const value_string nas_eps_esm_bearer_id_vals[] = {
/*
* EPS session management messages.
* A plain NAS message is pased to this function
* A plain NAS message is passed to this function
*/
static void
dissect_nas_eps_esm_msg(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset)

View File

@ -10411,7 +10411,7 @@ nbap_hsdsch_channel_info = nbap_private_data->nbap_hsdsch_channel_info;
return offset;
}
/*Find the conversations assoicated with the HS-DSCH flows in this packet and set proper H-RNTI*/
/*Find the conversations associated with the HS-DSCH flows in this packet and set proper H-RNTI*/
clear_address(&null_addr);
for (i = 0; i < maxNrOfMACdFlows; i++) {
if (nbap_hsdsch_channel_info[i].crnc_port != 0){
@ -18476,7 +18476,7 @@ nbap_edch_channel_info = nbap_private_data->nbap_edch_channel_info;
* MAC-i/is => Type 2
* The specifications isn't very clear about the indicator for what entity
* should be used. For now, it seems like the presence of the "Maximum MAC-d PDU Size Extended IE"
* indicates MAC-i/is and it's absense means MAC-e/es
* indicates MAC-i/is and it's absence means MAC-e/es
*/
if(nbap_private_data->max_mac_d_pdu_size_ext_ie_present){
fp_edch_channel_info->edch_type = 1; /* 1 means Type 2 */
@ -18767,7 +18767,7 @@ nbap_private_data->num_items = 1;
* MAC-i/is => Type 2
* The specifications isn't very clear about the indicator for what entity
* should be used. For now, it seems like the presence of the "Maximum MAC-d PDU Size Extended IE"
* indicates MAC-i/is and it's absense means MAC-e/es
* indicates MAC-i/is and it's absence means MAC-e/es
*/
if(nbap_private_data->max_mac_d_pdu_size_ext_ie_present){
fp_edch_channel_info->edch_type = 1; /* 1 means Type 2 */
@ -29294,7 +29294,7 @@ nbap_private_data->binding_id_port = 0;
expert_add_info(actx->pinfo, NULL, &ei_nbap_no_set_comm_context_id);
}
/* Check if we allready have this context */
/* Check if we already have this context */
e_dch_macdflow_id = nbap_private_data->e_dch_macdflow_id;
if( (old_info = (nbap_edch_port_info_t *)wmem_tree_lookup32(edch_flow_port_map,nbap_private_data->com_context_id)) == NULL ){
nbap_edch_port_info_t * nbap_edch_port_info;

View File

@ -254,7 +254,7 @@ dissect_nbd_tcp_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree,
nbd_trans=(nbd_transaction_t *)wmem_tree_lookup32_array(nbd_info->acked_pdus, hkey);
}
/* The bloody handles are reused !!! eventhough they are 64 bits.
/* The bloody handles are reused !!! even though they are 64 bits.
* So we must verify we got the "correct" one
*/
if( (magic==NBD_RESPONSE_MAGIC)

View File

@ -1430,14 +1430,14 @@ static const value_string nds_reply_errors[] = {
{ 0xffffe880, "(-6016) Error Returning Partial Results" },
{ 0xffffe87f, "(-6017) No Such Schema" },
{ 0xffffe87e, "(-6018) Serial Number Mismatch" },
{ 0xffffe87d, "(-6019) Bad Referal Database Serial Number" },
{ 0xffffe87c, "(-6020) Bad Referal Serial Number" },
{ 0xffffe87d, "(-6019) Bad Referral Database Serial Number" },
{ 0xffffe87c, "(-6020) Bad Referral Serial Number" },
{ 0xffffe87b, "(-6021) Invalid File Sequence" },
{ 0xffffe87a, "(-6022) Error Referal Trans Gap" },
{ 0xffffe879, "(-6023) Bad Referal File Number" },
{ 0xffffe878, "(-6024) Referal File Not Found" },
{ 0xffffe87a, "(-6022) Error Referral Trans Gap" },
{ 0xffffe879, "(-6023) Bad Referral File Number" },
{ 0xffffe878, "(-6024) Referral File Not Found" },
{ 0xffffe877, "(-6025) Error Backup Active" },
{ 0xffffe876, "(-6026) Referal Device Full" },
{ 0xffffe876, "(-6026) Referral Device Full" },
{ 0xffffe875, "(-6027) Unsupported Version" },
{ 0xffffe874, "(-6028) Error Must Wait Checkpoint" },
{ 0xffffe873, "(-6029) Attribute Maintenance in Progress" },
@ -5313,7 +5313,7 @@ process_multivalues(proto_tree *ncp_tree, tvbuff_t *tvb, packet_info *pinfo, nds
* over 256 referrals.
*/
if (number_of_referrals > 256) {
proto_tree_add_expert_format(ntree, pinfo, &ei_ncp_invalid_offset, tvb, 0, 0, "Bad referal at offset: %u", ioffset);
proto_tree_add_expert_format(ntree, pinfo, &ei_ncp_invalid_offset, tvb, 0, 0, "Bad referral at offset: %u", ioffset);
THROW(ReportedBoundsError);
break;
}
@ -7023,7 +7023,7 @@ nds_defrag(tvbuff_t *tvb, packet_info *pinfo, uint32_t nw_connection, uint8_t se
}
else
{
/* This is either a beggining or middle fragment on second dissection */
/* This is either a beginning or middle fragment on second dissection */
frag_tvb = tvb_new_subset_remaining(tvb, 0);
if (request_value->nds_frag)
{

View File

@ -1284,7 +1284,7 @@ proto_register_ncsi(void)
NULL, HFILL },
},
/* Get Verison ID */
/* Get Version ID */
{ &hf_ncsi_ver,
{ "NC-SI version", "ncsi.ver",
FT_STRING, BASE_NONE, NULL, 0,

View File

@ -8563,7 +8563,7 @@ static int dissect_nfapi(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, vo
msg_id = tvb_get_ntohs(tvb, 2);
message_str = val_to_str_const(msg_id, message_id_vals, "Unknown");
// Flag if this is a vendor extention message, could do it for P4, 5, 7
// Flag if this is a vendor extension message, could do it for P4, 5, 7
if (msg_id >= 0x0300 && msg_id <= 0x03FF)
{
col_append_fstr(pinfo->cinfo, COL_INFO, "Vendor Extension");

View File

@ -1224,7 +1224,7 @@ dissect_cablelabs_event_notification(tvbuff_t *tvb, proto_tree *tree, guint8 byt
* Maintenance slow protocol defined in IEEE 802.3 clause 57 (The OAMPDUs
* common part is defined in section 57.4).
*
* Only the 6 folowing codes are currently defined in the 2004 version of this
* Only the 6 following codes are currently defined in the 2004 version of this
* protocol:
* OAMPDU_INFORMATION: 0x0

View File

@ -1173,7 +1173,7 @@ static gint hf_opa_sa_ServiceGID;
static gint hf_opa_sa_MGID;
static gint hf_opa_sa_PortGID;
/* Attribute Specfic Fields */
/* Attribute Specific Fields */
static gint hf_opa_Notice;
static gint hf_opa_Notice_IsGeneric;
static gint hf_opa_Notice_Type;

View File

@ -570,7 +570,7 @@ static gboolean findSafetyFrame ( packet_info *pinfo, tvbuff_t *message_tvb, gui
* bit is set */
if ( ( b_ID != 0xFF ) && ( b_ID & 0x80 ) )
{
/* The rem_length value might be poluted, due to the else statement of
/* The rem_length value might be polluted, due to the else statement of
* above if-decision (frame at end position detection). Therefore we
* calculate it here again, to have a sane value */
rem_length = tvb_reported_length_remaining(message_tvb, ctr);
@ -2120,7 +2120,7 @@ opensafety_package_dissector(const gchar *protocolName, const gchar *sub_diss_ha
break;
/* Resetting packet, to ensure, that findSafetyFrame starts with a fresh frame.
* As only packet_scope is used, this will not polute memory too much and get's
* As only packet_scope is used, this will not pollute memory too much and get's
* cleared with the next packet anyway */
packet = wmem_new0(pinfo->pool, opensafety_packet_info);

View File

@ -144,7 +144,7 @@ static const fragment_items openvpn_frag_items = {
/* we check the leading 4 byte of a suspected hmac for 0x00 bytes,
if more than 1 byte out of the 4 provided contains 0x00, the
hmac is considered not valid, which suggests that no tls auth is used.
unfortunatly there is no other way to detect tls auth on the fly */
unfortunately there is no other way to detect tls auth on the fly */
static gboolean
check_for_valid_hmac(guint32 hmac)
{

View File

@ -49,7 +49,7 @@ typedef struct {
guint16 attribute_type; /* attribute code */
const char *tree_text; /* text for fold out */
gint *tree_id; /* id for add_item */
int *hf_type_attribute; /* id for seach option */
int *hf_type_attribute; /* id for search option */
void (*dissect)(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, proto_item *item,
int* hfValue, int offset, int length);
} opsi_attribute_handle_t;

View File

@ -1,5 +1,5 @@
/*
XXX all this offset>>3 and calculations of bytes in the tvb everytime
XXX all this offset>>3 and calculations of bytes in the tvb every time
we put something in the tree is just silly. should be replaced with some
proper helper routines
*/

View File

@ -100,7 +100,7 @@ typedef enum {
/* Reserve 0 (== GPOINTER_TO_UINT(NULL)) for no PGSQL detected */
PGSQL_AUTH_STATE_NONE = 1, /* No authentication seen or used */
PGSQL_AUTH_SASL_REQUESTED, /* Server sends SASL auth request with supported SASL mechanisms*/
PGSQL_AUTH_SASL_CONTINUE, /* Server and/or client send further SASL challange-response messages */
PGSQL_AUTH_SASL_CONTINUE, /* Server and/or client send further SASL challenge-response messages */
PGSQL_AUTH_GSSAPI_SSPI_DATA, /* GSSAPI/SSPI in use */
PGSQL_AUTH_SSL_REQUESTED, /* Client sends SSL encryption request */
PGSQL_AUTH_GSSENC_REQUESTED, /* Client sends GSSAPI encryption request */

View File

@ -16,7 +16,7 @@
/*
* input: a unsigned 32-bit (native endian) value between 0 and 3600000000 (inclusive)
* output: a signed floating point value betwen -180.0000000 and + 180.0000000, inclusive)
* output: a signed floating point value between -180.0000000 and + 180.0000000, inclusive)
*/
gdouble ppi_fixed3_7_to_gdouble(guint32 in) {
gint32 remapped_in = in - (180 * 10000000);

View File

@ -1212,7 +1212,7 @@ dissect_ppi(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_)
return tvb_captured_length(tvb);
}
/* Establish our beachead */
/* Establish our beachhead */
void
proto_register_ppi(void)

View File

@ -21,7 +21,7 @@
* For example:
* application/grpc,/helloworld.Greeter/SayHello,request
* In this format, we will try to get real protobuf message type by method (service-name.method-name)
* and in/out type (request / reponse).
* and in/out type (request / response).
* For other dissectors can specifies message type directly, like:
* "message," message_type_name
* For example:
@ -1561,12 +1561,12 @@ dissect_protobuf(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data
/* The data_str has two formats:
* (1) Come from GRPC dissector like:
* http2_content_type "," http2_path "," ("request" / "response")
* Acording to grpc wire format guide, it will be:
* According to grpc wire format guide, it will be:
* "application/grpc" ["+proto"] "," "/" service-name "/" method-name "," ("request" / "response")
* For example:
* application/grpc,/helloworld.Greeter/SayHello,request
* In this format, we will try to get real protobuf message type by method (service-name.method-name)
* and in/out type (request / reponse).
* and in/out type (request / response).
* (2) Come from other dissector which specifies message type directly, like:
* "message," message_type_name
* For example:

View File

@ -3350,7 +3350,7 @@ static const value_string q708_ispc_point_name[] = {
{ 6335, "Dominguez Hills (1), CA" },
{ 6336, "Dominguez Hills (2), CA" },
{ 6337, "Irving (1), TX" },
{ 6338, "Sacremento, CA" },
{ 6338, "Sacramento, CA" },
{ 6339, "Tampa, FL" },
{ 6340, "Fort Worth" },
{ 6341, "Dallas, TX" },
@ -3367,7 +3367,7 @@ static const value_string q708_ispc_point_name[] = {
{ 6352, "New York City, NY" },
{ 6353, "Los Angeles, CA" },
{ 6354, "Tampa, FL" },
{ 6355, "Sacremento, CA" },
{ 6355, "Sacramento, CA" },
{ 6356, "Wentzville, MO" },
{ 6357, "Dallas (5), TX" },
{ 6358, "Caparra, PR" },
@ -14105,7 +14105,7 @@ static value_string_ext q708_sanc_areas_ext = VALUE_STRING_EXT_INIT(q708_sanc_ar
/*
* International signalling point codes (i.e. PCs with ni = 0) are allocated by the ITU,
* according to the processes described in Q.708. ITU keeps a database of all registered
* ISPCs which is publically available, with updates being provided in the operational
* ISPCs which is publicly available, with updates being provided in the operational
* bulletins. This function takes an ISPC and analyzes it according to these tables.
*/
void

View File

@ -25,7 +25,7 @@
/* Described in:
* 3GPP TS 36.322 Evolved Universal Terrestial Radio Access (E-UTRA)
* 3GPP TS 36.322 Evolved Universal Terrestrial Radio Access (E-UTRA)
* Radio Link Control (RLC) Protocol specification v14.0.0
*/

View File

@ -8832,7 +8832,7 @@ dissect_rnsap_L3_Information(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx
switch (pdata->ProcedureCode) {
case RNSAP_ID_DOWNLINKSIGNALLINGTRANSFER:
/* TODO: seperate into Iur and Iur-g cases: */
/* TODO: separate into Iur and Iur-g cases: */
/* For the Iur-g interface, L3 message is a GERAN-RRC message for which a dissector does not currently exist */
/* For the Iur interface, L3 message is a UMTS RRC DL-CCCH message */
parameter_handle = rrc_dl_ccch_handle;

View File

@ -52,7 +52,7 @@
* RFC 5531, "Appendix C: Current Number Assignments" defines AUTH_RSA.
* AUTH_RSA is not implemented for any known RPC-protocols. The Gluster
* protocols (ab)use AUTH_RSA for their own AUTH-flavor. AUTH_RSA is
* therefore dissected as the inofficial AUTH_GLUSTER.
* therefore dissected as the unofficial AUTH_GLUSTER.
*/
void proto_register_rpc(void);
void proto_reg_handoff_rpc(void);

View File

@ -646,7 +646,7 @@ static int rsvp_tap;
/*
* All RSVP packets belonging to a particular flow belong to the same
* conversation. The following structure definitions are for auxillary
* conversation. The following structure definitions are for auxiliary
* structures which have all the relevant flow information to make up the
* RSVP five-tuple. Note that the values of the five-tuple are determined
* from the session object and sender template/filter spec for PATH/RESV

View File

@ -32,7 +32,7 @@
* and the TCP/IP header(s) maintained from the original conversation. The application data from the
* message will follow as per a standard Wireshark packet.
*
* Serial-based pcap capture files were orignally stored using "User 0" DLT type 147 to specify a
* Serial-based pcap capture files were originally stored using "User 0" DLT type 147 to specify a
* user-defined dissector for pcap data but this format was later modified to specify a custom DLT type
* known as LINKTYPE_RTAC_SERIAL (DLT 250). The pcap file data portion contains a standard 12-byte serial
* header followed by the application payload data from actual rx/tx activity on the line. Some useful

Some files were not shown because too many files have changed in this diff Show More