summaryrefslogtreecommitdiffstats
path: root/src/vnet/udp/udp.h
diff options
context:
space:
mode:
authorKingwel Xie <kingwel.xie@ericsson.com>2018-10-26 23:42:15 -0400
committerDamjan Marion <dmarion@me.com>2018-10-27 09:14:00 +0000
commit4af47092eec97ce88f66174570cfc6a7baad4c6c (patch)
treeaba1f35887db4a14a5f7c91440aa84acc7ed9dc7 /src/vnet/udp/udp.h
parent6e43e0680fc21c6a986289cec4406c3624d3bbe6 (diff)
pg: allow creating pg for udp based protocols
f.g., gtpu4/6 Change-Id: I8bb1dc5fd2fba89ff17ec069a9816bafb9684190 Signed-off-by: Kingwel Xie <kingwel.xie@ericsson.com>
Diffstat (limited to 'src/vnet/udp/udp.h')
-rw-r--r--src/vnet/udp/udp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vnet/udp/udp.h b/src/vnet/udp/udp.h
index 91d063a2f0c..3b6de6ca271 100644
--- a/src/vnet/udp/udp.h
+++ b/src/vnet/udp/udp.h
@@ -107,6 +107,9 @@ typedef struct
/* Next index for this type. */
u32 next_index;
+
+ /* Parser for packet generator edits for this protocol */
+ unformat_function_t *unformat_pg_edit;
} udp_dst_port_info_t;
typedef enum