Add UE Id to UDP framing protocol
authorPascal Quantin <pascal.quantin@gmail.com>
Sat, 6 Jul 2013 21:43:44 +0000 (21:43 -0000)
committerPascal Quantin <pascal.quantin@gmail.com>
Sat, 6 Jul 2013 21:43:44 +0000 (21:43 -0000)
svn path=/trunk/; revision=50422

epan/dissectors/packet-pdcp-lte.c
epan/dissectors/packet-pdcp-lte.h

index 6c13f4d42347a6bb2140580fb09c1b18309b9c8e..d9f34670e76d9049da0d85728ea42bb7f38d9fa7 100644 (file)
@@ -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 */
index 20f6e5d1a2f3763c393e3e24fc189557420277fa..fd14060de5ba9e560ebe7fbead3dd948f7a5d230 100644 (file)
@@ -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