aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-pdcp-lte.h
diff options
context:
space:
mode:
authorMartin Mathieson <martin.r.mathieson@googlemail.com>2013-10-29 13:49:14 +0000
committerMartin Mathieson <martin.r.mathieson@googlemail.com>2013-10-29 13:49:14 +0000
commit66d64c686e57edee73d3c9833acbaa78c2ab89cd (patch)
tree33b19bd55aec96160a970945e5eabb0fb6e991e3 /epan/dissectors/packet-pdcp-lte.h
parent6d3988ffd378867ef0c2d8e398d275ccef1a0de1 (diff)
Pass security command details (integrity and ciphering algorithms) to PDCP (which doesn't yet do much with them)
svn path=/trunk/; revision=52946
Diffstat (limited to 'epan/dissectors/packet-pdcp-lte.h')
-rw-r--r--epan/dissectors/packet-pdcp-lte.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/epan/dissectors/packet-pdcp-lte.h b/epan/dissectors/packet-pdcp-lte.h
index fd14060de5..910d44b3a5 100644
--- a/epan/dissectors/packet-pdcp-lte.h
+++ b/epan/dissectors/packet-pdcp-lte.h
@@ -58,6 +58,15 @@ typedef enum
#define PDCP_SN_LENGTH_12_BITS 12
#define PDCP_SN_LENGTH_15_BITS 15
+enum security_integrity_algorithm_e { eia0, eia1, eia2, eia3 };
+enum security_ciphering_algorithm_e { eea0, eea1, eea2 };
+
+typedef struct pdcp_security_info_t
+{
+ guint32 configuration_frame;
+ enum security_integrity_algorithm_e integrity;
+ enum security_ciphering_algorithm_e ciphering;
+} pdcp_security_info_t;
/* Info attached to each LTE PDCP/RoHC packet */
@@ -170,3 +179,9 @@ typedef struct pdcp_lte_info
/* 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
+
+
+
+/* Function to configure ciphering & integrity algorithms */
+void set_pdcp_lte_security_algorithms(guint16 ueid, pdcp_security_info_t *security_info);
+