/* Create a sub-tree and fill it with a net_addr structure  */
static proto_tree* create_address_tree(tvbuff_t *tvb, proto_item *ti, guint32 offset)
/* Create a sub-tree and fill it with a net_addr structure  */
static proto_tree* create_address_tree(tvbuff_t *tvb, proto_item *ti, guint32 offset)
{
  proto_tree *tree;
  tree = proto_item_add_subtree(ti, ett_address);
  ti = proto_tree_add_item(tree, &hfi_address_services, tvb, offset, 8, ENC_LITTLE_ENDIAN);
  create_services_tree(tvb, ti, offset);
  offset += 8;
  proto_tree_add_item(tree, &hfi_address_address, tvb, offset, 16, ENC_NA);
  offset += 16;
  proto_tree_add_item(tree, &hfi_address_port, tvb, offset, 2, ENC_BIG_ENDIAN);
  return tree;
}