~ubuntu-branches/ubuntu/gutsy/wireshark/gutsy-security

« back to all changes in this revision

Viewing changes to asn1/ulp/packet-ulp-template.c

  • Committer: Bazaar Package Importer
  • Author(s): Frederic Peters
  • Date: 2007-04-01 08:58:40 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20070401085840-or3qhrpv8alt1bwg
Tags: 0.99.5-1
* New upstream release.
* debian/patches/09_idl2wrs.dpatch: updated to patch idl2wrs.sh.in.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 * Routines for OMA UserPlane Location Protocol packet dissection
3
3
 * Copyright 2006, Anders Broman <anders.broman@ericsson.com>
4
4
 *
5
 
 * $Id: packet-ulp-template.c 18279 2006-05-31 20:22:51Z etxrab $
 
5
 * $Id: packet-ulp-template.c 19751 2006-10-31 09:29:07Z sahlberg $
6
6
 *
7
7
 * Wireshark - Network traffic analyzer
8
8
 * By Gerald Combs <gerald@wireshark.org>
80
80
 
81
81
 
82
82
static guint
83
 
get_ulp_pdu_len(tvbuff_t *tvb, int offset)
 
83
get_ulp_pdu_len(packet_info *pinfo _U_, tvbuff_t *tvb, int offset)
84
84
{
85
85
        /* PDU length = Message length */
86
86
        return tvb_get_ntohs(tvb,offset);