aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2013-02-26 01:06:19 +0000
committerBill Meier <wmeier@newsguy.com>2013-02-26 01:06:19 +0000
commit1823aa007c6339228048b1dbefd5a07ec9f96e1c (patch)
tree6b9ab67dd2094ef231eb0f0f7fa39048332486e7 /epan
parent88a5865b64a8856d97b46c16e55c3e183828c740 (diff)
it's ==> its & its ==> it's as needed.
svn path=/trunk/; revision=47891
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-acn.c2
-rw-r--r--epan/dissectors/packet-actrace.c2
-rw-r--r--epan/dissectors/packet-amqp.c16
-rw-r--r--epan/dissectors/packet-assa_r3.c2
-rw-r--r--epan/dissectors/packet-ber.c4
-rw-r--r--epan/dissectors/packet-catapult-dct2000.c8
-rw-r--r--epan/dissectors/packet-cip.c4
-rw-r--r--epan/dissectors/packet-cpfi.c2
-rw-r--r--epan/dissectors/packet-dcerpc-spoolss.c2
-rw-r--r--epan/dissectors/packet-dcerpc.c2
-rw-r--r--epan/dissectors/packet-dcm.c6
-rw-r--r--epan/dissectors/packet-dcom.c2
-rw-r--r--epan/dissectors/packet-eigrp.c12
-rw-r--r--epan/dissectors/packet-erf.c2
-rw-r--r--epan/dissectors/packet-ged125.c2
-rw-r--r--epan/dissectors/packet-giop.c36
-rw-r--r--epan/dissectors/packet-glusterd.c2
-rw-r--r--epan/dissectors/packet-gssapi.c2
-rw-r--r--epan/dissectors/packet-h264.c2
-rw-r--r--epan/dissectors/packet-ipars.c6
-rw-r--r--epan/dissectors/packet-isis-hello.c2
-rw-r--r--epan/dissectors/packet-mac-lte.h2
-rw-r--r--epan/dissectors/packet-mbtcp.c4
-rw-r--r--epan/dissectors/packet-memcache.c6
-rw-r--r--epan/dissectors/packet-mgcp.c4
-rw-r--r--epan/dissectors/packet-mojito.c2
-rw-r--r--epan/dissectors/packet-mp2t.c2
-rw-r--r--epan/dissectors/packet-ntlmssp.c2
-rw-r--r--epan/dissectors/packet-omron-fins.c2
-rw-r--r--epan/dissectors/packet-pcep.c14
-rw-r--r--epan/dissectors/packet-pdcp-lte.c2
-rw-r--r--epan/dissectors/packet-pdcp-lte.h4
-rw-r--r--epan/dissectors/packet-redback.c2
-rw-r--r--epan/dissectors/packet-retix-bpdu.c2
-rw-r--r--epan/dissectors/packet-rlc-lte.c2
-rw-r--r--epan/dissectors/packet-rlc-lte.h4
-rw-r--r--epan/dissectors/packet-rlc.h2
-rw-r--r--epan/dissectors/packet-rsync.c2
-rw-r--r--epan/dissectors/packet-rtcp.c4
-rw-r--r--epan/dissectors/packet-sccp.c2
-rw-r--r--epan/dissectors/packet-sccp.h2
-rw-r--r--epan/dissectors/packet-sip.c2
-rw-r--r--epan/dissectors/packet-synphasor.c2
-rw-r--r--epan/dissectors/packet-tcp.c2
-rw-r--r--epan/dissectors/packet-teamspeak2.c4
-rw-r--r--epan/dissectors/packet-tipc.c4
-rw-r--r--epan/dissectors/packet-umts_fp.c42
47 files changed, 120 insertions, 120 deletions
diff --git a/epan/dissectors/packet-acn.c b/epan/dissectors/packet-acn.c
index 8a94b865f7..7038fb181b 100644
--- a/epan/dissectors/packet-acn.c
+++ b/epan/dissectors/packet-acn.c
@@ -1860,7 +1860,7 @@ ltos(guint8 level, gchar *string, guint8 base, gchar leading_char, guint8 min_ch
/* now reverse (and correct) the order */
g_strreverse(string);
- /* add a space at the end (ok its at the start but it will be at the end)*/
+ /* add a space at the end (ok it's at the start but it will be at the end)*/
string[i++] = ' ';
string[i] = '\0';
return(string + i);
diff --git a/epan/dissectors/packet-actrace.c b/epan/dissectors/packet-actrace.c
index a4af536afd..af08a263bf 100644
--- a/epan/dissectors/packet-actrace.c
+++ b/epan/dissectors/packet-actrace.c
@@ -458,7 +458,7 @@ static int dissect_actrace(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
/*
* Check to see whether we're really dealing with AC trace by looking
* for a valid "source" and fixed len for CAS, and the direction for ISDN.
- * This isn't infallible, but its cheap and it's better than nothing.
+ * This isn't infallible, but it's cheap and it's better than nothing.
*/
actrace_protocol = is_actrace(tvb, 0);
if (actrace_protocol != NOT_ACTRACE)
diff --git a/epan/dissectors/packet-amqp.c b/epan/dissectors/packet-amqp.c
index 844a62727d..cf1e9016c0 100644
--- a/epan/dissectors/packet-amqp.c
+++ b/epan/dissectors/packet-amqp.c
@@ -2987,7 +2987,7 @@ dissect_amqp_0_10_execution(tvbuff_t *tvb,
tvb, offset+1, 1, ENC_BIG_ENDIAN);
AMQP_INCREMENT(offset, 2, length);
/*
- * Session header is 2 bytes; one that tells it's 1 byte long, then
+ * Session header is 2 bytes; one that tells that it's 1 byte long, then
* the byte itself. Bit 0 is sync.
*/
flag1 = tvb_get_guint8(tvb, offset);
@@ -3174,7 +3174,7 @@ dissect_amqp_0_10_message(tvbuff_t *tvb,
tvb, offset+1, 1, ENC_BIG_ENDIAN);
AMQP_INCREMENT(offset, 2, length);
/*
- * Session header is 2 bytes; one that tells it's 1 byte long, then
+ * Session header is 2 bytes; one that tells that it's 1 byte long, then
* the byte itself. Bit 0 is sync.
*/
flag1 = tvb_get_guint8(tvb, offset);
@@ -3523,7 +3523,7 @@ dissect_amqp_0_10_tx(tvbuff_t *tvb,
tvb, offset+1, 1, ENC_BIG_ENDIAN);
AMQP_INCREMENT(offset, 2, length);
/*
- * Session header is 2 bytes; one that tells it's 1 byte long, then
+ * Session header is 2 bytes; one that tells that it's 1 byte long, then
* the byte itself. Bit 0 is sync.
*/
flag1 = tvb_get_guint8(tvb, offset);
@@ -3564,7 +3564,7 @@ dissect_amqp_0_10_dtx(tvbuff_t *tvb,
tvb, offset+1, 1, ENC_BIG_ENDIAN);
AMQP_INCREMENT(offset, 2, length);
/*
- * Session header is 2 bytes; one that tells it's 1 byte long, then
+ * Session header is 2 bytes; one that tells that it's 1 byte long, then
* the byte itself. Bit 0 is sync.
*/
flag1 = tvb_get_guint8(tvb, offset);
@@ -3762,7 +3762,7 @@ dissect_amqp_0_10_exchange(tvbuff_t *tvb,
tvb, offset+1, 1, ENC_BIG_ENDIAN);
AMQP_INCREMENT(offset, 2, length);
/*
- * Session header is 2 bytes; one that tells it's 1 byte long, then
+ * Session header is 2 bytes; one that tells that it's 1 byte long, then
* the byte itself. Bit 0 is sync.
*/
flag1 = tvb_get_guint8(tvb, offset);
@@ -4028,7 +4028,7 @@ dissect_amqp_0_10_queue(tvbuff_t *tvb,
tvb, offset+1, 1, ENC_BIG_ENDIAN);
AMQP_INCREMENT(offset, 2, length);
/*
- * Session header is 2 bytes; one that tells it's 1 byte long, then
+ * Session header is 2 bytes; one that tells that it's 1 byte long, then
* the byte itself. Bit 0 is sync.
*/
flag1 = tvb_get_guint8(tvb, offset);
@@ -4186,7 +4186,7 @@ dissect_amqp_0_10_file(tvbuff_t *tvb,
tvb, offset+1, 1, ENC_BIG_ENDIAN);
AMQP_INCREMENT(offset, 2, length);
/*
- * Session header is 2 bytes; one that tells it's 1 byte long, then
+ * Session header is 2 bytes; one that tells that it's 1 byte long, then
* the byte itself. Bit 0 is sync.
*/
flag1 = tvb_get_guint8(tvb, offset);
@@ -4524,7 +4524,7 @@ dissect_amqp_0_10_stream(tvbuff_t *tvb,
tvb, offset+1, 1, ENC_BIG_ENDIAN);
AMQP_INCREMENT(offset, 2, length);
/*
- * Session header is 2 bytes; one that tells it's 1 byte long, then
+ * Session header is 2 bytes; one that tells that it's 1 byte long, then
* the byte itself. Bit 0 is sync.
*/
flag1 = tvb_get_guint8(tvb, offset);
diff --git a/epan/dissectors/packet-assa_r3.c b/epan/dissectors/packet-assa_r3.c
index daf6b322ee..69a3b57d2f 100644
--- a/epan/dissectors/packet-assa_r3.c
+++ b/epan/dissectors/packet-assa_r3.c
@@ -893,7 +893,7 @@ typedef enum
/*
* These should not be exposed to the user
*/
- RESPONSETYPE_NOREPLY, /* 51 - Do not send a reply, subroutine is posting it's own */
+ RESPONSETYPE_NOREPLY, /* 51 - Do not send a reply, subroutine is posting its own */
RESPONSETYPE_TAKEABREAK, /* 52 - Intermediate return result, when log searches taking too long */
RESPONSETYPE_DPACBLOCKS, /* 53 - PWM lock, battery powered, DPAC takes priority */
RESPONSETYPE_ACKNAKTIMEOUT, /* 54 - Added for console.c, not used in lock firmware */
diff --git a/epan/dissectors/packet-ber.c b/epan/dissectors/packet-ber.c
index 4538cced28..9640d94577 100644
--- a/epan/dissectors/packet-ber.c
+++ b/epan/dissectors/packet-ber.c
@@ -2243,7 +2243,7 @@ printf("SEQUENCE dissect_ber_sequence(%s) subdissector ate %d bytes\n", name, co
offset = eoffset;
if (!(seq->flags & BER_FLAGS_NOOWNTAG) ) {
/* if we stripped the tag and length we should also strip the EOC is ind_len
- * Unless its a zero length field (len = 2)
+ * Unless it's a zero length field (len = 2)
*/
if ((ind_field == 1) && (len > 2))
{
@@ -2615,7 +2615,7 @@ printf("SEQUENCE dissect_ber_old_sequence(%s) subdissector ate %d bytes\n", name
seq++;
if (!(seq->flags & BER_FLAGS_NOOWNTAG) ) {
/* if we stripped the tag and length we should also strip the EOC is ind_len
- * Unless its a zero length field (len = 2)
+ * Unless it's a zero length field (len = 2)
*/
if ((ind_field == 1) && (len > 2))
{
diff --git a/epan/dissectors/packet-catapult-dct2000.c b/epan/dissectors/packet-catapult-dct2000.c
index e53d648842..4c85e5e9d1 100644
--- a/epan/dissectors/packet-catapult-dct2000.c
+++ b/epan/dissectors/packet-catapult-dct2000.c
@@ -3315,22 +3315,22 @@ void proto_register_catapult_dct2000(void)
prefs_register_obsolete_preference(catapult_dct2000_module, "board_ports_only");
/* Determines whether for not-handled protocols we should try to parse it if:
- - it looks like its embedded in an ipprim message, AND
+ - it looks like it's embedded in an ipprim message, AND
- the DCT2000 protocol name can be matched to a Wireshark dissector name */
prefs_register_bool_preference(catapult_dct2000_module, "ipprim_heuristic",
"Use IP Primitive heuristic",
- "If a payload looks like its embedded in an "
+ "If a payload looks like it's embedded in an "
"IP primitive message, and there is a Wireshark "
"dissector matching the DCT2000 protocol name, "
"try parsing the payload using that dissector",
&catapult_dct2000_try_ipprim_heuristic);
/* Determines whether for not-handled protocols we should try to parse it if:
- - it looks like its embedded in an sctpprim message, AND
+ - it looks like it's embedded in an sctpprim message, AND
- the DCT2000 protocol name can be matched to a Wireshark dissector name */
prefs_register_bool_preference(catapult_dct2000_module, "sctpprim_heuristic",
"Use SCTP Primitive heuristic",
- "If a payload looks like its embedded in an "
+ "If a payload looks like it's embedded in an "
"SCTP primitive message, and there is a Wireshark "
"dissector matching the DCT2000 protocol name, "
"try parsing the payload using that dissector",
diff --git a/epan/dissectors/packet-cip.c b/epan/dissectors/packet-cip.c
index 537fa14fdb..9f6f9a1ec3 100644
--- a/epan/dissectors/packet-cip.c
+++ b/epan/dissectors/packet-cip.c
@@ -3338,7 +3338,7 @@ void dissect_epath( tvbuff_t *tvb, packet_info *pinfo, proto_item *epath_item, i
/* Create a sub tree for the epath */
path_tree = proto_item_add_subtree( epath_item, ett_path );
- /* can't populate req_data unless its there */
+ /* can't populate req_data unless it's there */
if (req_data != NULL)
{
req_data->iClass = (guint32)-1;
@@ -6178,7 +6178,7 @@ dissect_cip_data( proto_tree *item_tree, tvbuff_t *tvb, int offset, packet_info
preq_info->dissector = NULL;
dissector = NULL;
- /* The class ID should already be extracted if its available */
+ /* The class ID should already be extracted if it's available */
if (path_info.iClass != 0xFFFFFFFF)
{
dissector = dissector_get_uint_handle( subdissector_class_table, path_info.iClass);
diff --git a/epan/dissectors/packet-cpfi.c b/epan/dissectors/packet-cpfi.c
index e4e6e160bf..14a510f888 100644
--- a/epan/dissectors/packet-cpfi.c
+++ b/epan/dissectors/packet-cpfi.c
@@ -371,7 +371,7 @@ dissect_cpfi(tvbuff_t *message_tvb, packet_info *pinfo, proto_tree *tree, void *
body_tvb = tvb_new_subset(message_tvb, 8, body_length, reported_body_length);
call_dissector(fc_handle, body_tvb, pinfo, tree);
- /* add more info, now that FC added it's */
+ /* add more info, now that FC added its */
proto_item_append_text(cpfi_item, direction_and_port_string, left, arrow, right);
col_prepend_fstr(pinfo->cinfo, COL_INFO, direction_and_port_string, left, arrow, right);
diff --git a/epan/dissectors/packet-dcerpc-spoolss.c b/epan/dissectors/packet-dcerpc-spoolss.c
index a6907dc025..75885748d7 100644
--- a/epan/dissectors/packet-dcerpc-spoolss.c
+++ b/epan/dissectors/packet-dcerpc-spoolss.c
@@ -447,7 +447,7 @@ dissect_spoolss_buffer_data(tvbuff_t *tvb, int offset, packet_info *pinfo,
if (b) {
/* I'm not sure about this. Putting the buffer into
- it's own tvb makes sense and the dissection code is
+ its own tvb makes sense and the dissection code is
much clearer, but the data is a proper subset of
the actual tvb. Not adding the new data source
makes the hex display confusing as it switches
diff --git a/epan/dissectors/packet-dcerpc.c b/epan/dissectors/packet-dcerpc.c
index 14e2a84ada..7ccc203dab 100644
--- a/epan/dissectors/packet-dcerpc.c
+++ b/epan/dissectors/packet-dcerpc.c
@@ -5174,7 +5174,7 @@ dissect_dcerpc_dg(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *dat
if (hdr.rpc_ver != 4)
return FALSE;
- /* Type must be <= 19 or its not DCE/RPC */
+ /* Type must be <= 19 or it's not DCE/RPC */
hdr.ptype = tvb_get_guint8(tvb, offset++);
if (hdr.ptype > 19)
return FALSE;
diff --git a/epan/dissectors/packet-dcm.c b/epan/dissectors/packet-dcm.c
index fb10a3900f..459ee91bd6 100644
--- a/epan/dissectors/packet-dcm.c
+++ b/epan/dissectors/packet-dcm.c
@@ -418,7 +418,7 @@ typedef struct dcm_open_tag {
The same PDV can close an open tag from a previous PDV at the beginning
and at the same have time open a new tag at the end. The closing part at the beginning
- does not have it's own persistent data.
+ does not have its own persistent data.
Do not overwrite the values, once defined, to save some memory.
@@ -4522,7 +4522,7 @@ dcm_export_create_object(packet_info *pinfo, dcm_state_assoc_t *assoc, dcm_state
is not set.
Using process_reassembled_data(), all data will be in the last PDV, and all
- it's predecessor will zero data.
+ its predecessors will zero data.
*/
dicom_eo_t *eo_info = NULL;
@@ -6855,7 +6855,7 @@ dissect_dcm_main(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gboolean i
by someone else.
Since tcp packets are now assembled well by wireshark (in conjunction with the dissectors)
- we will only see properly aligned PDUs, at the beginning of the buffer, else its not DICOM
+ we will only see properly aligned PDUs, at the beginning of the buffer, else it's not DICOM
traffic.
Therefore do the byte checking as early as possible
diff --git a/epan/dissectors/packet-dcom.c b/epan/dissectors/packet-dcom.c
index 66104daa67..6f27e9b2d0 100644
--- a/epan/dissectors/packet-dcom.c
+++ b/epan/dissectors/packet-dcom.c
@@ -24,7 +24,7 @@
/* A few words about DCOM:
*
- * DCOM uses DCERPC as it's underlying "transport" protocol.
+ * DCOM uses DCERPC as its underlying "transport" protocol.
*
* The DCOM dissectors are called by DCERPC request and response calls.
* DCOM uses a small header after the DCERPC calls.
diff --git a/epan/dissectors/packet-eigrp.c b/epan/dissectors/packet-eigrp.c
index 4a236fa3ea..d5934c7c91 100644
--- a/epan/dissectors/packet-eigrp.c
+++ b/epan/dissectors/packet-eigrp.c
@@ -276,7 +276,7 @@
*
* With the addition of SAF the VRID space has been divided into two
* segments 0x0000-0x7fff is for EIGRP and vNets, 0x8000-0xffff is
- * for saf and it's associated vNets.
+ * for saf and its associated vNets.
*/
#define EIGRP_VRID_MASK 0x8001
#define EIGRP_VRID_AF_BASE 0x0000
@@ -1956,7 +1956,7 @@ dissect_eigrp_multi_topology_tlv (proto_item *ti, proto_tree *tree, tvbuff_t *tv
proto_tree_add_item(tree, hf_eigrp_tid, tvb, offset, 2, ENC_BIG_ENDIAN);
offset += 2;
- /* now its all about the family */
+ /* now it's all about the family */
afi = tvb_get_ntohs(tvb, offset);
proto_tree_add_item(tree, hf_eigrp_afi, tvb, offset, 2, ENC_BIG_ENDIAN);
offset += 2;
@@ -2136,9 +2136,9 @@ dissect_eigrp_metric_comm (proto_tree *tree, tvbuff_t *tvb, int offset, int limi
*
* @par
* Dissect the Metric Attributes which (optionally) are part of the wide-metric
- * route TLV. Some of the attributes which effect the metric is controlled by
+ * route TLV. Some of the attributes which effect the metric are controlled by
* K6 which is now part of the Parameter TLV. Also, eh extended community TLV is
- * no longer used, as its now append to the route
+ * no longer used, as it's now appended to the route
*/
static int
dissect_eigrp_wide_metric_attr (proto_tree *tree, tvbuff_t *tvb,
@@ -2363,7 +2363,7 @@ dissect_eigrp_multi_protocol_tlv (proto_item *ti, proto_tree *tree, tvbuff_t *tv
proto_tree_add_item(tree, hf_eigrp_tid, tvb, offset, 2, ENC_BIG_ENDIAN);
offset += 2;
- /* now its all about the family */
+ /* now it's all about the family */
afi = tvb_get_ntohs(tvb, offset);
proto_tree_add_item(tree, hf_eigrp_afi, tvb, offset, 2, ENC_BIG_ENDIAN);
offset += 2;
@@ -2538,7 +2538,7 @@ dissect_eigrp (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _
while (tvb_reported_length_remaining(tvb, offset) > 0) {
tlv = tvb_get_ntohs(tvb, offset);
- /* its a rose by the wrong name... */
+ /* it's a rose by the wrong name... */
if (tlv == EIGRP_TLV_MTR_TIDLIST) {
tlv = EIGRP_TLV_PEER_TIDLIST;
}
diff --git a/epan/dissectors/packet-erf.c b/epan/dissectors/packet-erf.c
index 434cb349bd..5e2beeaee5 100644
--- a/epan/dissectors/packet-erf.c
+++ b/epan/dissectors/packet-erf.c
@@ -769,7 +769,7 @@ channelised_fill_vc_id_string(emem_strbuf_t* out_string, sdh_g707_format_t* in_f
}
if ( ! is_printed )
{
- /* Not printed . possibly its a ocXc packet with (0,0,0...) */
+ /* Not printed . possibly it's a ocXc packet with (0,0,0...) */
for ( i =0; i < in_fmt->m_vc_size - 2; i++)
{
ep_strbuf_append_printf(out_string, "%s0",
diff --git a/epan/dissectors/packet-ged125.c b/epan/dissectors/packet-ged125.c
index f74e966062..3f41bee428 100644
--- a/epan/dissectors/packet-ged125.c
+++ b/epan/dissectors/packet-ged125.c
@@ -1283,7 +1283,7 @@ dissect_ged125(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _
message_type = tvb_get_ntohl(tvb, 4);
- /*checks to make sure its of a ged125 base message type*/
+ /*checks to make sure it's of a ged125 base message type*/
if (match_strval(message_type, base_message_values) == NULL)
return 0; /* not a known command */
diff --git a/epan/dissectors/packet-giop.c b/epan/dissectors/packet-giop.c
index 3520417ff9..50ad0a7b0e 100644
--- a/epan/dissectors/packet-giop.c
+++ b/epan/dissectors/packet-giop.c
@@ -815,7 +815,7 @@ static const guint GIOP_MAJOR = 1;
static const guint GIOP_MINOR = 2;
/* 1 Mb Used as a sanity check to ensure correct endian of message size field */
-#define GIOP_MAX_MESSAGE_SIZE 1024*1000
+#define GIOP_MAX_MESSAGE_SIZE 1024*1000
static const value_string reply_status_types[] = {
@@ -2131,10 +2131,10 @@ static void set_new_alignment(int *offset, int delta, int alignment) {
/*
* For a given data type, given by a TypeCode gets the associated data
* and displays it in the relevant tree.
- */
+ */
-static void dissect_data_for_typecode(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
- proto_item *item, gint *offset,
+static void dissect_data_for_typecode(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
+ proto_item *item, gint *offset,
gboolean stream_is_big_endian, guint32 boundary,
MessageHeader * header, guint32 data_type ) {
@@ -2920,7 +2920,7 @@ guint32 get_CDR_enum(tvbuff_t *tvb, int *offset, gboolean stream_is_big_endian,
* or <4,0> ?
*
*/
-void get_CDR_fixed(tvbuff_t *tvb, packet_info *pinfo, proto_item *item, gchar **seq,
+void get_CDR_fixed(tvbuff_t *tvb, packet_info *pinfo, proto_item *item, gchar **seq,
gint *offset, guint32 digits, gint32 scale) {
guint8 sign; /* 0x0c is positive, 0x0d is negative */
@@ -3021,7 +3021,7 @@ void get_CDR_fixed(tvbuff_t *tvb, packet_info *pinfo, proto_item *item, gchar **
(*seq)[sindex] = '-';
break;
default:
- expert_add_info_format(pinfo, item, PI_PROTOCOL, PI_WARN,
+ expert_add_info_format(pinfo, item, PI_PROTOCOL, PI_WARN,
"Unknown sign value in fixed type %u", sign);
(*seq)[sindex] = '*'; /* flag as sign unknown */
break;
@@ -3326,8 +3326,8 @@ guint32 get_CDR_string(tvbuff_t *tvb, const gchar **seq, int *offset, gboolean s
* It returns a guint32 representing a TCKind value.
*/
-guint32 get_CDR_typeCode(tvbuff_t *tvb, packet_info* pinfo, proto_tree *tree,
- gint *offset, gboolean stream_is_big_endian,
+guint32 get_CDR_typeCode(tvbuff_t *tvb, packet_info* pinfo, proto_tree *tree,
+ gint *offset, gboolean stream_is_big_endian,
int boundary, MessageHeader * header ) {
guint32 val;
@@ -3715,7 +3715,7 @@ dissect_target_address(tvbuff_t * tvb, packet_info *pinfo, int *offset, proto_tr
get_CDR_octet_seq(tvb, &object_key, offset, len);
- proto_tree_add_string(tree, hf_giop_target_address_key_addr, tvb, *offset - len,
+ proto_tree_add_string(tree, hf_giop_target_address_key_addr, tvb, *offset - len,
len, make_printable_string( object_key, len ));
if (object_key_len) {
@@ -3822,7 +3822,7 @@ static void decode_UnknownServiceContext(tvbuff_t *tvb, packet_info *pinfo, prot
get_CDR_octet_seq(tvb, &context_data, offset, context_data_len);
/* Make a printable string */
- proto_tree_add_string(tree, hf_giop_context_data, tvb, *offset - context_data_len ,
+ proto_tree_add_string(tree, hf_giop_context_data, tvb, *offset - context_data_len ,
context_data_len, make_printable_string( context_data, context_data_len));
}
@@ -3986,7 +3986,7 @@ dissect_reply_body (tvbuff_t *tvb, guint offset, packet_info *pinfo,
{
header->exception_id = tvb_get_ephemeral_stringz(tvb,offset, &sequence_length);
- proto_tree_add_string(tree, hf_giop_exception_id, tvb, offset,
+ proto_tree_add_string(tree, hf_giop_exception_id, tvb, offset,
sequence_length, header->exception_id);
offset += sequence_length;
}
@@ -4361,7 +4361,7 @@ dissect_giop_request_1_1 (tvbuff_t * tvb, packet_info * pinfo,
if( len > 0)
{
get_CDR_octet_seq(tvb, &requesting_principal, &offset, len);
- proto_tree_add_string(request_tree, hf_giop_req_principal, tvb, offset - len, len,
+ proto_tree_add_string(request_tree, hf_giop_req_principal, tvb, offset - len, len,
make_printable_string(requesting_principal, len));
}
@@ -4680,7 +4680,7 @@ static void dissect_giop_common (tvbuff_t * tvb, packet_info * pinfo, proto_tree
header_tree = proto_item_add_subtree (ti, ett_giop_header);
proto_tree_add_item(header_tree, hf_giop_message_magic, tvb, 0, 4, ENC_NA|ENC_ASCII);
- version_item = proto_tree_add_text (header_tree, tvb, 4, 2,
+ version_item = proto_tree_add_text (header_tree, tvb, 4, 2,
"Version: %u.%u", header.GIOP_version.major, header.GIOP_version.minor);
header_version_tree = proto_item_add_subtree (version_item, ett_giop_header_version);
proto_tree_add_item(header_version_tree, hf_giop_message_major_version, tvb, 4, 1, ENC_NA);
@@ -4741,14 +4741,14 @@ static void dissect_giop_common (tvbuff_t * tvb, packet_info * pinfo, proto_tree
col_add_fstr (pinfo->cinfo, COL_INFO, "GIOP %u.%u %s, s=%u",
header.GIOP_version.major, header.GIOP_version.minor,
- val_to_str(header.message_type, giop_message_types, "Unknown message type (0x%02x)"),
+ val_to_str(header.message_type, giop_message_types, "Unknown message type (0x%02x)"),
message_size);
ti = proto_tree_add_uint(header_tree, hf_giop_message_size, tvb, 8, 4, message_size);
if (message_size > GIOP_MAX_MESSAGE_SIZE)
{
- expert_add_info_format(pinfo, ti, PI_PROTOCOL, PI_WARN,
- "Message size %u is too big, perhaps its an endian issue?", message_size);
+ expert_add_info_format(pinfo, ti, PI_PROTOCOL, PI_WARN,
+ "Message size %u is too big, perhaps it's an endian issue?", message_size);
return;
}
@@ -5638,7 +5638,7 @@ static void decode_IIOP_IOR_profile(tvbuff_t *tvb, packet_info *pinfo, proto_tre
}
/*
- * Now see if if its v1.1 or 1.2, as they can contain
+ * Now see if if it's v1.1 or 1.2, as they can contain
* extra sequence of IOP::TaggedComponents
*
*/
@@ -5707,7 +5707,7 @@ static void decode_SystemExceptionReplyBody (tvbuff_t *tvb, proto_tree *tree, gi
proto_tree_add_uint(tree, hf_giop_exception_len, tvb, *offset-4, 4, length);
if (length > 0)
- proto_tree_add_string(tree, hf_giop_exception_id, tvb,
+ proto_tree_add_string(tree, hf_giop_exception_id, tvb,
*offset - length, length, buf);
minor_code_value = get_CDR_ulong(tvb, offset, stream_is_big_endian, boundary);
diff --git a/epan/dissectors/packet-glusterd.c b/epan/dissectors/packet-glusterd.c
index 2fec7bf25c..4317db7d2d 100644
--- a/epan/dissectors/packet-glusterd.c
+++ b/epan/dissectors/packet-glusterd.c
@@ -71,7 +71,7 @@ static gint ett_gd_mgmt = -1;
static gint ett_gd_brick = -1;
static gint ett_gd_friend = -1;
-/* the UUID is the same as a GlusterFS GFID, except its encoded per byte */
+/* the UUID is the same as a GlusterFS GFID, except it's encoded per byte */
static int
gluster_gd_mgmt_dissect_uuid(tvbuff_t *tvb, proto_tree *tree, int hfindex,
int offset)
diff --git a/epan/dissectors/packet-gssapi.c b/epan/dissectors/packet-gssapi.c
index 5354c35741..0b8e3403b6 100644
--- a/epan/dissectors/packet-gssapi.c
+++ b/epan/dissectors/packet-gssapi.c
@@ -244,7 +244,7 @@ dissect_gssapi_work(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
gss_tvb=tvb;
- /* First of all, if its the first time we see this packet
+ /* First of all, if it's the first time we see this packet
* then check whether we are in the middle of reassembly or not
*/
if( (!pinfo->fd->flags.visited)
diff --git a/epan/dissectors/packet-h264.c b/epan/dissectors/packet-h264.c
index e697d017be..49dbe65b7a 100644
--- a/epan/dissectors/packet-h264.c
+++ b/epan/dissectors/packet-h264.c
@@ -661,7 +661,7 @@ more_rbsp_data(proto_tree *tree _U_, tvbuff_t *tvb, packet_info *pinfo _U_, gint
/* XXX might not be the best way of doing things but:
* Serch from the end of the tvb for the first '1' bit
- * assuming that its's the RTBSP stop bit
+ * assuming that it's the RTBSP stop bit
*/
/* Set offset to the byte we are treating */
diff --git a/epan/dissectors/packet-ipars.c b/epan/dissectors/packet-ipars.c
index a1e914b164..5c11821a27 100644
--- a/epan/dissectors/packet-ipars.c
+++ b/epan/dissectors/packet-ipars.c
@@ -75,11 +75,11 @@ dissect_ipars(tvbuff_t *tvb, packet_info *pinfo _U_ , proto_tree *tree)
if (tvb_length_remaining(tvb, offset) >= 1) ia = tvb_get_guint8(tvb, offset + 0);
if (tvb_length_remaining(tvb, offset) >= 2) ta = tvb_get_guint8(tvb, offset + 1);
- if (ia == 0x83 || ia == 0x43 || ia == GA) { /* if its an FPGA or 'corresponsdance code' 'go ahead'... */
+ if (ia == 0x83 || ia == 0x43 || ia == GA) { /* if it's an FPGA or 'corresponsdance code' 'go ahead'... */
if (tvb_length_remaining(tvb, offset) > 2) { /* if the msg is long, it must have been a 'poll' */
if (check_col(pinfo->cinfo, COL_INFO))
col_add_fstr(pinfo->cinfo, COL_INFO, "Poll IA: %2.2X", ta);
- } else { /* if its short, then it was a 'no traffic' response */
+ } else { /* if it's short, then it was a 'no traffic' response */
if (tvb_length_remaining(tvb, offset) >= 2 ) {
if (check_col(pinfo->cinfo, COL_INFO))
col_add_fstr(pinfo->cinfo, COL_INFO, "GoAhead NextIA (0x%2.2X)", ta);
@@ -88,7 +88,7 @@ dissect_ipars(tvbuff_t *tvb, packet_info *pinfo _U_ , proto_tree *tree)
col_set_str(pinfo->cinfo, COL_INFO, "GoAhead NextIA");
}
}
- } else { /* if its not a 'go ahead'... it must be some kind of data message */
+ } else { /* if it's not a 'go ahead'... it must be some kind of data message */
ia &= 0x3f;
ta &= 0x3f;
if (ta == 0x20) {
diff --git a/epan/dissectors/packet-isis-hello.c b/epan/dissectors/packet-isis-hello.c
index 9933b6b297..1376fa9958 100644
--- a/epan/dissectors/packet-isis-hello.c
+++ b/epan/dissectors/packet-isis-hello.c
@@ -923,7 +923,7 @@ dissect_hello_ptp_adj_clv(tvbuff_t *tvb,
*
* Description:
* Take apart a IS neighbor packet. A neighbor is n 6 byte packets.
- * (they tend to be an 802.3 MAC address, but its not required).
+ * (they tend to be an 802.3 MAC address, but it's not required).
*
* Input:
* tvbuff_t * : tvbuffer for packet data
diff --git a/epan/dissectors/packet-mac-lte.h b/epan/dissectors/packet-mac-lte.h
index 6d66193316..ee9f5efa1b 100644
--- a/epan/dissectors/packet-mac-lte.h
+++ b/epan/dissectors/packet-mac-lte.h
@@ -229,7 +229,7 @@ int is_mac_lte_frame_retx(packet_info *pinfo, guint8 direction);
to show you display/filter/plot/add-custom-columns on these fields, so should
be added if available.
The format is to have the tag, followed by the value (there is no length field,
- its implicit from the tag) */
+ it's implicit from the tag) */
#define MAC_LTE_RNTI_TAG 0x02
/* 2 bytes, network order */
diff --git a/epan/dissectors/packet-mbtcp.c b/epan/dissectors/packet-mbtcp.c
index a90ad91d94..e67dd75e74 100644
--- a/epan/dissectors/packet-mbtcp.c
+++ b/epan/dissectors/packet-mbtcp.c
@@ -649,7 +649,7 @@ static int
dissect_mbtcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
{
- /* Make sure there's at least enough data to determine its a Modbus TCP packet */
+ /* Make sure there's at least enough data to determine it's a Modbus TCP packet */
if (!tvb_bytes_exist(tvb, 0, 8))
return 0;
@@ -675,7 +675,7 @@ static int
dissect_mbrtu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
{
- /* Make sure there's at least enough data to determine its a Modbus packet */
+ /* Make sure there's at least enough data to determine it's a Modbus packet */
if (!tvb_bytes_exist(tvb, 0, 8))
return 0;
diff --git a/epan/dissectors/packet-memcache.c b/epan/dissectors/packet-memcache.c
index e8c7d88299..bf3f7d626a 100644
--- a/epan/dissectors/packet-memcache.c
+++ b/epan/dissectors/packet-memcache.c
@@ -873,7 +873,7 @@ dissect_memcache_message (tvbuff_t *tvb, int offset, packet_info *pinfo, proto_t
memcache_tree = proto_item_add_subtree (memcache_item, ett_memcache);
/* Process the packet data. The first line is expected to be a
- * header. If its not a header then we don't dissect.
+ * header. If it's not a header then we don't dissect.
* At this point, we already know if it is a request or a
* response.
*/
@@ -1538,7 +1538,7 @@ memcache_request_dissector (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
offset += (int) (next_token - line);
line = next_token;
- /* check if its expiration or noreply */
+ /* check if it's expiration or noreply */
tokenlen = get_token_len (line, lineend, &next_token);
if (tokenlen == 0) {
return offset; /* neither expiration nor noreply; CRLF */
@@ -1609,7 +1609,7 @@ memcache_request_dissector (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
break;
case OP_FLUSH:
- /* check if its expiration or noreply */
+ /* check if it's expiration or noreply */
tokenlen = get_token_len (line, lineend, &next_token);
if (tokenlen == 0) {
return offset; /* neither expiration nor noreply; CRLF */
diff --git a/epan/dissectors/packet-mgcp.c b/epan/dissectors/packet-mgcp.c
index 198849f2fd..3efe6407f2 100644
--- a/epan/dissectors/packet-mgcp.c
+++ b/epan/dissectors/packet-mgcp.c
@@ -346,7 +346,7 @@ static int dissect_mgcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, voi
/*
* Check to see whether we're really dealing with MGCP by looking
* for a valid MGCP verb or response code. This isn't infallible,
- * but its cheap and its better than nothing.
+ * but it's cheap and it's better than nothing.
*/
if (is_mgcp_verb(tvb,0,tvb_len, &verb_name) || is_mgcp_rspcode(tvb,0,tvb_len))
{
@@ -501,7 +501,7 @@ static void dissect_mgcp_message(tvbuff_t *tvb, packet_info *pinfo, proto_tree *
/*
* Check to see whether we're really dealing with MGCP by looking
* for a valid MGCP verb or response code. This isn't infallible,
- * but its cheap and its better than nothing.
+ * but it's cheap and it's better than nothing.
*/
if (is_mgcp_verb(tvb,0,tvb_len,&verb_name) || is_mgcp_rspcode(tvb,0,tvb_len))
{
diff --git a/epan/dissectors/packet-mojito.c b/epan/dissectors/packet-mojito.c
index 847cd09e4b..2412265e33 100644
--- a/epan/dissectors/packet-mojito.c
+++ b/epan/dissectors/packet-mojito.c
@@ -704,7 +704,7 @@ dissect_mojito(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _
static gboolean dissect_mojito_heuristic (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
{
/*
- Test the overall length to make sure its at least 61 bytes (the header)
+ Test the overall length to make sure it's at least 61 bytes (the header)
Test to make sure that it's of type 44 (mojito)
Test to make sure that the length field is there and correct
(tvb_get_letohl(tvb, 20) + 23) == tvb_length(tvb)
diff --git a/epan/dissectors/packet-mp2t.c b/epan/dissectors/packet-mp2t.c
index 44f07523ff..6578624e09 100644
--- a/epan/dissectors/packet-mp2t.c
+++ b/epan/dissectors/packet-mp2t.c
@@ -814,7 +814,7 @@ calc_skips(gint32 curr, gint32 prev)
int res = 0;
/* Only count the missing TS frames in between prev and curr.
- * The "prev" frame CC number seen is confirmed received, its
+ * The "prev" frame CC number seen is confirmed received, it's
* the next frames CC counter which is the first known missing
* TS frame
*/
diff --git a/epan/dissectors/packet-ntlmssp.c b/epan/dissectors/packet-ntlmssp.c
index 83ecfa8b9c..ec781a39ae 100644
--- a/epan/dissectors/packet-ntlmssp.c
+++ b/epan/dissectors/packet-ntlmssp.c
@@ -2090,7 +2090,7 @@ decrypt_data_payload(tvbuff_t *tvb, int offset, guint32 encrypted_block_length,
/*printnchar(packet_ntlmssp_info->decrypted_payload, encrypted_block_length, "data: ", "\n");*/
/* We setup a temporary buffer so we can re-encrypt the payload after
decryption. This is to update the opposite peer's RC4 state
- it's usefull when we have only one key for both conversation
+ it's useful when we have only one key for both conversation
in case of KEY_EXCH we have independant key so this is not needed*/
if (!(NTLMSSP_NEGOTIATE_KEY_EXCH & conv_ntlmssp_info->flags)) {
guint8 *peer_block;
diff --git a/epan/dissectors/packet-omron-fins.c b/epan/dissectors/packet-omron-fins.c
index f5850fc5e0..cceed2747f 100644
--- a/epan/dissectors/packet-omron-fins.c
+++ b/epan/dissectors/packet-omron-fins.c
@@ -11,7 +11,7 @@
* Reference for OMRON-FINS W227_E1_02_FINS_Command_Reference_Manual
* Hopefully google will find it for you.
*
- * Special thanks to the guys who wrote the README.developer its great.
+ * Special thanks to the guys who wrote the README.developer: it's great.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
diff --git a/epan/dissectors/packet-pcep.c b/epan/dissectors/packet-pcep.c
index 83df428c09..ce61f55790 100644
--- a/epan/dissectors/packet-pcep.c
+++ b/epan/dissectors/packet-pcep.c
@@ -1260,7 +1260,7 @@ dissect_pcep_open_obj (proto_tree *pcep_object_tree, tvbuff_t *tvb, int offset2,
SID = tvb_get_guint8(tvb, offset2+3);
proto_tree_add_text(pcep_object_tree, tvb, offset2+3, 1, "SID: %u", SID);
- /*it's suppose that obj_length is a a valid date. The object can have optional TLV(s)*/
+ /*it's suppose that obj_length is a valid date. The object can have optional TLV(s)*/
offset2 += OPEN_OBJ_MIN_LEN;
obj_length -= OBJ_HDR_LEN+OPEN_OBJ_MIN_LEN;
dissect_pcep_tlvs(pcep_object_tree, tvb, offset2, obj_length, ett_pcep_obj_open);
@@ -1312,7 +1312,7 @@ dissect_pcep_rp_obj(proto_tree *pcep_object_tree,
requested_id_number = tvb_get_ntohl(tvb, offset2+4);
proto_tree_add_text(pcep_object_tree, tvb, offset2+4, 4, "Requested ID Number: 0x%08x", requested_id_number);
- /*it's suppose that obj_length is a a valid date. The object can have optional TLV(s)*/
+ /*it's suppose that obj_length is a valid date. The object can have optional TLV(s)*/
offset2 += RP_OBJ_MIN_LEN;
obj_length -= OBJ_HDR_LEN+RP_OBJ_MIN_LEN;
dissect_pcep_tlvs(pcep_object_tree, tvb, offset2, obj_length, ett_pcep_obj_request_parameters);
@@ -1351,7 +1351,7 @@ dissect_pcep_no_path_obj(proto_tree *pcep_object_tree,
reserved = tvb_get_guint8(tvb, offset2+3);
proto_tree_add_text(pcep_object_tree, tvb, offset2+3, 1, "Reserved: 0x%02x", reserved);
- /*it's suppose that obj_length is a a valid date. The object can have optional TLV(s)*/
+ /*it's suppose that obj_length is a valid date. The object can have optional TLV(s)*/
offset2 += NO_PATH_OBJ_MIN_LEN;
obj_length -= OBJ_HDR_LEN+NO_PATH_OBJ_MIN_LEN;
dissect_pcep_tlvs(pcep_object_tree, tvb, offset2, obj_length, ett_pcep_obj_no_path);
@@ -1638,7 +1638,7 @@ dissect_pcep_lspa_obj(proto_tree *pcep_object_tree, tvbuff_t *tvb, int offset2,
reserved = tvb_get_guint8(tvb, offset2+15);
proto_tree_add_text(pcep_object_tree, tvb, offset2+15, 1, "Reserved: 0x%02x", reserved);
- /*it's suppose that obj_length is a a valid date. The object can have optional TLV(s)*/
+ /*it's suppose that obj_length is a valid date. The object can have optional TLV(s)*/
offset2 += LSPA_OBJ_MIN_LEN;
obj_length -= OBJ_HDR_LEN+LSPA_OBJ_MIN_LEN;
dissect_pcep_tlvs(pcep_object_tree, tvb, offset2, obj_length, ett_pcep_obj_lspa);
@@ -1797,7 +1797,7 @@ dissect_pcep_notification_obj(proto_tree *pcep_object_tree, tvbuff_t *tvb, int o
nv = tvb_get_guint8(tvb, offset2+3);
proto_tree_add_text(pcep_object_tree, tvb, offset2+3, 1, "Notification Value: 0x%02x", nv);
- /*it's suppose that obj_length is a a valid date. The object can have optional TLV(s)*/
+ /*it's suppose that obj_length is a valid date. The object can have optional TLV(s)*/
offset2 += NOTIFICATION_OBJ_MIN_LEN;
obj_length -= OBJ_HDR_LEN+NOTIFICATION_OBJ_MIN_LEN;
dissect_pcep_tlvs(pcep_object_tree, tvb, offset2, obj_length, ett_pcep_obj_notification);
@@ -1888,7 +1888,7 @@ dissect_pcep_error_obj(proto_tree *pcep_object_tree, tvbuff_t *tvb, int offset2,
}
proto_tree_add_text(pcep_object_tree, tvb, offset2+3, 1, "Error-Value: %s (%u)", err_str, error_value);
- /*it's suppose that obj_length is a a valid date. The object can have optional TLV(s)*/
+ /*it's suppose that obj_length is a valid date. The object can have optional TLV(s)*/
offset2 += ERROR_OBJ_MIN_LEN;
obj_length -= OBJ_HDR_LEN+ERROR_OBJ_MIN_LEN;
dissect_pcep_tlvs(pcep_object_tree, tvb, offset2, obj_length, ett_pcep_obj_error);
@@ -1956,7 +1956,7 @@ dissect_pcep_close_obj(proto_tree *pcep_object_tree, tvbuff_t *tvb, int offset2,
reason = tvb_get_guint8(tvb, offset2+3);
proto_tree_add_text(pcep_object_tree, tvb, offset2+3, 1, "Reason: %s (%u)", val_to_str_const(reason, pcep_close_reason_obj_vals, "Unknown"), reason);
- /*it's suppose that obj_length is a a valid date. The object can have optional TLV(s)*/
+ /*it's suppose that obj_length is a valid date. The object can have optional TLV(s)*/
offset2 += CLOSE_OBJ_MIN_LEN;
obj_length -= OBJ_HDR_LEN+CLOSE_OBJ_MIN_LEN;
dissect_pcep_tlvs(pcep_object_tree, tvb, offset2, obj_length, ett_pcep_obj_load_balancing);
diff --git a/epan/dissectors/packet-pdcp-lte.c b/epan/dissectors/packet-pdcp-lte.c
index c1201ceb7c..51bbfc66c7 100644
--- a/epan/dissectors/packet-pdcp-lte.c
+++ b/epan/dissectors/packet-pdcp-lte.c
@@ -1284,7 +1284,7 @@ static void dissect_pdcp_lte(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree
}
}
else {
- /* Show that its a no-header PDU */
+ /* Show that it's a no-header PDU */
write_pdu_label_and_info(root_ti, pinfo, " No-Header ");
}
diff --git a/epan/dissectors/packet-pdcp-lte.h b/epan/dissectors/packet-pdcp-lte.h
index 3faec5d08f..5abcc1354f 100644
--- a/epan/dissectors/packet-pdcp-lte.h
+++ b/epan/dissectors/packet-pdcp-lte.h
@@ -120,7 +120,7 @@ typedef struct pdcp_lte_info
/* Conditional field. This field is mandatory in case of User Plane PDCP PDU.
The format is to have the tag, followed by the value (there is no length field,
- its implicit from the tag). The allowed values are defined above. */
+ it's implicit from the tag). The allowed values are defined above. */
#define PDCP_LTE_SEQNUM_LENGTH_TAG 0x02
/* 1 byte */
@@ -129,7 +129,7 @@ typedef struct pdcp_lte_info
to show you display/filter/plot/add-custom-columns on these fields, so should
be added if available.
The format is to have the tag, followed by the value (there is no length field,
- its implicit from the tag) */
+ it's implicit from the tag) */
#define PDCP_LTE_DIRECTION_TAG 0x03
/* 1 byte */
diff --git a/epan/dissectors/packet-redback.c b/epan/dissectors/packet-redback.c
index fc0ef0aa62..394b697b50 100644
--- a/epan/dissectors/packet-redback.c
+++ b/epan/dissectors/packet-redback.c
@@ -104,7 +104,7 @@ dissect_redback(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
/*
* This is ISIS - Either incoming with ethernet FCS
* and CLNP - passed to the eth dissector or in case
- * of outgoing its pure ISIS and the linecard attaches
+ * of outgoing it's pure ISIS and the linecard attaches
* the ethernet and CLNP headers ...
*
*/
diff --git a/epan/dissectors/packet-retix-bpdu.c b/epan/dissectors/packet-retix-bpdu.c
index e76ac14031..1c3f3b79c9 100644
--- a/epan/dissectors/packet-retix-bpdu.c
+++ b/epan/dissectors/packet-retix-bpdu.c
@@ -46,7 +46,7 @@ static int hf_retix_bpdu_max_age = -1;
static int hf_retix_bpdu_hello_time = -1;
static int hf_retix_bpdu_forward_delay = -1;
-/* I don't have the spec's for this protcol so its been reverse engineered
+/* I don't have the spec's for this protcol so it's been reverse engineered
* It seems quite like 802.1D
* It looks like the protocol version is specified in the ethernet trailer
* In the single packet I have the trailer is
diff --git a/epan/dissectors/packet-rlc-lte.c b/epan/dissectors/packet-rlc-lte.c
index 289852933a..c3c506c2e3 100644
--- a/epan/dissectors/packet-rlc-lte.c
+++ b/epan/dissectors/packet-rlc-lte.c
@@ -1868,7 +1868,7 @@ static void checkChannelACKWindow(guint16 ack_sn,
return;
}
- /* Is it in the rx window? This test will catch if its ahead, but we don't
+ /* Is it in the rx window? This test will catch if it's ahead, but we don't
really know what the back of the tx window is... */
if (((1024 + p_channel_status->previousSequenceNumber+1 - ack_sn) % 1024) > 512) {
diff --git a/epan/dissectors/packet-rlc-lte.h b/epan/dissectors/packet-rlc-lte.h
index d93a0f743a..96a9db0eab 100644
--- a/epan/dissectors/packet-rlc-lte.h
+++ b/epan/dissectors/packet-rlc-lte.h
@@ -119,7 +119,7 @@ void set_rlc_lte_drb_pdcp_seqnum_length(guint16 ueid, guint8 drbid, guint8 userp
/* Conditional field. This field is mandatory in case of RLC Unacknowledged mode.
The format is to have the tag, followed by the value (there is no length field,
- its implicit from the tag). The allowed values are defined above. */
+ it's implicit from the tag). The allowed values are defined above. */
#define RLC_LTE_UM_SN_LENGTH_TAG 0x02
/* 1 byte */
@@ -128,7 +128,7 @@ void set_rlc_lte_drb_pdcp_seqnum_length(guint16 ueid, guint8 drbid, guint8 userp
to show you display/filter/plot/add-custom-columns on these fields, so should
be added if available.
The format is to have the tag, followed by the value (there is no length field,
- its implicit from the tag) */
+ it's implicit from the tag) */
#define RLC_LTE_DIRECTION_TAG 0x03
/* 1 byte */
diff --git a/epan/dissectors/packet-rlc.h b/epan/dissectors/packet-rlc.h
index a18020b28f..3b89a2a206 100644
--- a/epan/dissectors/packet-rlc.h
+++ b/epan/dissectors/packet-rlc.h
@@ -104,7 +104,7 @@ gboolean rlc_is_ciphered(packet_info * pinfo);
to show you display/filter/plot/add-custom-columns on these fields, so should
be added if available.
The format is to have the tag, followed by the value (there is no length field,
- its implicit from the tag) */
+ it's implicit from the tag) */
#define DIRECTION_UPLINK 0
#define DIRECTION_DOWNLINK 1
diff --git a/epan/dissectors/packet-rsync.c b/epan/dissectors/packet-rsync.c
index 0ec48af139..a16e604277 100644
--- a/epan/dissectors/packet-rsync.c
+++ b/epan/dissectors/packet-rsync.c
@@ -181,7 +181,7 @@ dissect_rsync_encap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
/* there are two cases - file list, or authentication */
tvb_get_nstringz0(tvb, offset, sizeof(auth_string), auth_string);
if (0 == strncmp("@RSYNCD:", auth_string, 8)) {
- /* matches, so we assume its an authentication message */
+ /* matches, so we assume it's an authentication message */
/* needs to handle the AUTHREQD case, but doesn't - FIXME */
proto_tree_add_item(rsync_tree, hf_rsync_rsyncdok_string, tvb, offset, -1, ENC_ASCII|ENC_NA);
diff --git a/epan/dissectors/packet-rtcp.c b/epan/dissectors/packet-rtcp.c
index d6c59f7609..5935fe6a6e 100644
--- a/epan/dissectors/packet-rtcp.c
+++ b/epan/dissectors/packet-rtcp.c
@@ -1236,7 +1236,7 @@ dissect_rtcp_app( tvbuff_t *tvb,packet_info *pinfo, int offset, proto_tree *tree
/* SIP URI */
item_len = tvb_get_guint8( tvb, offset );
- /* Item len of 1 because its an FT_UINT_STRING... */
+ /* Item len of 1 because it's an FT_UINT_STRING... */
proto_tree_add_item(PoC1_tree, hf_rtcp_app_poc1_sip_uri,
tvb, offset, 1, ENC_ASCII|ENC_NA );
offset++;
@@ -1267,7 +1267,7 @@ dissect_rtcp_app( tvbuff_t *tvb,packet_info *pinfo, int offset, proto_tree *tree
/* Display name */
item_len = tvb_get_guint8( tvb, offset );
- /* Item len of 1 because its an FT_UINT_STRING... */
+ /* Item len of 1 because it's an FT_UINT_STRING... */
proto_tree_add_item(PoC1_tree, hf_rtcp_app_poc1_disp_name,
tvb, offset, 1, ENC_ASCII|ENC_NA);
offset++;
diff --git a/epan/dissectors/packet-sccp.c b/epan/dissectors/packet-sccp.c
index 855051e167..0db54d7aeb 100644
--- a/epan/dissectors/packet-sccp.c
+++ b/epan/dissectors/packet-sccp.c
@@ -1890,7 +1890,7 @@ dissect_sccp_called_calling_param(tvbuff_t *tvb, proto_tree *tree, packet_info *
offset += ADDRESS_SSN_LENGTH;
/* Get the dissector handle of the dissector registered for this ssn
- * And print it's name.
+ * And print its name.
*/
ssn_dissector = dissector_get_uint_handle(sccp_ssn_dissector_table, ssn);
diff --git a/epan/dissectors/packet-sccp.h b/epan/dissectors/packet-sccp.h
index 3226d57a7c..447fc54683 100644
--- a/epan/dissectors/packet-sccp.h
+++ b/epan/dissectors/packet-sccp.h
@@ -111,7 +111,7 @@ extern gboolean looks_like_valid_sccp(guint32 frame_num, tvbuff_t *tvb, guint8 m
#define GT_ODD_SIGNAL_MASK 0x0f
#define GT_EVEN_SIGNAL_MASK 0xf0
#define GT_EVEN_SIGNAL_SHIFT 4
-#define GT_MAX_SIGNALS (32*7) /* its a bit big, but it allows for adding a lot of "(spare)" and "Unknown" values (7 chars) if there are errors - e.g. ANSI vs ITU wrongly selected */
+#define GT_MAX_SIGNALS (32*7) /* it's a bit big, but it allows for adding a lot of "(spare)" and "Unknown" values (7 chars) if there are errors - e.g. ANSI vs ITU wrongly selected */
WS_VAR_IMPORT const value_string sccp_address_signal_values[];
#endif
diff --git a/epan/dissectors/packet-sip.c b/epan/dissectors/packet-sip.c
index 2fc01683a6..114df746ef 100644
--- a/epan/dissectors/packet-sip.c
+++ b/epan/dissectors/packet-sip.c
@@ -3018,7 +3018,7 @@ dissect_sip_common(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tr
(line_end_offset-value_offset)));
break;
default :
- /* Default case is to assume its an FT_STRING field */
+ /* Default case is to assume it's an FT_STRING field */
if(hdr_tree) {
sip_element_item = proto_tree_add_string_format(hdr_tree,
hf_header_array[hf_index], tvb,
diff --git a/epan/dissectors/packet-synphasor.c b/epan/dissectors/packet-synphasor.c
index 2a405c5d24..c25baf2d72 100644
--- a/epan/dissectors/packet-synphasor.c
+++ b/epan/dissectors/packet-synphasor.c
@@ -138,7 +138,7 @@ typedef struct {
/* holds the information for an analog value */
typedef struct {
char name[CHNAM_LEN + 1];
- guint32 conv; /* conversation factor, user defined scaling (so its pretty useless) */
+ guint32 conv; /* conversation factor, user defined scaling (so it's pretty useless) */
} analog_info;
/* holds information required to dissect a single PMU block in a data frame */
diff --git a/epan/dissectors/packet-tcp.c b/epan/dissectors/packet-tcp.c
index 91c60ee294..a455492255 100644
--- a/epan/dissectors/packet-tcp.c
+++ b/epan/dissectors/packet-tcp.c
@@ -4208,7 +4208,7 @@ dissect_tcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
conv=find_or_create_conversation(pinfo);
tcpd=get_tcp_conversation_data(conv,pinfo);
- /* If this is a SYN packet, then check if it's seq-nr is different
+ /* If this is a SYN packet, then check if its seq-nr is different
* from the base_seq of the retrieved conversation. If this is the
* case, create a new conversation with the same addresses and ports
* and set the TA_PORTS_REUSED flag. If the seq-nr is the same as
diff --git a/epan/dissectors/packet-teamspeak2.c b/epan/dissectors/packet-teamspeak2.c
index 0ba01cef63..b776c41f67 100644
--- a/epan/dissectors/packet-teamspeak2.c
+++ b/epan/dissectors/packet-teamspeak2.c
@@ -425,7 +425,7 @@ static void ts2_standard_dissect(tvbuff_t *tvb, packet_info *pinfo, proto_tree *
proto_tree_add_item(ts2_tree, hf_ts2_fragmentnumber, tvb, 18, 2, ENC_LITTLE_ENDIAN);
ts2_add_checked_crc32(ts2_tree, hf_ts2_crc32, tvb, 20, tvb_get_letohl(tvb, 20));
- /* Reassemble the packet if its fragmented */
+ /* Reassemble the packet if it's fragmented */
new_tvb = NULL;
if(frag->fragmented)
{
@@ -807,7 +807,7 @@ static void dissect_ts2(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
}
break;
case TS2C_ACK:
- /* Ignore the type for ACK, its always zero and clashes with CELP_5_1 */
+ /* Ignore the type for ACK, it's always zero and clashes with CELP_5_1 */
proto_tree_add_item(ts2_tree, hf_ts2_seqnum, tvb, 12, 4, ENC_LITTLE_ENDIAN);
break;
diff --git a/epan/dissectors/packet-tipc.c b/epan/dissectors/packet-tipc.c
index b95794d676..47c9a8456d 100644
--- a/epan/dissectors/packet-tipc.c
+++ b/epan/dissectors/packet-tipc.c
@@ -2049,7 +2049,7 @@ dissect_tipc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
case TIPCv1:
msg_type = tvb_get_guint8(tipc_tvb, offset + 20)>>4;
col_append_fstr(pinfo->cinfo, COL_INFO, " %s(%u) ", val_to_str_const(user, tipc_user_values, "unknown"), user);
- /* Set msg type in info col and find out if its a data hdr or not */
+ /* Set msg type in info col and find out if it's a data hdr or not */
datatype_hdr = tipc_v1_set_col_msgtype(pinfo, user, msg_type);
if (datatype_hdr) {
/* Data type header */
@@ -2079,7 +2079,7 @@ dissect_tipc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
/* Set msg type in info col */
tipc_v2_set_info_col(tvb, pinfo, user, msg_type, hdr_size);
- /* find out if its a data hdr or not */
+ /* find out if it's a data hdr or not */
switch (user) {
case TIPCv2_DATA_LOW:
case TIPCv2_DATA_NORMAL:
diff --git a/epan/dissectors/packet-umts_fp.c b/epan/dissectors/packet-umts_fp.c
index dd7cbc1ad5..55a5e01f28 100644
--- a/epan/dissectors/packet-umts_fp.c
+++ b/epan/dissectors/packet-umts_fp.c
@@ -753,7 +753,7 @@ dissect_tb_data(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
proto_item_append_text(tree_ti, " (%u bits in %u tbs)", data_bits, num_tbs);
}
- /* Move offset past TBs (we know its already padded out to next byte) */
+ /* Move offset past TBs (we know it's already padded out to next byte) */
offset += (bit_offset / 8);
return offset;
@@ -820,7 +820,7 @@ dissect_macd_pdu_data(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
/* Data tree should cover entire length */
proto_item_set_len(pdus_ti, bit_offset/8);
- /* Move offset past PDUs (we know its already padded out to next byte) */
+ /* Move offset past PDUs (we know it's already padded out to next byte) */
offset += (bit_offset / 8);
/* Show summary in info column */
@@ -873,7 +873,7 @@ dissect_macd_pdu_data_type_2(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree
call_dissector(mac_fdd_hsdsch_handle, next_tvb, pinfo, top_level_tree);
dissected = TRUE;
}
-
+
/* Advance offset */
offset += length;
}
@@ -2970,8 +2970,8 @@ dissect_e_dch_t2_or_common_channel_info(tvbuff_t *tvb, packet_info *pinfo, proto
offset += 2;
/* This is only allowed if:
- - its the common case AND
- - its the first descriptor */
+ - it's the common case AND
+ - it's the first descriptor */
if (!is_common) {
expert_add_info_format(pinfo, ti,
PI_MALFORMED, PI_ERROR,
@@ -3141,16 +3141,16 @@ dissect_hsdsch_channel_info(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
offset += 2;
header_length = offset;
-
-
+
+
/************************/
/*Configure the pdus*/
for(i=0;i<number_of_pdus; i++){
macinf->content[i] = hsdsch_macdflow_id_mac_content_map[p_fp_info->hsdsch_macflowd_id]; /*MAC_CONTENT_PS_DTCH;*/
macinf->lchid[i] = fake_lchid_macd_flow[p_fp_info->hsdsch_macflowd_id];/*Faked logical channel id 255 used as a mark it doesnt exists...*/
macinf->fake_chid[i] = TRUE; /**/
- macinf->macdflow_id[i] = p_fp_info->hsdsch_macflowd_id; /*Save the flow ID (+1 to make it human readable (its zero indexed!))*/
- /*Figure out RLC_MODE based on MACd-flow-ID, basically MACd-flow-ID = 0 then its SRB0 == UM else AM*/
+ macinf->macdflow_id[i] = p_fp_info->hsdsch_macflowd_id; /*Save the flow ID (+1 to make it human readable (it's zero indexed!))*/
+ /*Figure out RLC_MODE based on MACd-flow-ID, basically MACd-flow-ID = 0 then it's SRB0 == UM else AM*/
rlcinf->mode[i] = hsdsch_macdflow_id_rlc_map[p_fp_info->hsdsch_macflowd_id];
@@ -3160,14 +3160,14 @@ dissect_hsdsch_channel_info(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
}else if(p_fp_info->hsdsch_macflowd_id == 0){ /*MACd-flow = 0 is often SRB */
expert_add_info_format(pinfo,NULL,PI_PROTOCOL,PI_NOTE,"Found MACd-Flow = 0 and not MUX detected. (This might be SRB)");
}else{
- macinf->ctmux[i] = FALSE; /*Either it's multiplexed and not signled or its not MUX*/
+ macinf->ctmux[i] = FALSE; /*Either it's multiplexed and not signled or it's not MUX*/
}
rlcinf->urnti[i] = p_fp_info->com_context_id;
rlcinf->li_size[i] = RLC_LI_7BITS;
rlcinf->deciphered[i] = FALSE;
rlcinf->ciphered[i] = FALSE;
rlcinf->rbid[i] = macinf->lchid[i];
-
+
/*When a flow has been reconfigured rlc needs to be reset.
* This needs more work though since we must figure out when the re-configuration becomes
* active based on the CFN value
@@ -3177,11 +3177,11 @@ dissect_hsdsch_channel_info(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
if(p_fp_info->reset_frag){
rlc_reset_channel(rlcinf->mode[i], macinf->lchid[i], p_fp_info->is_uplink, rlcinf->urnti[i] );
p_fp_info->reset_frag = FALSE;
-
+
}
#endif
}
-
+
/* MAC-d PDUs */
offset = dissect_macd_pdu_data(tvb, pinfo, tree, offset, pdu_length,
@@ -3443,7 +3443,7 @@ dissect_hsdsch_type_2_channel_info(tvbuff_t *tvb, packet_info *pinfo, proto_tree
macinf->content[j] = lchId_type_table[lchid[n]+1];/*hsdsch_macdflow_id_mac_content_map[p_fp_info->hsdsch_macflowd_id];*/ /*MAC_CONTENT_PS_DTCH;*/
macinf->lchid[j] = (guint8)lchid[n]+1; /*Add 1 since C/T is zero indexed? ie C/T =0 => L-CHID = 1*/
macinf->macdflow_id[j] = p_fp_info->hsdsch_macflowd_id;
- /*Figure out RLC_MODE based on MACd-flow-ID, basically MACd-flow-ID = 0 then its SRB0 == UM else AM*/
+ /*Figure out RLC_MODE based on MACd-flow-ID, basically MACd-flow-ID = 0 then it's SRB0 == UM else AM*/
rlcinf->mode[j] = lchId_rlc_map[lchid[n]+1];/*hsdsch_macdflow_id_rlc_map[p_fp_info->hsdsch_macflowd_id];*/
macinf->ctmux[n] = FALSE;
@@ -3843,7 +3843,7 @@ fp_set_per_packet_inf_from_conv(umts_fp_conversation_info_t *p_conv_data,
fpi->dch_crc_present = p_conv_data->dch_crc_present;
/*fpi->paging_indications;*/
fpi->link_type = FP_Link_Ethernet;
-
+
#if 0
/*Only do this the first run, signals that we need to reset the RLC fragtable*/
if(!pinfo->fd->flags.visited && p_conv_data->reset_frag ){
@@ -3857,7 +3857,7 @@ fp_set_per_packet_inf_from_conv(umts_fp_conversation_info_t *p_conv_data,
fpi->destport = pinfo->destport;
fpi->com_context_id = p_conv_data->com_context_id;
-
+
if (pinfo->link_dir==P2P_DIR_UL) {
fpi->is_uplink = TRUE;
} else {
@@ -3878,7 +3878,7 @@ fp_set_per_packet_inf_from_conv(umts_fp_conversation_info_t *p_conv_data,
rlcinf = se_new0(rlc_info);
- /*Figure out RLC_MODE based on MACd-flow-ID, basically MACd-flow-ID = 0 then its SRB0 == UM else AM*/
+ /*Figure out RLC_MODE based on MACd-flow-ID, basically MACd-flow-ID = 0 then it's SRB0 == UM else AM*/
rlcinf->mode[0] = hsdsch_macdflow_id_rlc_map[p_conv_data->hsdsch_macdflow_id];
if(fpi->hsdsch_entity == hs /*&& !rlc_is_ciphered(pinfo)*/){
@@ -3918,8 +3918,8 @@ fp_set_per_packet_inf_from_conv(umts_fp_conversation_info_t *p_conv_data,
rlcinf->ciphered[0] = FALSE;
rlcinf->deciphered[0] = FALSE;
p_add_proto_data(pinfo->fd, proto_rlc, rlcinf);
-
-
+
+
return fpi;
case CHANNEL_EDCH:
@@ -4200,7 +4200,7 @@ dissect_fp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
}*/
p_conv_data = (umts_fp_conversation_info_t *)conversation_get_proto_data(p_conv, proto_fp);
-
+
if (p_conv_data) {
/*Figure out the direction of the link*/
if (ADDRESSES_EQUAL(&(pinfo->net_dst), (&p_conv_data->crnc_address))) {
@@ -4302,7 +4302,7 @@ dissect_fp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
ti = proto_tree_add_uint(fp_tree, hf_fp_direction, tvb, 0, 0, p_fp_info->is_uplink);
PROTO_ITEM_SET_GENERATED(ti);
- /* Don't currently handle IuR-specific formats, but its useful to even see
+ /* Don't currently handle IuR-specific formats, but it's useful to even see
the channel type and direction */
if (p_fp_info->iface_type == IuR_Interface) {
return;