aboutsummaryrefslogtreecommitdiffstats
path: root/tests/libosmo-pfcp/pfcp_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libosmo-pfcp/pfcp_test.c')
-rw-r--r--tests/libosmo-pfcp/pfcp_test.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/libosmo-pfcp/pfcp_test.c b/tests/libosmo-pfcp/pfcp_test.c
index b204a9f..801932c 100644
--- a/tests/libosmo-pfcp/pfcp_test.c
+++ b/tests/libosmo-pfcp/pfcp_test.c
@@ -205,6 +205,10 @@ struct osmo_pfcp_msg tests[] = {
.precedence = 255,
.pdi = {
.source_iface = OSMO_PFCP_SOURCE_IFACE_CORE,
+ .network_inst_present = true,
+ .network_inst = {
+ .str = "foo",
+ },
.ue_ip_address_present = true,
.ue_ip_address = {
.ip_is_destination = true,
@@ -224,6 +228,10 @@ struct osmo_pfcp_msg tests[] = {
.source_iface = OSMO_PFCP_SOURCE_IFACE_ACCESS,
.local_f_teid_present = true,
.local_f_teid = f_teid_access_local,
+ .network_inst_present = true,
+ .network_inst = {
+ .str = "bar",
+ },
},
.outer_header_removal_present = true,
.outer_header_removal = {
@@ -318,6 +326,10 @@ struct osmo_pfcp_msg tests[] = {
.source_iface = OSMO_PFCP_SOURCE_IFACE_ACCESS,
.local_f_teid_present = true,
.local_f_teid = f_teid_access_local,
+ .network_inst_present = true,
+ .network_inst = {
+ .str = "baz",
+ },
},
.outer_header_removal_present = true,
.outer_header_removal = {
@@ -349,6 +361,10 @@ struct osmo_pfcp_msg tests[] = {
.source_iface = OSMO_PFCP_SOURCE_IFACE_ACCESS,
.local_f_teid_present = true,
.local_f_teid = f_teid_access_local,
+ .network_inst_present = true,
+ .network_inst = {
+ .str = "moo",
+ },
},
.outer_header_removal_present = true,
.outer_header_removal = {