diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2013-07-06 21:43:44 +0000 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2013-07-06 21:43:44 +0000 |
commit | 67e4c15d4eb9d2b458d7a69bf1fa6e20dd757583 (patch) | |
tree | 3324c23a6c7a0dced4066b3f3f4e6951b265b42d | |
parent | 10b4dc9f4a37d5b50d25f6fc83230f1552eed3f7 (diff) |
Add UE Id to UDP framing protocol
svn path=/trunk/; revision=50422
-rw-r--r-- | epan/dissectors/packet-pdcp-lte.c | 4 | ||||
-rw-r--r-- | epan/dissectors/packet-pdcp-lte.h | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/epan/dissectors/packet-pdcp-lte.c b/epan/dissectors/packet-pdcp-lte.c index 6c13f4d423..d9f34670e7 100644 --- a/epan/dissectors/packet-pdcp-lte.c +++ b/epan/dissectors/packet-pdcp-lte.c @@ -946,6 +946,10 @@ static gboolean dissect_pdcp_lte_heur(tvbuff_t *tvb, packet_info *pinfo, p_pdcp_lte_info->channelId = tvb_get_ntohs(tvb, offset); offset += 2; break; + case PDCP_LTE_UEID_TAG: + p_pdcp_lte_info->ueid = tvb_get_ntohs(tvb, offset); + offset += 2; + break; case PDCP_LTE_PAYLOAD_TAG: /* Have reached data, so get out of loop */ diff --git a/epan/dissectors/packet-pdcp-lte.h b/epan/dissectors/packet-pdcp-lte.h index 20f6e5d1a2..fd14060de5 100644 --- a/epan/dissectors/packet-pdcp-lte.h +++ b/epan/dissectors/packet-pdcp-lte.h @@ -164,6 +164,9 @@ typedef struct pdcp_lte_info #define PDCP_LTE_CHANNEL_ID_TAG 0x0D /* 2 bytes, network order */ +#define PDCP_LTE_UEID_TAG 0x0E +/* 2 bytes, network order */ + /* PDCP PDU. Following this tag comes the actual PDCP PDU (there is no length, the PDU continues until the end of the frame) */ #define PDCP_LTE_PAYLOAD_TAG 0x01 |