/* This lwapp dissector assumes that there is an 802.3 header at the start of the packet, so it simply re-calls the ethernet dissector on the packet.  */
static int dissect_lwapp_l3(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
/* This lwapp dissector assumes that there is an 802.3 header at the start of the packet, so it simply re-calls the ethernet dissector on the packet.  */
static int dissect_lwapp_l3(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
{
    proto_item *ti;
    proto_tree *lwapp_tree;
    gint        offset = 0;
    tvbuff_t   *next_client;
    col_set_str(pinfo->cinfo, COL_PROTOCOL, "LWAPP-L3");
    col_set_str(pinfo->cinfo, COL_INFO, "802.3 Packets over Layer 3");
    ti = proto_tree_add_item(tree, proto_lwapp_l3, tvb, offset,
                                -1, ENC_NA);
    lwapp_tree = proto_item_add_subtree(ti, ett_lwapp_l3);
    next_client = tvb_new_subset_remaining(tvb, 0);
    call_dissector(eth_withoutfcs_handle, next_client, pinfo, lwapp_tree);
    return tvb_captured_length(tvb);
}