diff options
author | Jakub Zawadzki <darkjames-ws@darkjames.pl> | 2013-11-29 18:59:06 +0000 |
---|---|---|
committer | Jakub Zawadzki <darkjames-ws@darkjames.pl> | 2013-11-29 18:59:06 +0000 |
commit | 5ac6474c945133a8415fb3be917859e5d42b6256 (patch) | |
tree | ee20c73dfaf23171bd739a6a3d7558db0f451097 /asn1/h245 | |
parent | 288efa5128341fab8907f3a2969a0bed95ae65cf (diff) |
Rename some of pint.h macros to match common style (bits number on the end).
pntohs -> pntoh16
pntohl -> pntoh32
pletohs -> pletoh16
pletohl -> pletoh32
phtons -> phton16
phtonl -> phton32
svn path=/trunk/; revision=53652
Diffstat (limited to 'asn1/h245')
-rw-r--r-- | asn1/h245/h245.cnf | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/asn1/h245/h245.cnf b/asn1/h245/h245.cnf index 1232c02b86..b63be68e3d 100644 --- a/asn1/h245/h245.cnf +++ b/asn1/h245/h245.cnf @@ -790,7 +790,7 @@ if (h245_pi != NULL) gefx = gef_ctx_get(actx->private_data); if (gefx) { buf = (guint8 *)wmem_new(actx->pinfo->pool, guint16); - phtons(buf, value); + phton16(buf, value); value_tvb = tvb_new_child_real_data(tvb, buf, sizeof(guint16), sizeof(guint16)); /* DEBUG */ /*proto_tree_add_text(tree, tvb, offset>>3, 0, "*** DEBUG dissector_try_string: %%s", gefx->key);*/ add_new_data_source(%(ACTX)s->pinfo, value_tvb, "unsignedMin"); @@ -807,7 +807,7 @@ if (h245_pi != NULL) gefx = gef_ctx_get(actx->private_data); if (gefx) { buf = (guint8 *)wmem_new(actx->pinfo->pool, guint16); - phtons(buf, value); + phton16(buf, value); value_tvb = tvb_new_child_real_data(tvb, buf, sizeof(guint16), sizeof(guint16)); /* DEBUG */ /*proto_tree_add_text(tree, tvb, offset>>3, 0, "*** DEBUG dissector_try_string: %%s", gefx->key);*/ add_new_data_source(%(ACTX)s->pinfo, value_tvb, "unsignedMax"); @@ -824,7 +824,7 @@ if (h245_pi != NULL) gefx = gef_ctx_get(actx->private_data); if (gefx) { buf = (guint8 *)wmem_new(actx->pinfo->pool, guint32); - phtonl(buf, value); + phton32(buf, value); value_tvb = tvb_new_child_real_data(tvb, buf, sizeof(guint32), sizeof(guint32)); /* DEBUG */ /*proto_tree_add_text(tree, tvb, offset>>3, 0, "*** DEBUG dissector_try_string: %%s", gefx->key);*/ add_new_data_source(%(ACTX)s->pinfo, value_tvb, "unsigned32Min"); @@ -841,7 +841,7 @@ if (h245_pi != NULL) gefx = gef_ctx_get(actx->private_data); if (gefx) { buf = (guint8 *)wmem_new(actx->pinfo->pool, guint32); - phtonl(buf, value); + phton32(buf, value); value_tvb = tvb_new_child_real_data(tvb, buf, sizeof(guint32), sizeof(guint32)); /* DEBUG */ /*proto_tree_add_text(tree, tvb, offset>>3, 0, "*** DEBUG dissector_try_string: %%s", gefx->key);*/ add_new_data_source(%(ACTX)s->pinfo, value_tvb, "unsigned32Max"); |