/src/open5gs/lib/pfcp/message.c
Line | Count | Source |
1 | | /* |
2 | | * Copyright (C) 2019-2026 by Sukchan Lee <acetcom@gmail.com> |
3 | | * |
4 | | * This file is part of Open5GS. |
5 | | * |
6 | | * This program is free software: you can redistribute it and/or modify |
7 | | * it under the terms of the GNU Affero General Public License as published by |
8 | | * the Free Software Foundation, either version 3 of the License, or |
9 | | * (at your option) any later version. |
10 | | * |
11 | | * This program is distributed in the hope that it will be useful, |
12 | | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
13 | | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
14 | | * GNU General Public License for more details. |
15 | | * |
16 | | * You should have received a copy of the GNU General Public License |
17 | | * along with this program. If not, see <https://www.gnu.org/licenses/>. |
18 | | */ |
19 | | |
20 | | /******************************************************************************* |
21 | | * This file had been created by pfcp-tlv.py script v0.1.0 |
22 | | * Please do not modify this file but regenerate it via script. |
23 | | * Created on: 2026-06-16 15:45:22.429710 by acetcom |
24 | | * from r19.5.0/29244-j50.docx |
25 | | ******************************************************************************/ |
26 | | |
27 | | #include "ogs-pfcp.h" |
28 | | |
29 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_cause = |
30 | | { |
31 | | OGS_TLV_UINT8, |
32 | | "Cause", |
33 | | OGS_PFCP_CAUSE_TYPE, |
34 | | 1, |
35 | | 0, |
36 | | sizeof(ogs_pfcp_tlv_cause_t), |
37 | | { NULL } |
38 | | }; |
39 | | |
40 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_source_interface = |
41 | | { |
42 | | OGS_TLV_UINT8, |
43 | | "Source Interface", |
44 | | OGS_PFCP_SOURCE_INTERFACE_TYPE, |
45 | | 1, |
46 | | 0, |
47 | | sizeof(ogs_pfcp_tlv_source_interface_t), |
48 | | { NULL } |
49 | | }; |
50 | | |
51 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_f_teid = |
52 | | { |
53 | | OGS_TLV_VAR_STR, |
54 | | "F-TEID", |
55 | | OGS_PFCP_F_TEID_TYPE, |
56 | | 0, |
57 | | 0, |
58 | | sizeof(ogs_pfcp_tlv_f_teid_t), |
59 | | { NULL } |
60 | | }; |
61 | | |
62 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_network_instance = |
63 | | { |
64 | | OGS_TLV_VAR_STR, |
65 | | "Network Instance", |
66 | | OGS_PFCP_NETWORK_INSTANCE_TYPE, |
67 | | 0, |
68 | | 0, |
69 | | sizeof(ogs_pfcp_tlv_network_instance_t), |
70 | | { NULL } |
71 | | }; |
72 | | |
73 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_sdf_filter = |
74 | | { |
75 | | OGS_TLV_VAR_STR, |
76 | | "SDF Filter", |
77 | | OGS_PFCP_SDF_FILTER_TYPE, |
78 | | 0, |
79 | | 0, |
80 | | sizeof(ogs_pfcp_tlv_sdf_filter_t), |
81 | | { NULL } |
82 | | }; |
83 | | |
84 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_application_id = |
85 | | { |
86 | | OGS_TLV_VAR_STR, |
87 | | "Application ID", |
88 | | OGS_PFCP_APPLICATION_ID_TYPE, |
89 | | 0, |
90 | | 0, |
91 | | sizeof(ogs_pfcp_tlv_application_id_t), |
92 | | { NULL } |
93 | | }; |
94 | | |
95 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_gate_status = |
96 | | { |
97 | | OGS_TLV_UINT8, |
98 | | "Gate Status", |
99 | | OGS_PFCP_GATE_STATUS_TYPE, |
100 | | 1, |
101 | | 0, |
102 | | sizeof(ogs_pfcp_tlv_gate_status_t), |
103 | | { NULL } |
104 | | }; |
105 | | |
106 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_mbr = |
107 | | { |
108 | | OGS_TLV_VAR_STR, |
109 | | "MBR", |
110 | | OGS_PFCP_MBR_TYPE, |
111 | | 0, |
112 | | 0, |
113 | | sizeof(ogs_pfcp_tlv_mbr_t), |
114 | | { NULL } |
115 | | }; |
116 | | |
117 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_gbr = |
118 | | { |
119 | | OGS_TLV_VAR_STR, |
120 | | "GBR", |
121 | | OGS_PFCP_GBR_TYPE, |
122 | | 0, |
123 | | 0, |
124 | | sizeof(ogs_pfcp_tlv_gbr_t), |
125 | | { NULL } |
126 | | }; |
127 | | |
128 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_qer_correlation_id = |
129 | | { |
130 | | OGS_TLV_UINT32, |
131 | | "QER Correlation ID", |
132 | | OGS_PFCP_QER_CORRELATION_ID_TYPE, |
133 | | 4, |
134 | | 0, |
135 | | sizeof(ogs_pfcp_tlv_qer_correlation_id_t), |
136 | | { NULL } |
137 | | }; |
138 | | |
139 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_precedence = |
140 | | { |
141 | | OGS_TLV_UINT32, |
142 | | "Precedence", |
143 | | OGS_PFCP_PRECEDENCE_TYPE, |
144 | | 4, |
145 | | 0, |
146 | | sizeof(ogs_pfcp_tlv_precedence_t), |
147 | | { NULL } |
148 | | }; |
149 | | |
150 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_transport_level_marking = |
151 | | { |
152 | | OGS_TLV_VAR_STR, |
153 | | "Transport Level Marking", |
154 | | OGS_PFCP_TRANSPORT_LEVEL_MARKING_TYPE, |
155 | | 0, |
156 | | 0, |
157 | | sizeof(ogs_pfcp_tlv_transport_level_marking_t), |
158 | | { NULL } |
159 | | }; |
160 | | |
161 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_volume_threshold = |
162 | | { |
163 | | OGS_TLV_VAR_STR, |
164 | | "Volume Threshold", |
165 | | OGS_PFCP_VOLUME_THRESHOLD_TYPE, |
166 | | 0, |
167 | | 0, |
168 | | sizeof(ogs_pfcp_tlv_volume_threshold_t), |
169 | | { NULL } |
170 | | }; |
171 | | |
172 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_time_threshold = |
173 | | { |
174 | | OGS_TLV_UINT32, |
175 | | "Time Threshold", |
176 | | OGS_PFCP_TIME_THRESHOLD_TYPE, |
177 | | 4, |
178 | | 0, |
179 | | sizeof(ogs_pfcp_tlv_time_threshold_t), |
180 | | { NULL } |
181 | | }; |
182 | | |
183 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_monitoring_time = |
184 | | { |
185 | | OGS_TLV_VAR_STR, |
186 | | "Monitoring Time", |
187 | | OGS_PFCP_MONITORING_TIME_TYPE, |
188 | | 0, |
189 | | 0, |
190 | | sizeof(ogs_pfcp_tlv_monitoring_time_t), |
191 | | { NULL } |
192 | | }; |
193 | | |
194 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_subsequent_volume_threshold = |
195 | | { |
196 | | OGS_TLV_VAR_STR, |
197 | | "Subsequent Volume Threshold", |
198 | | OGS_PFCP_SUBSEQUENT_VOLUME_THRESHOLD_TYPE, |
199 | | 0, |
200 | | 0, |
201 | | sizeof(ogs_pfcp_tlv_subsequent_volume_threshold_t), |
202 | | { NULL } |
203 | | }; |
204 | | |
205 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_subsequent_time_threshold = |
206 | | { |
207 | | OGS_TLV_VAR_STR, |
208 | | "Subsequent Time Threshold", |
209 | | OGS_PFCP_SUBSEQUENT_TIME_THRESHOLD_TYPE, |
210 | | 0, |
211 | | 0, |
212 | | sizeof(ogs_pfcp_tlv_subsequent_time_threshold_t), |
213 | | { NULL } |
214 | | }; |
215 | | |
216 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_inactivity_detection_time = |
217 | | { |
218 | | OGS_TLV_VAR_STR, |
219 | | "Inactivity Detection Time", |
220 | | OGS_PFCP_INACTIVITY_DETECTION_TIME_TYPE, |
221 | | 0, |
222 | | 0, |
223 | | sizeof(ogs_pfcp_tlv_inactivity_detection_time_t), |
224 | | { NULL } |
225 | | }; |
226 | | |
227 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_reporting_triggers = |
228 | | { |
229 | | OGS_TLV_UINT24, |
230 | | "Reporting Triggers", |
231 | | OGS_PFCP_REPORTING_TRIGGERS_TYPE, |
232 | | 3, |
233 | | 0, |
234 | | sizeof(ogs_pfcp_tlv_reporting_triggers_t), |
235 | | { NULL } |
236 | | }; |
237 | | |
238 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_redirect_information = |
239 | | { |
240 | | OGS_TLV_VAR_STR, |
241 | | "Redirect Information", |
242 | | OGS_PFCP_REDIRECT_INFORMATION_TYPE, |
243 | | 0, |
244 | | 0, |
245 | | sizeof(ogs_pfcp_tlv_redirect_information_t), |
246 | | { NULL } |
247 | | }; |
248 | | |
249 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_report_type = |
250 | | { |
251 | | OGS_TLV_UINT8, |
252 | | "Report Type", |
253 | | OGS_PFCP_REPORT_TYPE_TYPE, |
254 | | 1, |
255 | | 0, |
256 | | sizeof(ogs_pfcp_tlv_report_type_t), |
257 | | { NULL } |
258 | | }; |
259 | | |
260 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_offending_ie = |
261 | | { |
262 | | OGS_TLV_UINT16, |
263 | | "Offending IE", |
264 | | OGS_PFCP_OFFENDING_IE_TYPE, |
265 | | 2, |
266 | | 0, |
267 | | sizeof(ogs_pfcp_tlv_offending_ie_t), |
268 | | { NULL } |
269 | | }; |
270 | | |
271 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_forwarding_policy = |
272 | | { |
273 | | OGS_TLV_VAR_STR, |
274 | | "Forwarding Policy", |
275 | | OGS_PFCP_FORWARDING_POLICY_TYPE, |
276 | | 0, |
277 | | 0, |
278 | | sizeof(ogs_pfcp_tlv_forwarding_policy_t), |
279 | | { NULL } |
280 | | }; |
281 | | |
282 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_destination_interface = |
283 | | { |
284 | | OGS_TLV_UINT8, |
285 | | "Destination Interface", |
286 | | OGS_PFCP_DESTINATION_INTERFACE_TYPE, |
287 | | 1, |
288 | | 0, |
289 | | sizeof(ogs_pfcp_tlv_destination_interface_t), |
290 | | { NULL } |
291 | | }; |
292 | | |
293 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_up_function_features = |
294 | | { |
295 | | OGS_TLV_VAR_STR, |
296 | | "UP Function Features", |
297 | | OGS_PFCP_UP_FUNCTION_FEATURES_TYPE, |
298 | | 0, |
299 | | 0, |
300 | | sizeof(ogs_pfcp_tlv_up_function_features_t), |
301 | | { NULL } |
302 | | }; |
303 | | |
304 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_apply_action = |
305 | | { |
306 | | OGS_TLV_UINT16, |
307 | | "Apply Action", |
308 | | OGS_PFCP_APPLY_ACTION_TYPE, |
309 | | 2, |
310 | | 0, |
311 | | sizeof(ogs_pfcp_tlv_apply_action_t), |
312 | | { NULL } |
313 | | }; |
314 | | |
315 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_downlink_data_service_information = |
316 | | { |
317 | | OGS_TLV_VAR_STR, |
318 | | "Downlink Data Service Information", |
319 | | OGS_PFCP_DOWNLINK_DATA_SERVICE_INFORMATION_TYPE, |
320 | | 0, |
321 | | 0, |
322 | | sizeof(ogs_pfcp_tlv_downlink_data_service_information_t), |
323 | | { NULL } |
324 | | }; |
325 | | |
326 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_downlink_data_notification_delay = |
327 | | { |
328 | | OGS_TLV_VAR_STR, |
329 | | "Downlink Data Notification Delay", |
330 | | OGS_PFCP_DOWNLINK_DATA_NOTIFICATION_DELAY_TYPE, |
331 | | 0, |
332 | | 0, |
333 | | sizeof(ogs_pfcp_tlv_downlink_data_notification_delay_t), |
334 | | { NULL } |
335 | | }; |
336 | | |
337 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_dl_buffering_duration = |
338 | | { |
339 | | OGS_TLV_VAR_STR, |
340 | | "DL Buffering Duration", |
341 | | OGS_PFCP_DL_BUFFERING_DURATION_TYPE, |
342 | | 0, |
343 | | 0, |
344 | | sizeof(ogs_pfcp_tlv_dl_buffering_duration_t), |
345 | | { NULL } |
346 | | }; |
347 | | |
348 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_dl_buffering_suggested_packet_count = |
349 | | { |
350 | | OGS_TLV_VAR_STR, |
351 | | "DL Buffering Suggested Packet Count", |
352 | | OGS_PFCP_DL_BUFFERING_SUGGESTED_PACKET_COUNT_TYPE, |
353 | | 0, |
354 | | 0, |
355 | | sizeof(ogs_pfcp_tlv_dl_buffering_suggested_packet_count_t), |
356 | | { NULL } |
357 | | }; |
358 | | |
359 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_pfcpsmreq_flags = |
360 | | { |
361 | | OGS_TLV_UINT8, |
362 | | "PFCPSMReq-Flags", |
363 | | OGS_PFCP_PFCPSMREQ_FLAGS_TYPE, |
364 | | 1, |
365 | | 0, |
366 | | sizeof(ogs_pfcp_tlv_pfcpsmreq_flags_t), |
367 | | { NULL } |
368 | | }; |
369 | | |
370 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_pfcpsrrsp_flags = |
371 | | { |
372 | | OGS_TLV_UINT8, |
373 | | "PFCPSRRsp-Flags", |
374 | | OGS_PFCP_PFCPSRRSP_FLAGS_TYPE, |
375 | | 1, |
376 | | 0, |
377 | | sizeof(ogs_pfcp_tlv_pfcpsrrsp_flags_t), |
378 | | { NULL } |
379 | | }; |
380 | | |
381 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_sequence_number = |
382 | | { |
383 | | OGS_TLV_VAR_STR, |
384 | | "Sequence Number", |
385 | | OGS_PFCP_SEQUENCE_NUMBER_TYPE, |
386 | | 0, |
387 | | 0, |
388 | | sizeof(ogs_pfcp_tlv_sequence_number_t), |
389 | | { NULL } |
390 | | }; |
391 | | |
392 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_metric = |
393 | | { |
394 | | OGS_TLV_VAR_STR, |
395 | | "Metric", |
396 | | OGS_PFCP_METRIC_TYPE, |
397 | | 0, |
398 | | 0, |
399 | | sizeof(ogs_pfcp_tlv_metric_t), |
400 | | { NULL } |
401 | | }; |
402 | | |
403 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_timer = |
404 | | { |
405 | | OGS_TLV_VAR_STR, |
406 | | "Timer", |
407 | | OGS_PFCP_TIMER_TYPE, |
408 | | 0, |
409 | | 0, |
410 | | sizeof(ogs_pfcp_tlv_timer_t), |
411 | | { NULL } |
412 | | }; |
413 | | |
414 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_pdr_id = |
415 | | { |
416 | | OGS_TLV_UINT16, |
417 | | "PDR ID", |
418 | | OGS_PFCP_PDR_ID_TYPE, |
419 | | 2, |
420 | | 0, |
421 | | sizeof(ogs_pfcp_tlv_pdr_id_t), |
422 | | { NULL } |
423 | | }; |
424 | | |
425 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_f_seid = |
426 | | { |
427 | | OGS_TLV_VAR_STR, |
428 | | "F-SEID", |
429 | | OGS_PFCP_F_SEID_TYPE, |
430 | | 0, |
431 | | 0, |
432 | | sizeof(ogs_pfcp_tlv_f_seid_t), |
433 | | { NULL } |
434 | | }; |
435 | | |
436 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_node_id = |
437 | | { |
438 | | OGS_TLV_VAR_STR, |
439 | | "Node ID", |
440 | | OGS_PFCP_NODE_ID_TYPE, |
441 | | 0, |
442 | | 0, |
443 | | sizeof(ogs_pfcp_tlv_node_id_t), |
444 | | { NULL } |
445 | | }; |
446 | | |
447 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_pfd_contents = |
448 | | { |
449 | | OGS_TLV_VAR_STR, |
450 | | "PFD contents", |
451 | | OGS_PFCP_PFD_CONTENTS_TYPE, |
452 | | 0, |
453 | | 0, |
454 | | sizeof(ogs_pfcp_tlv_pfd_contents_t), |
455 | | { NULL } |
456 | | }; |
457 | | |
458 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_measurement_method = |
459 | | { |
460 | | OGS_TLV_UINT8, |
461 | | "Measurement Method", |
462 | | OGS_PFCP_MEASUREMENT_METHOD_TYPE, |
463 | | 1, |
464 | | 0, |
465 | | sizeof(ogs_pfcp_tlv_measurement_method_t), |
466 | | { NULL } |
467 | | }; |
468 | | |
469 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_usage_report_trigger = |
470 | | { |
471 | | OGS_TLV_UINT24, |
472 | | "Usage Report Trigger", |
473 | | OGS_PFCP_USAGE_REPORT_TRIGGER_TYPE, |
474 | | 3, |
475 | | 0, |
476 | | sizeof(ogs_pfcp_tlv_usage_report_trigger_t), |
477 | | { NULL } |
478 | | }; |
479 | | |
480 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_measurement_period = |
481 | | { |
482 | | OGS_TLV_UINT32, |
483 | | "Measurement Period", |
484 | | OGS_PFCP_MEASUREMENT_PERIOD_TYPE, |
485 | | 4, |
486 | | 0, |
487 | | sizeof(ogs_pfcp_tlv_measurement_period_t), |
488 | | { NULL } |
489 | | }; |
490 | | |
491 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_fq_csid = |
492 | | { |
493 | | OGS_TLV_VAR_STR, |
494 | | "FQ-CSID", |
495 | | OGS_PFCP_FQ_CSID_TYPE, |
496 | | 0, |
497 | | 0, |
498 | | sizeof(ogs_pfcp_tlv_fq_csid_t), |
499 | | { NULL } |
500 | | }; |
501 | | |
502 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_volume_measurement = |
503 | | { |
504 | | OGS_TLV_VAR_STR, |
505 | | "Volume Measurement", |
506 | | OGS_PFCP_VOLUME_MEASUREMENT_TYPE, |
507 | | 0, |
508 | | 0, |
509 | | sizeof(ogs_pfcp_tlv_volume_measurement_t), |
510 | | { NULL } |
511 | | }; |
512 | | |
513 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_duration_measurement = |
514 | | { |
515 | | OGS_TLV_UINT32, |
516 | | "Duration Measurement", |
517 | | OGS_PFCP_DURATION_MEASUREMENT_TYPE, |
518 | | 4, |
519 | | 0, |
520 | | sizeof(ogs_pfcp_tlv_duration_measurement_t), |
521 | | { NULL } |
522 | | }; |
523 | | |
524 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_time_of_first_packet = |
525 | | { |
526 | | OGS_TLV_UINT32, |
527 | | "Time of First Packet", |
528 | | OGS_PFCP_TIME_OF_FIRST_PACKET_TYPE, |
529 | | 4, |
530 | | 0, |
531 | | sizeof(ogs_pfcp_tlv_time_of_first_packet_t), |
532 | | { NULL } |
533 | | }; |
534 | | |
535 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_time_of_last_packet = |
536 | | { |
537 | | OGS_TLV_UINT32, |
538 | | "Time of Last Packet", |
539 | | OGS_PFCP_TIME_OF_LAST_PACKET_TYPE, |
540 | | 4, |
541 | | 0, |
542 | | sizeof(ogs_pfcp_tlv_time_of_last_packet_t), |
543 | | { NULL } |
544 | | }; |
545 | | |
546 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_quota_holding_time = |
547 | | { |
548 | | OGS_TLV_UINT32, |
549 | | "Quota Holding Time", |
550 | | OGS_PFCP_QUOTA_HOLDING_TIME_TYPE, |
551 | | 4, |
552 | | 0, |
553 | | sizeof(ogs_pfcp_tlv_quota_holding_time_t), |
554 | | { NULL } |
555 | | }; |
556 | | |
557 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_dropped_dl_traffic_threshold = |
558 | | { |
559 | | OGS_TLV_VAR_STR, |
560 | | "Dropped DL Traffic Threshold", |
561 | | OGS_PFCP_DROPPED_DL_TRAFFIC_THRESHOLD_TYPE, |
562 | | 0, |
563 | | 0, |
564 | | sizeof(ogs_pfcp_tlv_dropped_dl_traffic_threshold_t), |
565 | | { NULL } |
566 | | }; |
567 | | |
568 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_volume_quota = |
569 | | { |
570 | | OGS_TLV_VAR_STR, |
571 | | "Volume Quota", |
572 | | OGS_PFCP_VOLUME_QUOTA_TYPE, |
573 | | 0, |
574 | | 0, |
575 | | sizeof(ogs_pfcp_tlv_volume_quota_t), |
576 | | { NULL } |
577 | | }; |
578 | | |
579 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_time_quota = |
580 | | { |
581 | | OGS_TLV_UINT32, |
582 | | "Time Quota", |
583 | | OGS_PFCP_TIME_QUOTA_TYPE, |
584 | | 4, |
585 | | 0, |
586 | | sizeof(ogs_pfcp_tlv_time_quota_t), |
587 | | { NULL } |
588 | | }; |
589 | | |
590 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_start_time = |
591 | | { |
592 | | OGS_TLV_UINT32, |
593 | | "Start Time", |
594 | | OGS_PFCP_START_TIME_TYPE, |
595 | | 4, |
596 | | 0, |
597 | | sizeof(ogs_pfcp_tlv_start_time_t), |
598 | | { NULL } |
599 | | }; |
600 | | |
601 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_end_time = |
602 | | { |
603 | | OGS_TLV_UINT32, |
604 | | "End Time", |
605 | | OGS_PFCP_END_TIME_TYPE, |
606 | | 4, |
607 | | 0, |
608 | | sizeof(ogs_pfcp_tlv_end_time_t), |
609 | | { NULL } |
610 | | }; |
611 | | |
612 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_urr_id = |
613 | | { |
614 | | OGS_TLV_UINT32, |
615 | | "URR ID", |
616 | | OGS_PFCP_URR_ID_TYPE, |
617 | | 4, |
618 | | 0, |
619 | | sizeof(ogs_pfcp_tlv_urr_id_t), |
620 | | { NULL } |
621 | | }; |
622 | | |
623 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_linked_urr_id = |
624 | | { |
625 | | OGS_TLV_VAR_STR, |
626 | | "Linked URR ID", |
627 | | OGS_PFCP_LINKED_URR_ID_TYPE, |
628 | | 0, |
629 | | 0, |
630 | | sizeof(ogs_pfcp_tlv_linked_urr_id_t), |
631 | | { NULL } |
632 | | }; |
633 | | |
634 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_outer_header_creation = |
635 | | { |
636 | | OGS_TLV_VAR_STR, |
637 | | "Outer Header Creation", |
638 | | OGS_PFCP_OUTER_HEADER_CREATION_TYPE, |
639 | | 0, |
640 | | 0, |
641 | | sizeof(ogs_pfcp_tlv_outer_header_creation_t), |
642 | | { NULL } |
643 | | }; |
644 | | |
645 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_bar_id = |
646 | | { |
647 | | OGS_TLV_UINT8, |
648 | | "BAR ID", |
649 | | OGS_PFCP_BAR_ID_TYPE, |
650 | | 1, |
651 | | 0, |
652 | | sizeof(ogs_pfcp_tlv_bar_id_t), |
653 | | { NULL } |
654 | | }; |
655 | | |
656 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_cp_function_features = |
657 | | { |
658 | | OGS_TLV_UINT8, |
659 | | "CP Function Features", |
660 | | OGS_PFCP_CP_FUNCTION_FEATURES_TYPE, |
661 | | 1, |
662 | | 0, |
663 | | sizeof(ogs_pfcp_tlv_cp_function_features_t), |
664 | | { NULL } |
665 | | }; |
666 | | |
667 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_usage_information = |
668 | | { |
669 | | OGS_TLV_VAR_STR, |
670 | | "Usage Information", |
671 | | OGS_PFCP_USAGE_INFORMATION_TYPE, |
672 | | 0, |
673 | | 0, |
674 | | sizeof(ogs_pfcp_tlv_usage_information_t), |
675 | | { NULL } |
676 | | }; |
677 | | |
678 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_application_instance_id = |
679 | | { |
680 | | OGS_TLV_VAR_STR, |
681 | | "Application Instance ID", |
682 | | OGS_PFCP_APPLICATION_INSTANCE_ID_TYPE, |
683 | | 0, |
684 | | 0, |
685 | | sizeof(ogs_pfcp_tlv_application_instance_id_t), |
686 | | { NULL } |
687 | | }; |
688 | | |
689 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_flow_information = |
690 | | { |
691 | | OGS_TLV_VAR_STR, |
692 | | "Flow Information", |
693 | | OGS_PFCP_FLOW_INFORMATION_TYPE, |
694 | | 0, |
695 | | 0, |
696 | | sizeof(ogs_pfcp_tlv_flow_information_t), |
697 | | { NULL } |
698 | | }; |
699 | | |
700 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_ue_ip_address = |
701 | | { |
702 | | OGS_TLV_VAR_STR, |
703 | | "UE IP Address", |
704 | | OGS_PFCP_UE_IP_ADDRESS_TYPE, |
705 | | 0, |
706 | | 0, |
707 | | sizeof(ogs_pfcp_tlv_ue_ip_address_t), |
708 | | { NULL } |
709 | | }; |
710 | | |
711 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_packet_rate = |
712 | | { |
713 | | OGS_TLV_VAR_STR, |
714 | | "Packet Rate", |
715 | | OGS_PFCP_PACKET_RATE_TYPE, |
716 | | 0, |
717 | | 0, |
718 | | sizeof(ogs_pfcp_tlv_packet_rate_t), |
719 | | { NULL } |
720 | | }; |
721 | | |
722 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_outer_header_removal = |
723 | | { |
724 | | OGS_TLV_VAR_STR, |
725 | | "Outer Header Removal", |
726 | | OGS_PFCP_OUTER_HEADER_REMOVAL_TYPE, |
727 | | 0, |
728 | | 0, |
729 | | sizeof(ogs_pfcp_tlv_outer_header_removal_t), |
730 | | { NULL } |
731 | | }; |
732 | | |
733 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_recovery_time_stamp = |
734 | | { |
735 | | OGS_TLV_UINT32, |
736 | | "Recovery Time Stamp", |
737 | | OGS_PFCP_RECOVERY_TIME_STAMP_TYPE, |
738 | | 4, |
739 | | 0, |
740 | | sizeof(ogs_pfcp_tlv_recovery_time_stamp_t), |
741 | | { NULL } |
742 | | }; |
743 | | |
744 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_dl_flow_level_marking = |
745 | | { |
746 | | OGS_TLV_VAR_STR, |
747 | | "DL Flow Level Marking", |
748 | | OGS_PFCP_DL_FLOW_LEVEL_MARKING_TYPE, |
749 | | 0, |
750 | | 0, |
751 | | sizeof(ogs_pfcp_tlv_dl_flow_level_marking_t), |
752 | | { NULL } |
753 | | }; |
754 | | |
755 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_header_enrichment = |
756 | | { |
757 | | OGS_TLV_VAR_STR, |
758 | | "Header Enrichment", |
759 | | OGS_PFCP_HEADER_ENRICHMENT_TYPE, |
760 | | 0, |
761 | | 0, |
762 | | sizeof(ogs_pfcp_tlv_header_enrichment_t), |
763 | | { NULL } |
764 | | }; |
765 | | |
766 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_measurement_information = |
767 | | { |
768 | | OGS_TLV_VAR_STR, |
769 | | "Measurement Information", |
770 | | OGS_PFCP_MEASUREMENT_INFORMATION_TYPE, |
771 | | 0, |
772 | | 0, |
773 | | sizeof(ogs_pfcp_tlv_measurement_information_t), |
774 | | { NULL } |
775 | | }; |
776 | | |
777 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_node_report_type = |
778 | | { |
779 | | OGS_TLV_VAR_STR, |
780 | | "Node Report Type", |
781 | | OGS_PFCP_NODE_REPORT_TYPE_TYPE, |
782 | | 0, |
783 | | 0, |
784 | | sizeof(ogs_pfcp_tlv_node_report_type_t), |
785 | | { NULL } |
786 | | }; |
787 | | |
788 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_remote_gtp_u_peer = |
789 | | { |
790 | | OGS_TLV_VAR_STR, |
791 | | "Remote GTP-U Peer", |
792 | | OGS_PFCP_REMOTE_GTP_U_PEER_TYPE, |
793 | | 0, |
794 | | 0, |
795 | | sizeof(ogs_pfcp_tlv_remote_gtp_u_peer_t), |
796 | | { NULL } |
797 | | }; |
798 | | |
799 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_ur_seqn = |
800 | | { |
801 | | OGS_TLV_UINT32, |
802 | | "UR-SEQN", |
803 | | OGS_PFCP_UR_SEQN_TYPE, |
804 | | 4, |
805 | | 0, |
806 | | sizeof(ogs_pfcp_tlv_ur_seqn_t), |
807 | | { NULL } |
808 | | }; |
809 | | |
810 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_activate_predefined_rules = |
811 | | { |
812 | | OGS_TLV_VAR_STR, |
813 | | "Activate Predefined Rules", |
814 | | OGS_PFCP_ACTIVATE_PREDEFINED_RULES_TYPE, |
815 | | 0, |
816 | | 0, |
817 | | sizeof(ogs_pfcp_tlv_activate_predefined_rules_t), |
818 | | { NULL } |
819 | | }; |
820 | | |
821 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_deactivate_predefined_rules = |
822 | | { |
823 | | OGS_TLV_VAR_STR, |
824 | | "Deactivate Predefined Rules", |
825 | | OGS_PFCP_DEACTIVATE_PREDEFINED_RULES_TYPE, |
826 | | 0, |
827 | | 0, |
828 | | sizeof(ogs_pfcp_tlv_deactivate_predefined_rules_t), |
829 | | { NULL } |
830 | | }; |
831 | | |
832 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_far_id = |
833 | | { |
834 | | OGS_TLV_UINT32, |
835 | | "FAR ID", |
836 | | OGS_PFCP_FAR_ID_TYPE, |
837 | | 4, |
838 | | 0, |
839 | | sizeof(ogs_pfcp_tlv_far_id_t), |
840 | | { NULL } |
841 | | }; |
842 | | |
843 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_qer_id = |
844 | | { |
845 | | OGS_TLV_UINT32, |
846 | | "QER ID", |
847 | | OGS_PFCP_QER_ID_TYPE, |
848 | | 4, |
849 | | 0, |
850 | | sizeof(ogs_pfcp_tlv_qer_id_t), |
851 | | { NULL } |
852 | | }; |
853 | | |
854 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_oci_flags = |
855 | | { |
856 | | OGS_TLV_VAR_STR, |
857 | | "OCI Flags", |
858 | | OGS_PFCP_OCI_FLAGS_TYPE, |
859 | | 0, |
860 | | 0, |
861 | | sizeof(ogs_pfcp_tlv_oci_flags_t), |
862 | | { NULL } |
863 | | }; |
864 | | |
865 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_pfcp_association_release_request = |
866 | | { |
867 | | OGS_TLV_VAR_STR, |
868 | | "PFCP Association Release Request", |
869 | | OGS_PFCP_PFCP_ASSOCIATION_RELEASE_REQUEST_TYPE, |
870 | | 0, |
871 | | 0, |
872 | | sizeof(ogs_pfcp_tlv_pfcp_association_release_request_t), |
873 | | { NULL } |
874 | | }; |
875 | | |
876 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_graceful_release_period = |
877 | | { |
878 | | OGS_TLV_VAR_STR, |
879 | | "Graceful Release Period", |
880 | | OGS_PFCP_GRACEFUL_RELEASE_PERIOD_TYPE, |
881 | | 0, |
882 | | 0, |
883 | | sizeof(ogs_pfcp_tlv_graceful_release_period_t), |
884 | | { NULL } |
885 | | }; |
886 | | |
887 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_pdn_type = |
888 | | { |
889 | | OGS_TLV_UINT8, |
890 | | "PDN Type", |
891 | | OGS_PFCP_PDN_TYPE_TYPE, |
892 | | 1, |
893 | | 0, |
894 | | sizeof(ogs_pfcp_tlv_pdn_type_t), |
895 | | { NULL } |
896 | | }; |
897 | | |
898 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_failed_rule_id = |
899 | | { |
900 | | OGS_TLV_VAR_STR, |
901 | | "Failed Rule ID", |
902 | | OGS_PFCP_FAILED_RULE_ID_TYPE, |
903 | | 0, |
904 | | 0, |
905 | | sizeof(ogs_pfcp_tlv_failed_rule_id_t), |
906 | | { NULL } |
907 | | }; |
908 | | |
909 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_time_quota_mechanism = |
910 | | { |
911 | | OGS_TLV_VAR_STR, |
912 | | "Time Quota Mechanism", |
913 | | OGS_PFCP_TIME_QUOTA_MECHANISM_TYPE, |
914 | | 0, |
915 | | 0, |
916 | | sizeof(ogs_pfcp_tlv_time_quota_mechanism_t), |
917 | | { NULL } |
918 | | }; |
919 | | |
920 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_user_plane_inactivity_timer = |
921 | | { |
922 | | OGS_TLV_VAR_STR, |
923 | | "User Plane Inactivity Timer", |
924 | | OGS_PFCP_USER_PLANE_INACTIVITY_TIMER_TYPE, |
925 | | 0, |
926 | | 0, |
927 | | sizeof(ogs_pfcp_tlv_user_plane_inactivity_timer_t), |
928 | | { NULL } |
929 | | }; |
930 | | |
931 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_aggregated_urrs = |
932 | | { |
933 | | OGS_TLV_VAR_STR, |
934 | | "Aggregated URRs", |
935 | | OGS_PFCP_AGGREGATED_URRS_TYPE, |
936 | | 0, |
937 | | 0, |
938 | | sizeof(ogs_pfcp_tlv_aggregated_urrs_t), |
939 | | { NULL } |
940 | | }; |
941 | | |
942 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_multiplier = |
943 | | { |
944 | | OGS_TLV_VAR_STR, |
945 | | "Multiplier", |
946 | | OGS_PFCP_MULTIPLIER_TYPE, |
947 | | 0, |
948 | | 0, |
949 | | sizeof(ogs_pfcp_tlv_multiplier_t), |
950 | | { NULL } |
951 | | }; |
952 | | |
953 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_aggregated_urr_id = |
954 | | { |
955 | | OGS_TLV_VAR_STR, |
956 | | "Aggregated URR ID", |
957 | | OGS_PFCP_AGGREGATED_URR_ID_TYPE, |
958 | | 0, |
959 | | 0, |
960 | | sizeof(ogs_pfcp_tlv_aggregated_urr_id_t), |
961 | | { NULL } |
962 | | }; |
963 | | |
964 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_subsequent_volume_quota = |
965 | | { |
966 | | OGS_TLV_VAR_STR, |
967 | | "Subsequent Volume Quota", |
968 | | OGS_PFCP_SUBSEQUENT_VOLUME_QUOTA_TYPE, |
969 | | 0, |
970 | | 0, |
971 | | sizeof(ogs_pfcp_tlv_subsequent_volume_quota_t), |
972 | | { NULL } |
973 | | }; |
974 | | |
975 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_subsequent_time_quota = |
976 | | { |
977 | | OGS_TLV_VAR_STR, |
978 | | "Subsequent Time Quota", |
979 | | OGS_PFCP_SUBSEQUENT_TIME_QUOTA_TYPE, |
980 | | 0, |
981 | | 0, |
982 | | sizeof(ogs_pfcp_tlv_subsequent_time_quota_t), |
983 | | { NULL } |
984 | | }; |
985 | | |
986 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_rqi = |
987 | | { |
988 | | OGS_TLV_UINT8, |
989 | | "RQI", |
990 | | OGS_PFCP_RQI_TYPE, |
991 | | 1, |
992 | | 0, |
993 | | sizeof(ogs_pfcp_tlv_rqi_t), |
994 | | { NULL } |
995 | | }; |
996 | | |
997 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_qfi = |
998 | | { |
999 | | OGS_TLV_UINT8, |
1000 | | "QFI", |
1001 | | OGS_PFCP_QFI_TYPE, |
1002 | | 1, |
1003 | | 0, |
1004 | | sizeof(ogs_pfcp_tlv_qfi_t), |
1005 | | { NULL } |
1006 | | }; |
1007 | | |
1008 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_query_urr_reference = |
1009 | | { |
1010 | | OGS_TLV_VAR_STR, |
1011 | | "Query URR Reference", |
1012 | | OGS_PFCP_QUERY_URR_REFERENCE_TYPE, |
1013 | | 0, |
1014 | | 0, |
1015 | | sizeof(ogs_pfcp_tlv_query_urr_reference_t), |
1016 | | { NULL } |
1017 | | }; |
1018 | | |
1019 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_additional_usage_reports_information = |
1020 | | { |
1021 | | OGS_TLV_VAR_STR, |
1022 | | "Additional Usage Reports Information", |
1023 | | OGS_PFCP_ADDITIONAL_USAGE_REPORTS_INFORMATION_TYPE, |
1024 | | 0, |
1025 | | 0, |
1026 | | sizeof(ogs_pfcp_tlv_additional_usage_reports_information_t), |
1027 | | { NULL } |
1028 | | }; |
1029 | | |
1030 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_update_traffic_endpoint = |
1031 | | { |
1032 | | OGS_TLV_VAR_STR, |
1033 | | "Update Traffic Endpoint", |
1034 | | OGS_PFCP_UPDATE_TRAFFIC_ENDPOINT_TYPE, |
1035 | | 0, |
1036 | | 0, |
1037 | | sizeof(ogs_pfcp_tlv_update_traffic_endpoint_t), |
1038 | | { NULL } |
1039 | | }; |
1040 | | |
1041 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_traffic_endpoint_id = |
1042 | | { |
1043 | | OGS_TLV_VAR_STR, |
1044 | | "Traffic Endpoint ID", |
1045 | | OGS_PFCP_TRAFFIC_ENDPOINT_ID_TYPE, |
1046 | | 0, |
1047 | | 0, |
1048 | | sizeof(ogs_pfcp_tlv_traffic_endpoint_id_t), |
1049 | | { NULL } |
1050 | | }; |
1051 | | |
1052 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_mac_address = |
1053 | | { |
1054 | | OGS_TLV_VAR_STR, |
1055 | | "MAC address", |
1056 | | OGS_PFCP_MAC_ADDRESS_TYPE, |
1057 | | 0, |
1058 | | 0, |
1059 | | sizeof(ogs_pfcp_tlv_mac_address_t), |
1060 | | { NULL } |
1061 | | }; |
1062 | | |
1063 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_c_tag = |
1064 | | { |
1065 | | OGS_TLV_VAR_STR, |
1066 | | "C-TAG", |
1067 | | OGS_PFCP_C_TAG_TYPE, |
1068 | | 0, |
1069 | | 0, |
1070 | | sizeof(ogs_pfcp_tlv_c_tag_t), |
1071 | | { NULL } |
1072 | | }; |
1073 | | |
1074 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_s_tag = |
1075 | | { |
1076 | | OGS_TLV_VAR_STR, |
1077 | | "S-TAG", |
1078 | | OGS_PFCP_S_TAG_TYPE, |
1079 | | 0, |
1080 | | 0, |
1081 | | sizeof(ogs_pfcp_tlv_s_tag_t), |
1082 | | { NULL } |
1083 | | }; |
1084 | | |
1085 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_ethertype = |
1086 | | { |
1087 | | OGS_TLV_VAR_STR, |
1088 | | "Ethertype", |
1089 | | OGS_PFCP_ETHERTYPE_TYPE, |
1090 | | 0, |
1091 | | 0, |
1092 | | sizeof(ogs_pfcp_tlv_ethertype_t), |
1093 | | { NULL } |
1094 | | }; |
1095 | | |
1096 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_proxying = |
1097 | | { |
1098 | | OGS_TLV_VAR_STR, |
1099 | | "Proxying", |
1100 | | OGS_PFCP_PROXYING_TYPE, |
1101 | | 0, |
1102 | | 0, |
1103 | | sizeof(ogs_pfcp_tlv_proxying_t), |
1104 | | { NULL } |
1105 | | }; |
1106 | | |
1107 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_ethernet_filter_id = |
1108 | | { |
1109 | | OGS_TLV_VAR_STR, |
1110 | | "Ethernet Filter ID", |
1111 | | OGS_PFCP_ETHERNET_FILTER_ID_TYPE, |
1112 | | 0, |
1113 | | 0, |
1114 | | sizeof(ogs_pfcp_tlv_ethernet_filter_id_t), |
1115 | | { NULL } |
1116 | | }; |
1117 | | |
1118 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_ethernet_filter_properties = |
1119 | | { |
1120 | | OGS_TLV_VAR_STR, |
1121 | | "Ethernet Filter Properties", |
1122 | | OGS_PFCP_ETHERNET_FILTER_PROPERTIES_TYPE, |
1123 | | 0, |
1124 | | 0, |
1125 | | sizeof(ogs_pfcp_tlv_ethernet_filter_properties_t), |
1126 | | { NULL } |
1127 | | }; |
1128 | | |
1129 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_suggested_buffering_packets_count = |
1130 | | { |
1131 | | OGS_TLV_VAR_STR, |
1132 | | "Suggested Buffering Packets Count", |
1133 | | OGS_PFCP_SUGGESTED_BUFFERING_PACKETS_COUNT_TYPE, |
1134 | | 0, |
1135 | | 0, |
1136 | | sizeof(ogs_pfcp_tlv_suggested_buffering_packets_count_t), |
1137 | | { NULL } |
1138 | | }; |
1139 | | |
1140 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_user_id = |
1141 | | { |
1142 | | OGS_TLV_VAR_STR, |
1143 | | "User ID", |
1144 | | OGS_PFCP_USER_ID_TYPE, |
1145 | | 0, |
1146 | | 0, |
1147 | | sizeof(ogs_pfcp_tlv_user_id_t), |
1148 | | { NULL } |
1149 | | }; |
1150 | | |
1151 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_ethernet_pdu_session_information = |
1152 | | { |
1153 | | OGS_TLV_VAR_STR, |
1154 | | "Ethernet PDU Session Information", |
1155 | | OGS_PFCP_ETHERNET_PDU_SESSION_INFORMATION_TYPE, |
1156 | | 0, |
1157 | | 0, |
1158 | | sizeof(ogs_pfcp_tlv_ethernet_pdu_session_information_t), |
1159 | | { NULL } |
1160 | | }; |
1161 | | |
1162 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_mac_addresses_detected = |
1163 | | { |
1164 | | OGS_TLV_VAR_STR, |
1165 | | "MAC Addresses Detected", |
1166 | | OGS_PFCP_MAC_ADDRESSES_DETECTED_TYPE, |
1167 | | 0, |
1168 | | 0, |
1169 | | sizeof(ogs_pfcp_tlv_mac_addresses_detected_t), |
1170 | | { NULL } |
1171 | | }; |
1172 | | |
1173 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_mac_addresses_removed = |
1174 | | { |
1175 | | OGS_TLV_VAR_STR, |
1176 | | "MAC Addresses Removed", |
1177 | | OGS_PFCP_MAC_ADDRESSES_REMOVED_TYPE, |
1178 | | 0, |
1179 | | 0, |
1180 | | sizeof(ogs_pfcp_tlv_mac_addresses_removed_t), |
1181 | | { NULL } |
1182 | | }; |
1183 | | |
1184 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_ethernet_inactivity_timer = |
1185 | | { |
1186 | | OGS_TLV_VAR_STR, |
1187 | | "Ethernet Inactivity Timer", |
1188 | | OGS_PFCP_ETHERNET_INACTIVITY_TIMER_TYPE, |
1189 | | 0, |
1190 | | 0, |
1191 | | sizeof(ogs_pfcp_tlv_ethernet_inactivity_timer_t), |
1192 | | { NULL } |
1193 | | }; |
1194 | | |
1195 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_additional_monitoring_time = |
1196 | | { |
1197 | | OGS_TLV_VAR_STR, |
1198 | | "Additional Monitoring Time", |
1199 | | OGS_PFCP_ADDITIONAL_MONITORING_TIME_TYPE, |
1200 | | 0, |
1201 | | 0, |
1202 | | sizeof(ogs_pfcp_tlv_additional_monitoring_time_t), |
1203 | | { NULL } |
1204 | | }; |
1205 | | |
1206 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_event_quota = |
1207 | | { |
1208 | | OGS_TLV_UINT32, |
1209 | | "Event Quota", |
1210 | | OGS_PFCP_EVENT_QUOTA_TYPE, |
1211 | | 4, |
1212 | | 0, |
1213 | | sizeof(ogs_pfcp_tlv_event_quota_t), |
1214 | | { NULL } |
1215 | | }; |
1216 | | |
1217 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_event_threshold = |
1218 | | { |
1219 | | OGS_TLV_UINT32, |
1220 | | "Event Threshold", |
1221 | | OGS_PFCP_EVENT_THRESHOLD_TYPE, |
1222 | | 4, |
1223 | | 0, |
1224 | | sizeof(ogs_pfcp_tlv_event_threshold_t), |
1225 | | { NULL } |
1226 | | }; |
1227 | | |
1228 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_subsequent_event_quota = |
1229 | | { |
1230 | | OGS_TLV_VAR_STR, |
1231 | | "Subsequent Event Quota", |
1232 | | OGS_PFCP_SUBSEQUENT_EVENT_QUOTA_TYPE, |
1233 | | 0, |
1234 | | 0, |
1235 | | sizeof(ogs_pfcp_tlv_subsequent_event_quota_t), |
1236 | | { NULL } |
1237 | | }; |
1238 | | |
1239 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_subsequent_event_threshold = |
1240 | | { |
1241 | | OGS_TLV_VAR_STR, |
1242 | | "Subsequent Event Threshold", |
1243 | | OGS_PFCP_SUBSEQUENT_EVENT_THRESHOLD_TYPE, |
1244 | | 0, |
1245 | | 0, |
1246 | | sizeof(ogs_pfcp_tlv_subsequent_event_threshold_t), |
1247 | | { NULL } |
1248 | | }; |
1249 | | |
1250 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_trace_information = |
1251 | | { |
1252 | | OGS_TLV_VAR_STR, |
1253 | | "Trace Information", |
1254 | | OGS_PFCP_TRACE_INFORMATION_TYPE, |
1255 | | 0, |
1256 | | 0, |
1257 | | sizeof(ogs_pfcp_tlv_trace_information_t), |
1258 | | { NULL } |
1259 | | }; |
1260 | | |
1261 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_framed_route = |
1262 | | { |
1263 | | OGS_TLV_VAR_STR, |
1264 | | "Framed-Route", |
1265 | | OGS_PFCP_FRAMED_ROUTE_TYPE, |
1266 | | 0, |
1267 | | 0, |
1268 | | sizeof(ogs_pfcp_tlv_framed_route_t), |
1269 | | { NULL } |
1270 | | }; |
1271 | | |
1272 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_framed_routing = |
1273 | | { |
1274 | | OGS_TLV_VAR_STR, |
1275 | | "Framed-Routing", |
1276 | | OGS_PFCP_FRAMED_ROUTING_TYPE, |
1277 | | 0, |
1278 | | 0, |
1279 | | sizeof(ogs_pfcp_tlv_framed_routing_t), |
1280 | | { NULL } |
1281 | | }; |
1282 | | |
1283 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_framed_ipv6_route = |
1284 | | { |
1285 | | OGS_TLV_VAR_STR, |
1286 | | "Framed-IPv6-Route", |
1287 | | OGS_PFCP_FRAMED_IPV6_ROUTE_TYPE, |
1288 | | 0, |
1289 | | 0, |
1290 | | sizeof(ogs_pfcp_tlv_framed_ipv6_route_t), |
1291 | | { NULL } |
1292 | | }; |
1293 | | |
1294 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_time_stamp = |
1295 | | { |
1296 | | OGS_TLV_VAR_STR, |
1297 | | "Time Stamp", |
1298 | | OGS_PFCP_TIME_STAMP_TYPE, |
1299 | | 0, |
1300 | | 0, |
1301 | | sizeof(ogs_pfcp_tlv_time_stamp_t), |
1302 | | { NULL } |
1303 | | }; |
1304 | | |
1305 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_averaging_window = |
1306 | | { |
1307 | | OGS_TLV_UINT32, |
1308 | | "Averaging Window", |
1309 | | OGS_PFCP_AVERAGING_WINDOW_TYPE, |
1310 | | 4, |
1311 | | 0, |
1312 | | sizeof(ogs_pfcp_tlv_averaging_window_t), |
1313 | | { NULL } |
1314 | | }; |
1315 | | |
1316 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_paging_policy_indicator = |
1317 | | { |
1318 | | OGS_TLV_UINT8, |
1319 | | "Paging Policy Indicator", |
1320 | | OGS_PFCP_PAGING_POLICY_INDICATOR_TYPE, |
1321 | | 1, |
1322 | | 0, |
1323 | | sizeof(ogs_pfcp_tlv_paging_policy_indicator_t), |
1324 | | { NULL } |
1325 | | }; |
1326 | | |
1327 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_apn_dnn = |
1328 | | { |
1329 | | OGS_TLV_VAR_STR, |
1330 | | "APN/DNN", |
1331 | | OGS_PFCP_APN_DNN_TYPE, |
1332 | | 0, |
1333 | | 0, |
1334 | | sizeof(ogs_pfcp_tlv_apn_dnn_t), |
1335 | | { NULL } |
1336 | | }; |
1337 | | |
1338 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc__interface_type = |
1339 | | { |
1340 | | OGS_TLV_UINT8, |
1341 | | "3GPP Interface Type", |
1342 | | OGS_PFCP__INTERFACE_TYPE_TYPE, |
1343 | | 1, |
1344 | | 0, |
1345 | | sizeof(ogs_pfcp_tlv__interface_type_t), |
1346 | | { NULL } |
1347 | | }; |
1348 | | |
1349 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_pfcpsrreq_flags = |
1350 | | { |
1351 | | OGS_TLV_UINT8, |
1352 | | "PFCPSRReq-Flags", |
1353 | | OGS_PFCP_PFCPSRREQ_FLAGS_TYPE, |
1354 | | 1, |
1355 | | 0, |
1356 | | sizeof(ogs_pfcp_tlv_pfcpsrreq_flags_t), |
1357 | | { NULL } |
1358 | | }; |
1359 | | |
1360 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_pfcpaureq_flags = |
1361 | | { |
1362 | | OGS_TLV_UINT8, |
1363 | | "PFCPAUReq-Flags", |
1364 | | OGS_PFCP_PFCPAUREQ_FLAGS_TYPE, |
1365 | | 1, |
1366 | | 0, |
1367 | | sizeof(ogs_pfcp_tlv_pfcpaureq_flags_t), |
1368 | | { NULL } |
1369 | | }; |
1370 | | |
1371 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_activation_time = |
1372 | | { |
1373 | | OGS_TLV_VAR_STR, |
1374 | | "Activation Time", |
1375 | | OGS_PFCP_ACTIVATION_TIME_TYPE, |
1376 | | 0, |
1377 | | 0, |
1378 | | sizeof(ogs_pfcp_tlv_activation_time_t), |
1379 | | { NULL } |
1380 | | }; |
1381 | | |
1382 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_deactivation_time = |
1383 | | { |
1384 | | OGS_TLV_VAR_STR, |
1385 | | "Deactivation Time", |
1386 | | OGS_PFCP_DEACTIVATION_TIME_TYPE, |
1387 | | 0, |
1388 | | 0, |
1389 | | sizeof(ogs_pfcp_tlv_deactivation_time_t), |
1390 | | { NULL } |
1391 | | }; |
1392 | | |
1393 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_mar_id = |
1394 | | { |
1395 | | OGS_TLV_VAR_STR, |
1396 | | "MAR ID", |
1397 | | OGS_PFCP_MAR_ID_TYPE, |
1398 | | 0, |
1399 | | 0, |
1400 | | sizeof(ogs_pfcp_tlv_mar_id_t), |
1401 | | { NULL } |
1402 | | }; |
1403 | | |
1404 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_steering_functionality = |
1405 | | { |
1406 | | OGS_TLV_VAR_STR, |
1407 | | "Steering Functionality", |
1408 | | OGS_PFCP_STEERING_FUNCTIONALITY_TYPE, |
1409 | | 0, |
1410 | | 0, |
1411 | | sizeof(ogs_pfcp_tlv_steering_functionality_t), |
1412 | | { NULL } |
1413 | | }; |
1414 | | |
1415 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_steering_mode = |
1416 | | { |
1417 | | OGS_TLV_VAR_STR, |
1418 | | "Steering Mode", |
1419 | | OGS_PFCP_STEERING_MODE_TYPE, |
1420 | | 0, |
1421 | | 0, |
1422 | | sizeof(ogs_pfcp_tlv_steering_mode_t), |
1423 | | { NULL } |
1424 | | }; |
1425 | | |
1426 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_weight = |
1427 | | { |
1428 | | OGS_TLV_VAR_STR, |
1429 | | "Weight", |
1430 | | OGS_PFCP_WEIGHT_TYPE, |
1431 | | 0, |
1432 | | 0, |
1433 | | sizeof(ogs_pfcp_tlv_weight_t), |
1434 | | { NULL } |
1435 | | }; |
1436 | | |
1437 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_priority = |
1438 | | { |
1439 | | OGS_TLV_VAR_STR, |
1440 | | "Priority", |
1441 | | OGS_PFCP_PRIORITY_TYPE, |
1442 | | 0, |
1443 | | 0, |
1444 | | sizeof(ogs_pfcp_tlv_priority_t), |
1445 | | { NULL } |
1446 | | }; |
1447 | | |
1448 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_ue_ip_address_pool_identity = |
1449 | | { |
1450 | | OGS_TLV_VAR_STR, |
1451 | | "UE IP address Pool Identity", |
1452 | | OGS_PFCP_UE_IP_ADDRESS_POOL_IDENTITY_TYPE, |
1453 | | 0, |
1454 | | 0, |
1455 | | sizeof(ogs_pfcp_tlv_ue_ip_address_pool_identity_t), |
1456 | | { NULL } |
1457 | | }; |
1458 | | |
1459 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_alternative_smf_ip_address = |
1460 | | { |
1461 | | OGS_TLV_VAR_STR, |
1462 | | "Alternative SMF IP Address", |
1463 | | OGS_PFCP_ALTERNATIVE_SMF_IP_ADDRESS_TYPE, |
1464 | | 0, |
1465 | | 0, |
1466 | | sizeof(ogs_pfcp_tlv_alternative_smf_ip_address_t), |
1467 | | { NULL } |
1468 | | }; |
1469 | | |
1470 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_packet_replication_and_detection_carry_on_information = |
1471 | | { |
1472 | | OGS_TLV_VAR_STR, |
1473 | | "Packet Replication and Detection Carry-On Information", |
1474 | | OGS_PFCP_PACKET_REPLICATION_AND_DETECTION_CARRY_ON_INFORMATION_TYPE, |
1475 | | 0, |
1476 | | 0, |
1477 | | sizeof(ogs_pfcp_tlv_packet_replication_and_detection_carry_on_information_t), |
1478 | | { NULL } |
1479 | | }; |
1480 | | |
1481 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_smf_set_id = |
1482 | | { |
1483 | | OGS_TLV_VAR_STR, |
1484 | | "SMF Set ID", |
1485 | | OGS_PFCP_SMF_SET_ID_TYPE, |
1486 | | 0, |
1487 | | 0, |
1488 | | sizeof(ogs_pfcp_tlv_smf_set_id_t), |
1489 | | { NULL } |
1490 | | }; |
1491 | | |
1492 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_quota_validity_time = |
1493 | | { |
1494 | | OGS_TLV_UINT32, |
1495 | | "Quota Validity Time", |
1496 | | OGS_PFCP_QUOTA_VALIDITY_TIME_TYPE, |
1497 | | 4, |
1498 | | 0, |
1499 | | sizeof(ogs_pfcp_tlv_quota_validity_time_t), |
1500 | | { NULL } |
1501 | | }; |
1502 | | |
1503 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_number_of_reports = |
1504 | | { |
1505 | | OGS_TLV_VAR_STR, |
1506 | | "Number of Reports", |
1507 | | OGS_PFCP_NUMBER_OF_REPORTS_TYPE, |
1508 | | 0, |
1509 | | 0, |
1510 | | sizeof(ogs_pfcp_tlv_number_of_reports_t), |
1511 | | { NULL } |
1512 | | }; |
1513 | | |
1514 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_pfcpasrsp_flags = |
1515 | | { |
1516 | | OGS_TLV_VAR_STR, |
1517 | | "PFCPASRsp-Flags", |
1518 | | OGS_PFCP_PFCPASRSP_FLAGS_TYPE, |
1519 | | 0, |
1520 | | 0, |
1521 | | sizeof(ogs_pfcp_tlv_pfcpasrsp_flags_t), |
1522 | | { NULL } |
1523 | | }; |
1524 | | |
1525 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_cp_pfcp_entity_ip_address = |
1526 | | { |
1527 | | OGS_TLV_VAR_STR, |
1528 | | "CP PFCP Entity IP Address", |
1529 | | OGS_PFCP_CP_PFCP_ENTITY_IP_ADDRESS_TYPE, |
1530 | | 0, |
1531 | | 0, |
1532 | | sizeof(ogs_pfcp_tlv_cp_pfcp_entity_ip_address_t), |
1533 | | { NULL } |
1534 | | }; |
1535 | | |
1536 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_pfcpsereq_flags = |
1537 | | { |
1538 | | OGS_TLV_UINT8, |
1539 | | "PFCPSEReq-Flags", |
1540 | | OGS_PFCP_PFCPSEREQ_FLAGS_TYPE, |
1541 | | 1, |
1542 | | 0, |
1543 | | sizeof(ogs_pfcp_tlv_pfcpsereq_flags_t), |
1544 | | { NULL } |
1545 | | }; |
1546 | | |
1547 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_ip_multicast_address = |
1548 | | { |
1549 | | OGS_TLV_VAR_STR, |
1550 | | "IP Multicast Address", |
1551 | | OGS_PFCP_IP_MULTICAST_ADDRESS_TYPE, |
1552 | | 0, |
1553 | | 0, |
1554 | | sizeof(ogs_pfcp_tlv_ip_multicast_address_t), |
1555 | | { NULL } |
1556 | | }; |
1557 | | |
1558 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_source_ip_address = |
1559 | | { |
1560 | | OGS_TLV_VAR_STR, |
1561 | | "Source IP Address", |
1562 | | OGS_PFCP_SOURCE_IP_ADDRESS_TYPE, |
1563 | | 0, |
1564 | | 0, |
1565 | | sizeof(ogs_pfcp_tlv_source_ip_address_t), |
1566 | | { NULL } |
1567 | | }; |
1568 | | |
1569 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_packet_rate_status = |
1570 | | { |
1571 | | OGS_TLV_VAR_STR, |
1572 | | "Packet Rate Status", |
1573 | | OGS_PFCP_PACKET_RATE_STATUS_TYPE, |
1574 | | 0, |
1575 | | 0, |
1576 | | sizeof(ogs_pfcp_tlv_packet_rate_status_t), |
1577 | | { NULL } |
1578 | | }; |
1579 | | |
1580 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_create_bridge_router_info = |
1581 | | { |
1582 | | OGS_TLV_VAR_STR, |
1583 | | "Create Bridge/Router Info", |
1584 | | OGS_PFCP_CREATE_BRIDGE_ROUTER_INFO_TYPE, |
1585 | | 0, |
1586 | | 0, |
1587 | | sizeof(ogs_pfcp_tlv_create_bridge_router_info_t), |
1588 | | { NULL } |
1589 | | }; |
1590 | | |
1591 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_port_number = |
1592 | | { |
1593 | | OGS_TLV_VAR_STR, |
1594 | | "Port Number", |
1595 | | OGS_PFCP_PORT_NUMBER_TYPE, |
1596 | | 0, |
1597 | | 0, |
1598 | | sizeof(ogs_pfcp_tlv_port_number_t), |
1599 | | { NULL } |
1600 | | }; |
1601 | | |
1602 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_nw_tt_port_number = |
1603 | | { |
1604 | | OGS_TLV_VAR_STR, |
1605 | | "NW-TT Port Number", |
1606 | | OGS_PFCP_NW_TT_PORT_NUMBER_TYPE, |
1607 | | 0, |
1608 | | 0, |
1609 | | sizeof(ogs_pfcp_tlv_nw_tt_port_number_t), |
1610 | | { NULL } |
1611 | | }; |
1612 | | |
1613 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_fivegs_user_plane_node_id = |
1614 | | { |
1615 | | OGS_TLV_VAR_STR, |
1616 | | "5GS User Plane Node ID", |
1617 | | OGS_PFCP_FiveGS_USER_PLANE_NODE_ID_TYPE, |
1618 | | 0, |
1619 | | 0, |
1620 | | sizeof(ogs_pfcp_tlv_fivegs_user_plane_node_id_t), |
1621 | | { NULL } |
1622 | | }; |
1623 | | |
1624 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_port_management_information_container = |
1625 | | { |
1626 | | OGS_TLV_VAR_STR, |
1627 | | "Port Management Information Container", |
1628 | | OGS_PFCP_PORT_MANAGEMENT_INFORMATION_CONTAINER_TYPE, |
1629 | | 0, |
1630 | | 0, |
1631 | | sizeof(ogs_pfcp_tlv_port_management_information_container_t), |
1632 | | { NULL } |
1633 | | }; |
1634 | | |
1635 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_requested_clock_drift_information = |
1636 | | { |
1637 | | OGS_TLV_VAR_STR, |
1638 | | "Requested Clock Drift Information", |
1639 | | OGS_PFCP_REQUESTED_CLOCK_DRIFT_INFORMATION_TYPE, |
1640 | | 0, |
1641 | | 0, |
1642 | | sizeof(ogs_pfcp_tlv_requested_clock_drift_information_t), |
1643 | | { NULL } |
1644 | | }; |
1645 | | |
1646 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_time_domain_number = |
1647 | | { |
1648 | | OGS_TLV_VAR_STR, |
1649 | | "Time Domain Number", |
1650 | | OGS_PFCP_TIME_DOMAIN_NUMBER_TYPE, |
1651 | | 0, |
1652 | | 0, |
1653 | | sizeof(ogs_pfcp_tlv_time_domain_number_t), |
1654 | | { NULL } |
1655 | | }; |
1656 | | |
1657 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_time_offset_threshold = |
1658 | | { |
1659 | | OGS_TLV_VAR_STR, |
1660 | | "Time Offset Threshold", |
1661 | | OGS_PFCP_TIME_OFFSET_THRESHOLD_TYPE, |
1662 | | 0, |
1663 | | 0, |
1664 | | sizeof(ogs_pfcp_tlv_time_offset_threshold_t), |
1665 | | { NULL } |
1666 | | }; |
1667 | | |
1668 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_cumulative_rateratio_threshold = |
1669 | | { |
1670 | | OGS_TLV_VAR_STR, |
1671 | | "Cumulative rateRatio Threshold", |
1672 | | OGS_PFCP_CUMULATIVE_RATERATIO_THRESHOLD_TYPE, |
1673 | | 0, |
1674 | | 0, |
1675 | | sizeof(ogs_pfcp_tlv_cumulative_rateratio_threshold_t), |
1676 | | { NULL } |
1677 | | }; |
1678 | | |
1679 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_time_offset_measurement = |
1680 | | { |
1681 | | OGS_TLV_VAR_STR, |
1682 | | "Time Offset Measurement", |
1683 | | OGS_PFCP_TIME_OFFSET_MEASUREMENT_TYPE, |
1684 | | 0, |
1685 | | 0, |
1686 | | sizeof(ogs_pfcp_tlv_time_offset_measurement_t), |
1687 | | { NULL } |
1688 | | }; |
1689 | | |
1690 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_cumulative_rateratio_measurement = |
1691 | | { |
1692 | | OGS_TLV_VAR_STR, |
1693 | | "Cumulative rateRatio Measurement", |
1694 | | OGS_PFCP_CUMULATIVE_RATERATIO_MEASUREMENT_TYPE, |
1695 | | 0, |
1696 | | 0, |
1697 | | sizeof(ogs_pfcp_tlv_cumulative_rateratio_measurement_t), |
1698 | | { NULL } |
1699 | | }; |
1700 | | |
1701 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_srr_id = |
1702 | | { |
1703 | | OGS_TLV_VAR_STR, |
1704 | | "SRR ID", |
1705 | | OGS_PFCP_SRR_ID_TYPE, |
1706 | | 0, |
1707 | | 0, |
1708 | | sizeof(ogs_pfcp_tlv_srr_id_t), |
1709 | | { NULL } |
1710 | | }; |
1711 | | |
1712 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_access_availability_control_information = |
1713 | | { |
1714 | | OGS_TLV_VAR_STR, |
1715 | | "Access Availability Control Information", |
1716 | | OGS_PFCP_ACCESS_AVAILABILITY_CONTROL_INFORMATION_TYPE, |
1717 | | 0, |
1718 | | 0, |
1719 | | sizeof(ogs_pfcp_tlv_access_availability_control_information_t), |
1720 | | { NULL } |
1721 | | }; |
1722 | | |
1723 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_requested_access_availability_information = |
1724 | | { |
1725 | | OGS_TLV_VAR_STR, |
1726 | | "Requested Access Availability Information", |
1727 | | OGS_PFCP_REQUESTED_ACCESS_AVAILABILITY_INFORMATION_TYPE, |
1728 | | 0, |
1729 | | 0, |
1730 | | sizeof(ogs_pfcp_tlv_requested_access_availability_information_t), |
1731 | | { NULL } |
1732 | | }; |
1733 | | |
1734 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_access_availability_information = |
1735 | | { |
1736 | | OGS_TLV_VAR_STR, |
1737 | | "Access Availability Information", |
1738 | | OGS_PFCP_ACCESS_AVAILABILITY_INFORMATION_TYPE, |
1739 | | 0, |
1740 | | 0, |
1741 | | sizeof(ogs_pfcp_tlv_access_availability_information_t), |
1742 | | { NULL } |
1743 | | }; |
1744 | | |
1745 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_mptcp_control_information = |
1746 | | { |
1747 | | OGS_TLV_VAR_STR, |
1748 | | "MPTCP Control Information", |
1749 | | OGS_PFCP_MPTCP_CONTROL_INFORMATION_TYPE, |
1750 | | 0, |
1751 | | 0, |
1752 | | sizeof(ogs_pfcp_tlv_mptcp_control_information_t), |
1753 | | { NULL } |
1754 | | }; |
1755 | | |
1756 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_atsss_ll_control_information = |
1757 | | { |
1758 | | OGS_TLV_VAR_STR, |
1759 | | "ATSSS-LL Control Information", |
1760 | | OGS_PFCP_ATSSS_LL_CONTROL_INFORMATION_TYPE, |
1761 | | 0, |
1762 | | 0, |
1763 | | sizeof(ogs_pfcp_tlv_atsss_ll_control_information_t), |
1764 | | { NULL } |
1765 | | }; |
1766 | | |
1767 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_pmf_control_information = |
1768 | | { |
1769 | | OGS_TLV_VAR_STR, |
1770 | | "PMF Control Information", |
1771 | | OGS_PFCP_PMF_CONTROL_INFORMATION_TYPE, |
1772 | | 0, |
1773 | | 0, |
1774 | | sizeof(ogs_pfcp_tlv_pmf_control_information_t), |
1775 | | { NULL } |
1776 | | }; |
1777 | | |
1778 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_mptcp_address_information = |
1779 | | { |
1780 | | OGS_TLV_VAR_STR, |
1781 | | "MPTCP Address Information", |
1782 | | OGS_PFCP_MPTCP_ADDRESS_INFORMATION_TYPE, |
1783 | | 0, |
1784 | | 0, |
1785 | | sizeof(ogs_pfcp_tlv_mptcp_address_information_t), |
1786 | | { NULL } |
1787 | | }; |
1788 | | |
1789 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_link_specific_multipath_ip_address = |
1790 | | { |
1791 | | OGS_TLV_VAR_STR, |
1792 | | "Link-Specific Multipath IP Address", |
1793 | | OGS_PFCP_LINK_SPECIFIC_MULTIPATH_IP_ADDRESS_TYPE, |
1794 | | 0, |
1795 | | 0, |
1796 | | sizeof(ogs_pfcp_tlv_link_specific_multipath_ip_address_t), |
1797 | | { NULL } |
1798 | | }; |
1799 | | |
1800 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_pmf_address_information = |
1801 | | { |
1802 | | OGS_TLV_VAR_STR, |
1803 | | "PMF Address Information", |
1804 | | OGS_PFCP_PMF_ADDRESS_INFORMATION_TYPE, |
1805 | | 0, |
1806 | | 0, |
1807 | | sizeof(ogs_pfcp_tlv_pmf_address_information_t), |
1808 | | { NULL } |
1809 | | }; |
1810 | | |
1811 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_atsss_ll_information = |
1812 | | { |
1813 | | OGS_TLV_VAR_STR, |
1814 | | "ATSSS-LL Information", |
1815 | | OGS_PFCP_ATSSS_LL_INFORMATION_TYPE, |
1816 | | 0, |
1817 | | 0, |
1818 | | sizeof(ogs_pfcp_tlv_atsss_ll_information_t), |
1819 | | { NULL } |
1820 | | }; |
1821 | | |
1822 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_data_network_access_identifier = |
1823 | | { |
1824 | | OGS_TLV_VAR_STR, |
1825 | | "Data Network Access Identifier", |
1826 | | OGS_PFCP_DATA_NETWORK_ACCESS_IDENTIFIER_TYPE, |
1827 | | 0, |
1828 | | 0, |
1829 | | sizeof(ogs_pfcp_tlv_data_network_access_identifier_t), |
1830 | | { NULL } |
1831 | | }; |
1832 | | |
1833 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_average_packet_delay = |
1834 | | { |
1835 | | OGS_TLV_VAR_STR, |
1836 | | "Average Packet Delay", |
1837 | | OGS_PFCP_AVERAGE_PACKET_DELAY_TYPE, |
1838 | | 0, |
1839 | | 0, |
1840 | | sizeof(ogs_pfcp_tlv_average_packet_delay_t), |
1841 | | { NULL } |
1842 | | }; |
1843 | | |
1844 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_minimum_packet_delay = |
1845 | | { |
1846 | | OGS_TLV_VAR_STR, |
1847 | | "Minimum Packet Delay", |
1848 | | OGS_PFCP_MINIMUM_PACKET_DELAY_TYPE, |
1849 | | 0, |
1850 | | 0, |
1851 | | sizeof(ogs_pfcp_tlv_minimum_packet_delay_t), |
1852 | | { NULL } |
1853 | | }; |
1854 | | |
1855 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_maximum_packet_delay = |
1856 | | { |
1857 | | OGS_TLV_VAR_STR, |
1858 | | "Maximum Packet Delay", |
1859 | | OGS_PFCP_MAXIMUM_PACKET_DELAY_TYPE, |
1860 | | 0, |
1861 | | 0, |
1862 | | sizeof(ogs_pfcp_tlv_maximum_packet_delay_t), |
1863 | | { NULL } |
1864 | | }; |
1865 | | |
1866 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_qos_report_trigger = |
1867 | | { |
1868 | | OGS_TLV_VAR_STR, |
1869 | | "QoS Report Trigger", |
1870 | | OGS_PFCP_QOS_REPORT_TRIGGER_TYPE, |
1871 | | 0, |
1872 | | 0, |
1873 | | sizeof(ogs_pfcp_tlv_qos_report_trigger_t), |
1874 | | { NULL } |
1875 | | }; |
1876 | | |
1877 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_gtp_u_path_interface_type = |
1878 | | { |
1879 | | OGS_TLV_VAR_STR, |
1880 | | "GTP-U Path Interface Type", |
1881 | | OGS_PFCP_GTP_U_PATH_INTERFACE_TYPE_TYPE, |
1882 | | 0, |
1883 | | 0, |
1884 | | sizeof(ogs_pfcp_tlv_gtp_u_path_interface_type_t), |
1885 | | { NULL } |
1886 | | }; |
1887 | | |
1888 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_qos_monitoring_per_qos_flow_control_information = |
1889 | | { |
1890 | | OGS_TLV_VAR_STR, |
1891 | | "QoS Monitoring per QoS flow Control Information", |
1892 | | OGS_PFCP_QOS_MONITORING_PER_QOS_FLOW_CONTROL_INFORMATION_TYPE, |
1893 | | 0, |
1894 | | 0, |
1895 | | sizeof(ogs_pfcp_tlv_qos_monitoring_per_qos_flow_control_information_t), |
1896 | | { NULL } |
1897 | | }; |
1898 | | |
1899 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_requested_qos_monitoring = |
1900 | | { |
1901 | | OGS_TLV_VAR_STR, |
1902 | | "Requested QoS Monitoring", |
1903 | | OGS_PFCP_REQUESTED_QOS_MONITORING_TYPE, |
1904 | | 0, |
1905 | | 0, |
1906 | | sizeof(ogs_pfcp_tlv_requested_qos_monitoring_t), |
1907 | | { NULL } |
1908 | | }; |
1909 | | |
1910 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_reporting_frequency = |
1911 | | { |
1912 | | OGS_TLV_VAR_STR, |
1913 | | "Reporting Frequency", |
1914 | | OGS_PFCP_REPORTING_FREQUENCY_TYPE, |
1915 | | 0, |
1916 | | 0, |
1917 | | sizeof(ogs_pfcp_tlv_reporting_frequency_t), |
1918 | | { NULL } |
1919 | | }; |
1920 | | |
1921 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_packet_delay_thresholds = |
1922 | | { |
1923 | | OGS_TLV_VAR_STR, |
1924 | | "Packet Delay Thresholds", |
1925 | | OGS_PFCP_PACKET_DELAY_THRESHOLDS_TYPE, |
1926 | | 0, |
1927 | | 0, |
1928 | | sizeof(ogs_pfcp_tlv_packet_delay_thresholds_t), |
1929 | | { NULL } |
1930 | | }; |
1931 | | |
1932 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_minimum_wait_time = |
1933 | | { |
1934 | | OGS_TLV_VAR_STR, |
1935 | | "Minimum Wait Time", |
1936 | | OGS_PFCP_MINIMUM_WAIT_TIME_TYPE, |
1937 | | 0, |
1938 | | 0, |
1939 | | sizeof(ogs_pfcp_tlv_minimum_wait_time_t), |
1940 | | { NULL } |
1941 | | }; |
1942 | | |
1943 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_qos_monitoring_measurement = |
1944 | | { |
1945 | | OGS_TLV_VAR_STR, |
1946 | | "QoS Monitoring Measurement", |
1947 | | OGS_PFCP_QOS_MONITORING_MEASUREMENT_TYPE, |
1948 | | 0, |
1949 | | 0, |
1950 | | sizeof(ogs_pfcp_tlv_qos_monitoring_measurement_t), |
1951 | | { NULL } |
1952 | | }; |
1953 | | |
1954 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_mt_edt_control_information = |
1955 | | { |
1956 | | OGS_TLV_VAR_STR, |
1957 | | "MT-EDT Control Information", |
1958 | | OGS_PFCP_MT_EDT_CONTROL_INFORMATION_TYPE, |
1959 | | 0, |
1960 | | 0, |
1961 | | sizeof(ogs_pfcp_tlv_mt_edt_control_information_t), |
1962 | | { NULL } |
1963 | | }; |
1964 | | |
1965 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_dl_data_packets_size = |
1966 | | { |
1967 | | OGS_TLV_VAR_STR, |
1968 | | "DL Data Packets Size", |
1969 | | OGS_PFCP_DL_DATA_PACKETS_SIZE_TYPE, |
1970 | | 0, |
1971 | | 0, |
1972 | | sizeof(ogs_pfcp_tlv_dl_data_packets_size_t), |
1973 | | { NULL } |
1974 | | }; |
1975 | | |
1976 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_qer_control_indications = |
1977 | | { |
1978 | | OGS_TLV_VAR_STR, |
1979 | | "QER Control Indications", |
1980 | | OGS_PFCP_QER_CONTROL_INDICATIONS_TYPE, |
1981 | | 0, |
1982 | | 0, |
1983 | | sizeof(ogs_pfcp_tlv_qer_control_indications_t), |
1984 | | { NULL } |
1985 | | }; |
1986 | | |
1987 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_nf_instance_id = |
1988 | | { |
1989 | | OGS_TLV_VAR_STR, |
1990 | | "NF Instance ID", |
1991 | | OGS_PFCP_NF_INSTANCE_ID_TYPE, |
1992 | | 0, |
1993 | | 0, |
1994 | | sizeof(ogs_pfcp_tlv_nf_instance_id_t), |
1995 | | { NULL } |
1996 | | }; |
1997 | | |
1998 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_s_nssai = |
1999 | | { |
2000 | | OGS_TLV_VAR_STR, |
2001 | | "S-NSSAI", |
2002 | | OGS_PFCP_S_NSSAI_TYPE, |
2003 | | 0, |
2004 | | 0, |
2005 | | sizeof(ogs_pfcp_tlv_s_nssai_t), |
2006 | | { NULL } |
2007 | | }; |
2008 | | |
2009 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_ip_version = |
2010 | | { |
2011 | | OGS_TLV_VAR_STR, |
2012 | | "IP version", |
2013 | | OGS_PFCP_IP_VERSION_TYPE, |
2014 | | 0, |
2015 | | 0, |
2016 | | sizeof(ogs_pfcp_tlv_ip_version_t), |
2017 | | { NULL } |
2018 | | }; |
2019 | | |
2020 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_pfcpasreq_flags = |
2021 | | { |
2022 | | OGS_TLV_VAR_STR, |
2023 | | "PFCPASReq-Flags", |
2024 | | OGS_PFCP_PFCPASREQ_FLAGS_TYPE, |
2025 | | 0, |
2026 | | 0, |
2027 | | sizeof(ogs_pfcp_tlv_pfcpasreq_flags_t), |
2028 | | { NULL } |
2029 | | }; |
2030 | | |
2031 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_data_status = |
2032 | | { |
2033 | | OGS_TLV_UINT8, |
2034 | | "Data Status", |
2035 | | OGS_PFCP_DATA_STATUS_TYPE, |
2036 | | 1, |
2037 | | 0, |
2038 | | sizeof(ogs_pfcp_tlv_data_status_t), |
2039 | | { NULL } |
2040 | | }; |
2041 | | |
2042 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_rds_configuration_information = |
2043 | | { |
2044 | | OGS_TLV_VAR_STR, |
2045 | | "RDS Configuration Information", |
2046 | | OGS_PFCP_RDS_CONFIGURATION_INFORMATION_TYPE, |
2047 | | 0, |
2048 | | 0, |
2049 | | sizeof(ogs_pfcp_tlv_rds_configuration_information_t), |
2050 | | { NULL } |
2051 | | }; |
2052 | | |
2053 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_multipath_applicable_indication = |
2054 | | { |
2055 | | OGS_TLV_VAR_STR, |
2056 | | "Multipath Applicable Indication", |
2057 | | OGS_PFCP_MULTIPATH_APPLICABLE_INDICATION_TYPE, |
2058 | | 0, |
2059 | | 0, |
2060 | | sizeof(ogs_pfcp_tlv_multipath_applicable_indication_t), |
2061 | | { NULL } |
2062 | | }; |
2063 | | |
2064 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_user_plane_node_management_information_container = |
2065 | | { |
2066 | | OGS_TLV_VAR_STR, |
2067 | | "User Plane Node Management Information Container", |
2068 | | OGS_PFCP_USER_PLANE_NODE_MANAGEMENT_INFORMATION_CONTAINER_TYPE, |
2069 | | 0, |
2070 | | 0, |
2071 | | sizeof(ogs_pfcp_tlv_user_plane_node_management_information_container_t), |
2072 | | { NULL } |
2073 | | }; |
2074 | | |
2075 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_number_of_ue_ip_addresses = |
2076 | | { |
2077 | | OGS_TLV_VAR_STR, |
2078 | | "Number of UE IP Addresses", |
2079 | | OGS_PFCP_NUMBER_OF_UE_IP_ADDRESSES_TYPE, |
2080 | | 0, |
2081 | | 0, |
2082 | | sizeof(ogs_pfcp_tlv_number_of_ue_ip_addresses_t), |
2083 | | { NULL } |
2084 | | }; |
2085 | | |
2086 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_validity_timer = |
2087 | | { |
2088 | | OGS_TLV_VAR_STR, |
2089 | | "Validity Timer", |
2090 | | OGS_PFCP_VALIDITY_TIMER_TYPE, |
2091 | | 0, |
2092 | | 0, |
2093 | | sizeof(ogs_pfcp_tlv_validity_timer_t), |
2094 | | { NULL } |
2095 | | }; |
2096 | | |
2097 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_offending_ie_information = |
2098 | | { |
2099 | | OGS_TLV_VAR_STR, |
2100 | | "Offending IE Information", |
2101 | | OGS_PFCP_OFFENDING_IE_INFORMATION_TYPE, |
2102 | | 0, |
2103 | | 0, |
2104 | | sizeof(ogs_pfcp_tlv_offending_ie_information_t), |
2105 | | { NULL } |
2106 | | }; |
2107 | | |
2108 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_rat_type = |
2109 | | { |
2110 | | OGS_TLV_VAR_STR, |
2111 | | "RAT Type", |
2112 | | OGS_PFCP_RAT_TYPE_TYPE, |
2113 | | 0, |
2114 | | 0, |
2115 | | sizeof(ogs_pfcp_tlv_rat_type_t), |
2116 | | { NULL } |
2117 | | }; |
2118 | | |
2119 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_l2tp_user_authentication = |
2120 | | { |
2121 | | OGS_TLV_VAR_STR, |
2122 | | "L2TP User Authentication", |
2123 | | OGS_PFCP_L2TP_USER_AUTHENTICATION_TYPE, |
2124 | | 0, |
2125 | | 0, |
2126 | | sizeof(ogs_pfcp_tlv_l2tp_user_authentication_t), |
2127 | | { NULL } |
2128 | | }; |
2129 | | |
2130 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_lns_address = |
2131 | | { |
2132 | | OGS_TLV_VAR_STR, |
2133 | | "LNS Address", |
2134 | | OGS_PFCP_LNS_ADDRESS_TYPE, |
2135 | | 0, |
2136 | | 0, |
2137 | | sizeof(ogs_pfcp_tlv_lns_address_t), |
2138 | | { NULL } |
2139 | | }; |
2140 | | |
2141 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_tunnel_preference = |
2142 | | { |
2143 | | OGS_TLV_VAR_STR, |
2144 | | "Tunnel Preference", |
2145 | | OGS_PFCP_TUNNEL_PREFERENCE_TYPE, |
2146 | | 0, |
2147 | | 0, |
2148 | | sizeof(ogs_pfcp_tlv_tunnel_preference_t), |
2149 | | { NULL } |
2150 | | }; |
2151 | | |
2152 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_calling_number = |
2153 | | { |
2154 | | OGS_TLV_VAR_STR, |
2155 | | "Calling Number", |
2156 | | OGS_PFCP_CALLING_NUMBER_TYPE, |
2157 | | 0, |
2158 | | 0, |
2159 | | sizeof(ogs_pfcp_tlv_calling_number_t), |
2160 | | { NULL } |
2161 | | }; |
2162 | | |
2163 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_called_number = |
2164 | | { |
2165 | | OGS_TLV_VAR_STR, |
2166 | | "Called Number", |
2167 | | OGS_PFCP_CALLED_NUMBER_TYPE, |
2168 | | 0, |
2169 | | 0, |
2170 | | sizeof(ogs_pfcp_tlv_called_number_t), |
2171 | | { NULL } |
2172 | | }; |
2173 | | |
2174 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_l2tp_session_indications = |
2175 | | { |
2176 | | OGS_TLV_VAR_STR, |
2177 | | "L2TP Session Indications", |
2178 | | OGS_PFCP_L2TP_SESSION_INDICATIONS_TYPE, |
2179 | | 0, |
2180 | | 0, |
2181 | | sizeof(ogs_pfcp_tlv_l2tp_session_indications_t), |
2182 | | { NULL } |
2183 | | }; |
2184 | | |
2185 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_dns_server_address = |
2186 | | { |
2187 | | OGS_TLV_VAR_STR, |
2188 | | "DNS Server Address", |
2189 | | OGS_PFCP_DNS_SERVER_ADDRESS_TYPE, |
2190 | | 0, |
2191 | | 0, |
2192 | | sizeof(ogs_pfcp_tlv_dns_server_address_t), |
2193 | | { NULL } |
2194 | | }; |
2195 | | |
2196 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_nbns_server_address = |
2197 | | { |
2198 | | OGS_TLV_VAR_STR, |
2199 | | "NBNS Server Address", |
2200 | | OGS_PFCP_NBNS_SERVER_ADDRESS_TYPE, |
2201 | | 0, |
2202 | | 0, |
2203 | | sizeof(ogs_pfcp_tlv_nbns_server_address_t), |
2204 | | { NULL } |
2205 | | }; |
2206 | | |
2207 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_maximum_receive_unit = |
2208 | | { |
2209 | | OGS_TLV_VAR_STR, |
2210 | | "Maximum Receive Unit", |
2211 | | OGS_PFCP_MAXIMUM_RECEIVE_UNIT_TYPE, |
2212 | | 0, |
2213 | | 0, |
2214 | | sizeof(ogs_pfcp_tlv_maximum_receive_unit_t), |
2215 | | { NULL } |
2216 | | }; |
2217 | | |
2218 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_thresholds = |
2219 | | { |
2220 | | OGS_TLV_VAR_STR, |
2221 | | "Thresholds", |
2222 | | OGS_PFCP_THRESHOLDS_TYPE, |
2223 | | 0, |
2224 | | 0, |
2225 | | sizeof(ogs_pfcp_tlv_thresholds_t), |
2226 | | { NULL } |
2227 | | }; |
2228 | | |
2229 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_steering_mode_indicator = |
2230 | | { |
2231 | | OGS_TLV_VAR_STR, |
2232 | | "Steering Mode Indicator", |
2233 | | OGS_PFCP_STEERING_MODE_INDICATOR_TYPE, |
2234 | | 0, |
2235 | | 0, |
2236 | | sizeof(ogs_pfcp_tlv_steering_mode_indicator_t), |
2237 | | { NULL } |
2238 | | }; |
2239 | | |
2240 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_group_id = |
2241 | | { |
2242 | | OGS_TLV_VAR_STR, |
2243 | | "Group ID", |
2244 | | OGS_PFCP_GROUP_ID_TYPE, |
2245 | | 0, |
2246 | | 0, |
2247 | | sizeof(ogs_pfcp_tlv_group_id_t), |
2248 | | { NULL } |
2249 | | }; |
2250 | | |
2251 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_cp_ip_address = |
2252 | | { |
2253 | | OGS_TLV_VAR_STR, |
2254 | | "CP IP Address", |
2255 | | OGS_PFCP_CP_IP_ADDRESS_TYPE, |
2256 | | 0, |
2257 | | 0, |
2258 | | sizeof(ogs_pfcp_tlv_cp_ip_address_t), |
2259 | | { NULL } |
2260 | | }; |
2261 | | |
2262 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_ip_address_and_port_number_replacement = |
2263 | | { |
2264 | | OGS_TLV_VAR_STR, |
2265 | | "IP Address and Port number Replacement", |
2266 | | OGS_PFCP_IP_ADDRESS_AND_PORT_NUMBER_REPLACEMENT_TYPE, |
2267 | | 0, |
2268 | | 0, |
2269 | | sizeof(ogs_pfcp_tlv_ip_address_and_port_number_replacement_t), |
2270 | | { NULL } |
2271 | | }; |
2272 | | |
2273 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_dns_query_response_filter = |
2274 | | { |
2275 | | OGS_TLV_VAR_STR, |
2276 | | "DNS Query/Response Filter", |
2277 | | OGS_PFCP_DNS_QUERY_RESPONSE_FILTER_TYPE, |
2278 | | 0, |
2279 | | 0, |
2280 | | sizeof(ogs_pfcp_tlv_dns_query_response_filter_t), |
2281 | | { NULL } |
2282 | | }; |
2283 | | |
2284 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_direct_reporting_information = |
2285 | | { |
2286 | | OGS_TLV_VAR_STR, |
2287 | | "Direct Reporting Information", |
2288 | | OGS_PFCP_DIRECT_REPORTING_INFORMATION_TYPE, |
2289 | | 0, |
2290 | | 0, |
2291 | | sizeof(ogs_pfcp_tlv_direct_reporting_information_t), |
2292 | | { NULL } |
2293 | | }; |
2294 | | |
2295 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_event_notification_uri = |
2296 | | { |
2297 | | OGS_TLV_VAR_STR, |
2298 | | "Event Notification URI", |
2299 | | OGS_PFCP_EVENT_NOTIFICATION_URI_TYPE, |
2300 | | 0, |
2301 | | 0, |
2302 | | sizeof(ogs_pfcp_tlv_event_notification_uri_t), |
2303 | | { NULL } |
2304 | | }; |
2305 | | |
2306 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_notification_correlation_id = |
2307 | | { |
2308 | | OGS_TLV_VAR_STR, |
2309 | | "Notification Correlation ID", |
2310 | | OGS_PFCP_NOTIFICATION_CORRELATION_ID_TYPE, |
2311 | | 0, |
2312 | | 0, |
2313 | | sizeof(ogs_pfcp_tlv_notification_correlation_id_t), |
2314 | | { NULL } |
2315 | | }; |
2316 | | |
2317 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_reporting_flags = |
2318 | | { |
2319 | | OGS_TLV_VAR_STR, |
2320 | | "Reporting Flags", |
2321 | | OGS_PFCP_REPORTING_FLAGS_TYPE, |
2322 | | 0, |
2323 | | 0, |
2324 | | sizeof(ogs_pfcp_tlv_reporting_flags_t), |
2325 | | { NULL } |
2326 | | }; |
2327 | | |
2328 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_predefined_rules_name = |
2329 | | { |
2330 | | OGS_TLV_VAR_STR, |
2331 | | "Predefined Rules Name", |
2332 | | OGS_PFCP_PREDEFINED_RULES_NAME_TYPE, |
2333 | | 0, |
2334 | | 0, |
2335 | | sizeof(ogs_pfcp_tlv_predefined_rules_name_t), |
2336 | | { NULL } |
2337 | | }; |
2338 | | |
2339 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_remove_mbs_unicast_parameters = |
2340 | | { |
2341 | | OGS_TLV_VAR_STR, |
2342 | | "Remove MBS Unicast Parameters", |
2343 | | OGS_PFCP_REMOVE_MBS_UNICAST_PARAMETERS_TYPE, |
2344 | | 0, |
2345 | | 0, |
2346 | | sizeof(ogs_pfcp_tlv_remove_mbs_unicast_parameters_t), |
2347 | | { NULL } |
2348 | | }; |
2349 | | |
2350 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_mbs_session_identifier = |
2351 | | { |
2352 | | OGS_TLV_VAR_STR, |
2353 | | "MBS Session Identifier", |
2354 | | OGS_PFCP_MBS_SESSION_IDENTIFIER_TYPE, |
2355 | | 0, |
2356 | | 0, |
2357 | | sizeof(ogs_pfcp_tlv_mbs_session_identifier_t), |
2358 | | { NULL } |
2359 | | }; |
2360 | | |
2361 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_multicast_transport_information = |
2362 | | { |
2363 | | OGS_TLV_VAR_STR, |
2364 | | "Multicast Transport Information", |
2365 | | OGS_PFCP_MULTICAST_TRANSPORT_INFORMATION_TYPE, |
2366 | | 0, |
2367 | | 0, |
2368 | | sizeof(ogs_pfcp_tlv_multicast_transport_information_t), |
2369 | | { NULL } |
2370 | | }; |
2371 | | |
2372 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_mbsn4mbreq_flags = |
2373 | | { |
2374 | | OGS_TLV_VAR_STR, |
2375 | | "MBSN4mbReq-Flags", |
2376 | | OGS_PFCP_MBSN4MBREQ_FLAGS_TYPE, |
2377 | | 0, |
2378 | | 0, |
2379 | | sizeof(ogs_pfcp_tlv_mbsn4mbreq_flags_t), |
2380 | | { NULL } |
2381 | | }; |
2382 | | |
2383 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_local_ingress_tunnel = |
2384 | | { |
2385 | | OGS_TLV_VAR_STR, |
2386 | | "Local Ingress Tunnel", |
2387 | | OGS_PFCP_LOCAL_INGRESS_TUNNEL_TYPE, |
2388 | | 0, |
2389 | | 0, |
2390 | | sizeof(ogs_pfcp_tlv_local_ingress_tunnel_t), |
2391 | | { NULL } |
2392 | | }; |
2393 | | |
2394 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_mbs_unicast_parameters_id = |
2395 | | { |
2396 | | OGS_TLV_VAR_STR, |
2397 | | "MBS Unicast Parameters ID", |
2398 | | OGS_PFCP_MBS_UNICAST_PARAMETERS_ID_TYPE, |
2399 | | 0, |
2400 | | 0, |
2401 | | sizeof(ogs_pfcp_tlv_mbs_unicast_parameters_id_t), |
2402 | | { NULL } |
2403 | | }; |
2404 | | |
2405 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_mbsn4resp_flags = |
2406 | | { |
2407 | | OGS_TLV_VAR_STR, |
2408 | | "MBSN4Resp-Flags", |
2409 | | OGS_PFCP_MBSN4RESP_FLAGS_TYPE, |
2410 | | 0, |
2411 | | 0, |
2412 | | sizeof(ogs_pfcp_tlv_mbsn4resp_flags_t), |
2413 | | { NULL } |
2414 | | }; |
2415 | | |
2416 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_tunnel_password = |
2417 | | { |
2418 | | OGS_TLV_VAR_STR, |
2419 | | "Tunnel Password", |
2420 | | OGS_PFCP_TUNNEL_PASSWORD_TYPE, |
2421 | | 0, |
2422 | | 0, |
2423 | | sizeof(ogs_pfcp_tlv_tunnel_password_t), |
2424 | | { NULL } |
2425 | | }; |
2426 | | |
2427 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_area_session_id = |
2428 | | { |
2429 | | OGS_TLV_VAR_STR, |
2430 | | "Area Session ID", |
2431 | | OGS_PFCP_AREA_SESSION_ID_TYPE, |
2432 | | 0, |
2433 | | 0, |
2434 | | sizeof(ogs_pfcp_tlv_area_session_id_t), |
2435 | | { NULL } |
2436 | | }; |
2437 | | |
2438 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_peer_up_restart_report = |
2439 | | { |
2440 | | OGS_TLV_VAR_STR, |
2441 | | "Peer UP Restart Report", |
2442 | | OGS_PFCP_PEER_UP_RESTART_REPORT_TYPE, |
2443 | | 0, |
2444 | | 0, |
2445 | | sizeof(ogs_pfcp_tlv_peer_up_restart_report_t), |
2446 | | { NULL } |
2447 | | }; |
2448 | | |
2449 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_dscp_to_ppi_mapping_information = |
2450 | | { |
2451 | | OGS_TLV_VAR_STR, |
2452 | | "DSCP to PPI Mapping Information", |
2453 | | OGS_PFCP_DSCP_TO_PPI_MAPPING_INFORMATION_TYPE, |
2454 | | 0, |
2455 | | 0, |
2456 | | sizeof(ogs_pfcp_tlv_dscp_to_ppi_mapping_information_t), |
2457 | | { NULL } |
2458 | | }; |
2459 | | |
2460 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_pfcpsdrsp_flags = |
2461 | | { |
2462 | | OGS_TLV_VAR_STR, |
2463 | | "PFCPSDRsp-Flags", |
2464 | | OGS_PFCP_PFCPSDRSP_FLAGS_TYPE, |
2465 | | 0, |
2466 | | 0, |
2467 | | sizeof(ogs_pfcp_tlv_pfcpsdrsp_flags_t), |
2468 | | { NULL } |
2469 | | }; |
2470 | | |
2471 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_qer_indications = |
2472 | | { |
2473 | | OGS_TLV_VAR_STR, |
2474 | | "QER Indications", |
2475 | | OGS_PFCP_QER_INDICATIONS_TYPE, |
2476 | | 0, |
2477 | | 0, |
2478 | | sizeof(ogs_pfcp_tlv_qer_indications_t), |
2479 | | { NULL } |
2480 | | }; |
2481 | | |
2482 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_vendor_specific_node_report_type = |
2483 | | { |
2484 | | OGS_TLV_VAR_STR, |
2485 | | "Vendor-Specific Node Report Type", |
2486 | | OGS_PFCP_VENDOR_SPECIFIC_NODE_REPORT_TYPE_TYPE, |
2487 | | 0, |
2488 | | 0, |
2489 | | sizeof(ogs_pfcp_tlv_vendor_specific_node_report_type_t), |
2490 | | { NULL } |
2491 | | }; |
2492 | | |
2493 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_configured_time_domain = |
2494 | | { |
2495 | | OGS_TLV_VAR_STR, |
2496 | | "Configured Time Domain", |
2497 | | OGS_PFCP_CONFIGURED_TIME_DOMAIN_TYPE, |
2498 | | 0, |
2499 | | 0, |
2500 | | sizeof(ogs_pfcp_tlv_configured_time_domain_t), |
2501 | | { NULL } |
2502 | | }; |
2503 | | |
2504 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_metadata = |
2505 | | { |
2506 | | OGS_TLV_VAR_STR, |
2507 | | "Metadata", |
2508 | | OGS_PFCP_METADATA_TYPE, |
2509 | | 0, |
2510 | | 0, |
2511 | | sizeof(ogs_pfcp_tlv_metadata_t), |
2512 | | { NULL } |
2513 | | }; |
2514 | | |
2515 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_traffic_parameter_measurement_report = |
2516 | | { |
2517 | | OGS_TLV_VAR_STR, |
2518 | | "Traffic Parameter Measurement Report", |
2519 | | OGS_PFCP_TRAFFIC_PARAMETER_MEASUREMENT_REPORT_TYPE, |
2520 | | 0, |
2521 | | 0, |
2522 | | sizeof(ogs_pfcp_tlv_traffic_parameter_measurement_report_t), |
2523 | | { NULL } |
2524 | | }; |
2525 | | |
2526 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_traffic_parameter_threshold = |
2527 | | { |
2528 | | OGS_TLV_VAR_STR, |
2529 | | "Traffic Parameter Threshold", |
2530 | | OGS_PFCP_TRAFFIC_PARAMETER_THRESHOLD_TYPE, |
2531 | | 0, |
2532 | | 0, |
2533 | | sizeof(ogs_pfcp_tlv_traffic_parameter_threshold_t), |
2534 | | { NULL } |
2535 | | }; |
2536 | | |
2537 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_dl_periodicity = |
2538 | | { |
2539 | | OGS_TLV_VAR_STR, |
2540 | | "DL Periodicity", |
2541 | | OGS_PFCP_DL_PERIODICITY_TYPE, |
2542 | | 0, |
2543 | | 0, |
2544 | | sizeof(ogs_pfcp_tlv_dl_periodicity_t), |
2545 | | { NULL } |
2546 | | }; |
2547 | | |
2548 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_n6_jitter_measurement = |
2549 | | { |
2550 | | OGS_TLV_VAR_STR, |
2551 | | "N6 Jitter Measurement", |
2552 | | OGS_PFCP_N6_JITTER_MEASUREMENT_TYPE, |
2553 | | 0, |
2554 | | 0, |
2555 | | sizeof(ogs_pfcp_tlv_n6_jitter_measurement_t), |
2556 | | { NULL } |
2557 | | }; |
2558 | | |
2559 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_traffic_parameter_measurement_indication = |
2560 | | { |
2561 | | OGS_TLV_VAR_STR, |
2562 | | "Traffic Parameter Measurement Indication", |
2563 | | OGS_PFCP_TRAFFIC_PARAMETER_MEASUREMENT_INDICATION_TYPE, |
2564 | | 0, |
2565 | | 0, |
2566 | | sizeof(ogs_pfcp_tlv_traffic_parameter_measurement_indication_t), |
2567 | | { NULL } |
2568 | | }; |
2569 | | |
2570 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_ul_periodicity = |
2571 | | { |
2572 | | OGS_TLV_VAR_STR, |
2573 | | "UL Periodicity", |
2574 | | OGS_PFCP_UL_PERIODICITY_TYPE, |
2575 | | 0, |
2576 | | 0, |
2577 | | sizeof(ogs_pfcp_tlv_ul_periodicity_t), |
2578 | | { NULL } |
2579 | | }; |
2580 | | |
2581 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_mpquic_control_information = |
2582 | | { |
2583 | | OGS_TLV_VAR_STR, |
2584 | | "MPQUIC Control Information", |
2585 | | OGS_PFCP_MPQUIC_CONTROL_INFORMATION_TYPE, |
2586 | | 0, |
2587 | | 0, |
2588 | | sizeof(ogs_pfcp_tlv_mpquic_control_information_t), |
2589 | | { NULL } |
2590 | | }; |
2591 | | |
2592 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_mpquic_address_information = |
2593 | | { |
2594 | | OGS_TLV_VAR_STR, |
2595 | | "MPQUIC Address Information", |
2596 | | OGS_PFCP_MPQUIC_ADDRESS_INFORMATION_TYPE, |
2597 | | 0, |
2598 | | 0, |
2599 | | sizeof(ogs_pfcp_tlv_mpquic_address_information_t), |
2600 | | { NULL } |
2601 | | }; |
2602 | | |
2603 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_transport_mode = |
2604 | | { |
2605 | | OGS_TLV_VAR_STR, |
2606 | | "Transport Mode", |
2607 | | OGS_PFCP_TRANSPORT_MODE_TYPE, |
2608 | | 0, |
2609 | | 0, |
2610 | | sizeof(ogs_pfcp_tlv_transport_mode_t), |
2611 | | { NULL } |
2612 | | }; |
2613 | | |
2614 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_reporting_suggestion_info = |
2615 | | { |
2616 | | OGS_TLV_VAR_STR, |
2617 | | "Reporting Suggestion Info", |
2618 | | OGS_PFCP_REPORTING_SUGGESTION_INFO_TYPE, |
2619 | | 0, |
2620 | | 0, |
2621 | | sizeof(ogs_pfcp_tlv_reporting_suggestion_info_t), |
2622 | | { NULL } |
2623 | | }; |
2624 | | |
2625 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_tl_container = |
2626 | | { |
2627 | | OGS_TLV_VAR_STR, |
2628 | | "TL-Container", |
2629 | | OGS_PFCP_TL_CONTAINER_TYPE, |
2630 | | 0, |
2631 | | 0, |
2632 | | sizeof(ogs_pfcp_tlv_tl_container_t), |
2633 | | { NULL } |
2634 | | }; |
2635 | | |
2636 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_measurement_indication = |
2637 | | { |
2638 | | OGS_TLV_VAR_STR, |
2639 | | "Measurement Indication", |
2640 | | OGS_PFCP_MEASUREMENT_INDICATION_TYPE, |
2641 | | 0, |
2642 | | 0, |
2643 | | sizeof(ogs_pfcp_tlv_measurement_indication_t), |
2644 | | { NULL } |
2645 | | }; |
2646 | | |
2647 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_hplmn_s_nssai = |
2648 | | { |
2649 | | OGS_TLV_VAR_STR, |
2650 | | "HPLMN S-NSSAI", |
2651 | | OGS_PFCP_HPLMN_S_NSSAI_TYPE, |
2652 | | 0, |
2653 | | 0, |
2654 | | sizeof(ogs_pfcp_tlv_hplmn_s_nssai_t), |
2655 | | { NULL } |
2656 | | }; |
2657 | | |
2658 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_media_transport_protocol = |
2659 | | { |
2660 | | OGS_TLV_VAR_STR, |
2661 | | "Media Transport Protocol", |
2662 | | OGS_PFCP_MEDIA_TRANSPORT_PROTOCOL_TYPE, |
2663 | | 0, |
2664 | | 0, |
2665 | | sizeof(ogs_pfcp_tlv_media_transport_protocol_t), |
2666 | | { NULL } |
2667 | | }; |
2668 | | |
2669 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_rtp_header_extension_type = |
2670 | | { |
2671 | | OGS_TLV_VAR_STR, |
2672 | | "RTP Header Extension Type", |
2673 | | OGS_PFCP_RTP_HEADER_EXTENSION_TYPE_TYPE, |
2674 | | 0, |
2675 | | 0, |
2676 | | sizeof(ogs_pfcp_tlv_rtp_header_extension_type_t), |
2677 | | { NULL } |
2678 | | }; |
2679 | | |
2680 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_rtp_header_extension_id = |
2681 | | { |
2682 | | OGS_TLV_VAR_STR, |
2683 | | "RTP Header Extension ID", |
2684 | | OGS_PFCP_RTP_HEADER_EXTENSION_ID_TYPE, |
2685 | | 0, |
2686 | | 0, |
2687 | | sizeof(ogs_pfcp_tlv_rtp_header_extension_id_t), |
2688 | | { NULL } |
2689 | | }; |
2690 | | |
2691 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_rtp_payload_type = |
2692 | | { |
2693 | | OGS_TLV_VAR_STR, |
2694 | | "RTP Payload Type", |
2695 | | OGS_PFCP_RTP_PAYLOAD_TYPE_TYPE, |
2696 | | 0, |
2697 | | 0, |
2698 | | sizeof(ogs_pfcp_tlv_rtp_payload_type_t), |
2699 | | { NULL } |
2700 | | }; |
2701 | | |
2702 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_rtp_payload_format = |
2703 | | { |
2704 | | OGS_TLV_VAR_STR, |
2705 | | "RTP Payload Format", |
2706 | | OGS_PFCP_RTP_PAYLOAD_FORMAT_TYPE, |
2707 | | 0, |
2708 | | 0, |
2709 | | sizeof(ogs_pfcp_tlv_rtp_payload_format_t), |
2710 | | { NULL } |
2711 | | }; |
2712 | | |
2713 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_extended_dl_buffering_notification_policy = |
2714 | | { |
2715 | | OGS_TLV_VAR_STR, |
2716 | | "Extended DL Buffering Notification Policy", |
2717 | | OGS_PFCP_EXTENDED_DL_BUFFERING_NOTIFICATION_POLICY_TYPE, |
2718 | | 0, |
2719 | | 0, |
2720 | | sizeof(ogs_pfcp_tlv_extended_dl_buffering_notification_policy_t), |
2721 | | { NULL } |
2722 | | }; |
2723 | | |
2724 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_mt_sdt_control_information = |
2725 | | { |
2726 | | OGS_TLV_VAR_STR, |
2727 | | "MT-SDT Control Information", |
2728 | | OGS_PFCP_MT_SDT_CONTROL_INFORMATION_TYPE, |
2729 | | 0, |
2730 | | 0, |
2731 | | sizeof(ogs_pfcp_tlv_mt_sdt_control_information_t), |
2732 | | { NULL } |
2733 | | }; |
2734 | | |
2735 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_reporting_thresholds = |
2736 | | { |
2737 | | OGS_TLV_VAR_STR, |
2738 | | "Reporting Thresholds", |
2739 | | OGS_PFCP_REPORTING_THRESHOLDS_TYPE, |
2740 | | 0, |
2741 | | 0, |
2742 | | sizeof(ogs_pfcp_tlv_reporting_thresholds_t), |
2743 | | { NULL } |
2744 | | }; |
2745 | | |
2746 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_rtp_header_extension_additional_information = |
2747 | | { |
2748 | | OGS_TLV_VAR_STR, |
2749 | | "RTP Header Extension Additional Information", |
2750 | | OGS_PFCP_RTP_HEADER_EXTENSION_ADDITIONAL_INFORMATION_TYPE, |
2751 | | 0, |
2752 | | 0, |
2753 | | sizeof(ogs_pfcp_tlv_rtp_header_extension_additional_information_t), |
2754 | | { NULL } |
2755 | | }; |
2756 | | |
2757 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_mapped_n6_ip_address = |
2758 | | { |
2759 | | OGS_TLV_VAR_STR, |
2760 | | "Mapped N6 IP Address", |
2761 | | OGS_PFCP_MAPPED_N6_IP_ADDRESS_TYPE, |
2762 | | 0, |
2763 | | 0, |
2764 | | sizeof(ogs_pfcp_tlv_mapped_n6_ip_address_t), |
2765 | | { NULL } |
2766 | | }; |
2767 | | |
2768 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_n6_routing_information = |
2769 | | { |
2770 | | OGS_TLV_VAR_STR, |
2771 | | "N6 Routing Information", |
2772 | | OGS_PFCP_N6_ROUTING_INFORMATION_TYPE, |
2773 | | 0, |
2774 | | 0, |
2775 | | sizeof(ogs_pfcp_tlv_n6_routing_information_t), |
2776 | | { NULL } |
2777 | | }; |
2778 | | |
2779 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_uri = |
2780 | | { |
2781 | | OGS_TLV_VAR_STR, |
2782 | | "URI", |
2783 | | OGS_PFCP_URI_TYPE, |
2784 | | 0, |
2785 | | 0, |
2786 | | sizeof(ogs_pfcp_tlv_uri_t), |
2787 | | { NULL } |
2788 | | }; |
2789 | | |
2790 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_ue_level_measurements_configuration = |
2791 | | { |
2792 | | OGS_TLV_VAR_STR, |
2793 | | "UE Level Measurements Configuration", |
2794 | | OGS_PFCP_UE_LEVEL_MEASUREMENTS_CONFIGURATION_TYPE, |
2795 | | 0, |
2796 | | 0, |
2797 | | sizeof(ogs_pfcp_tlv_ue_level_measurements_configuration_t), |
2798 | | { NULL } |
2799 | | }; |
2800 | | |
2801 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_n6_delay_measurement_protocols = |
2802 | | { |
2803 | | OGS_TLV_VAR_STR, |
2804 | | "N6 Delay Measurement Protocols", |
2805 | | OGS_PFCP_N6_DELAY_MEASUREMENT_PROTOCOLS_TYPE, |
2806 | | 0, |
2807 | | 0, |
2808 | | sizeof(ogs_pfcp_tlv_n6_delay_measurement_protocols_t), |
2809 | | { NULL } |
2810 | | }; |
2811 | | |
2812 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_n6_delay_measurement_information = |
2813 | | { |
2814 | | OGS_TLV_VAR_STR, |
2815 | | "N6 Delay Measurement Information", |
2816 | | OGS_PFCP_N6_DELAY_MEASUREMENT_INFORMATION_TYPE, |
2817 | | 0, |
2818 | | 0, |
2819 | | sizeof(ogs_pfcp_tlv_n6_delay_measurement_information_t), |
2820 | | { NULL } |
2821 | | }; |
2822 | | |
2823 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_measurement_endpoint_address = |
2824 | | { |
2825 | | OGS_TLV_VAR_STR, |
2826 | | "Measurement Endpoint Address", |
2827 | | OGS_PFCP_MEASUREMENT_ENDPOINT_ADDRESS_TYPE, |
2828 | | 0, |
2829 | | 0, |
2830 | | sizeof(ogs_pfcp_tlv_measurement_endpoint_address_t), |
2831 | | { NULL } |
2832 | | }; |
2833 | | |
2834 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_operator_configurable_upf_capability = |
2835 | | { |
2836 | | OGS_TLV_VAR_STR, |
2837 | | "Operator Configurable UPF Capability", |
2838 | | OGS_PFCP_OPERATOR_CONFIGURABLE_UPF_CAPABILITY_TYPE, |
2839 | | 0, |
2840 | | 0, |
2841 | | sizeof(ogs_pfcp_tlv_operator_configurable_upf_capability_t), |
2842 | | { NULL } |
2843 | | }; |
2844 | | |
2845 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_packet_inspection_functionality = |
2846 | | { |
2847 | | OGS_TLV_VAR_STR, |
2848 | | "Packet Inspection functionality", |
2849 | | OGS_PFCP_PACKET_INSPECTION_FUNCTIONALITY_TYPE, |
2850 | | 0, |
2851 | | 0, |
2852 | | sizeof(ogs_pfcp_tlv_packet_inspection_functionality_t), |
2853 | | { NULL } |
2854 | | }; |
2855 | | |
2856 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_header_handling_control_rule = |
2857 | | { |
2858 | | OGS_TLV_VAR_STR, |
2859 | | "Header Handling Control Rule", |
2860 | | OGS_PFCP_HEADER_HANDLING_CONTROL_RULE_TYPE, |
2861 | | 0, |
2862 | | 0, |
2863 | | sizeof(ogs_pfcp_tlv_header_handling_control_rule_t), |
2864 | | { NULL } |
2865 | | }; |
2866 | | |
2867 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_header_handling_reporting_control_info = |
2868 | | { |
2869 | | OGS_TLV_VAR_STR, |
2870 | | "Header Handling Reporting Control Info", |
2871 | | OGS_PFCP_HEADER_HANDLING_REPORTING_CONTROL_INFO_TYPE, |
2872 | | 0, |
2873 | | 0, |
2874 | | sizeof(ogs_pfcp_tlv_header_handling_reporting_control_info_t), |
2875 | | { NULL } |
2876 | | }; |
2877 | | |
2878 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_header_handling_control_information = |
2879 | | { |
2880 | | OGS_TLV_VAR_STR, |
2881 | | "Header Handling Control information", |
2882 | | OGS_PFCP_HEADER_HANDLING_CONTROL_INFORMATION_TYPE, |
2883 | | 0, |
2884 | | 0, |
2885 | | sizeof(ogs_pfcp_tlv_header_handling_control_information_t), |
2886 | | { NULL } |
2887 | | }; |
2888 | | |
2889 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_header_detection_reference = |
2890 | | { |
2891 | | OGS_TLV_VAR_STR, |
2892 | | "Header Detection Reference", |
2893 | | OGS_PFCP_HEADER_DETECTION_REFERENCE_TYPE, |
2894 | | 0, |
2895 | | 0, |
2896 | | sizeof(ogs_pfcp_tlv_header_detection_reference_t), |
2897 | | { NULL } |
2898 | | }; |
2899 | | |
2900 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_header_detection_support_information = |
2901 | | { |
2902 | | OGS_TLV_VAR_STR, |
2903 | | "Header Detection Support Information", |
2904 | | OGS_PFCP_HEADER_DETECTION_SUPPORT_INFORMATION_TYPE, |
2905 | | 0, |
2906 | | 0, |
2907 | | sizeof(ogs_pfcp_tlv_header_detection_support_information_t), |
2908 | | { NULL } |
2909 | | }; |
2910 | | |
2911 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_reporting_endpoint_id = |
2912 | | { |
2913 | | OGS_TLV_VAR_STR, |
2914 | | "Reporting Endpoint ID", |
2915 | | OGS_PFCP_REPORTING_ENDPOINT_ID_TYPE, |
2916 | | 0, |
2917 | | 0, |
2918 | | sizeof(ogs_pfcp_tlv_reporting_endpoint_id_t), |
2919 | | { NULL } |
2920 | | }; |
2921 | | |
2922 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_header_handling_control_reference = |
2923 | | { |
2924 | | OGS_TLV_VAR_STR, |
2925 | | "Header Handling Control Reference", |
2926 | | OGS_PFCP_HEADER_HANDLING_CONTROL_REFERENCE_TYPE, |
2927 | | 0, |
2928 | | 0, |
2929 | | sizeof(ogs_pfcp_tlv_header_handling_control_reference_t), |
2930 | | { NULL } |
2931 | | }; |
2932 | | |
2933 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_header_handling_action = |
2934 | | { |
2935 | | OGS_TLV_VAR_STR, |
2936 | | "Header Handling Action", |
2937 | | OGS_PFCP_HEADER_HANDLING_ACTION_TYPE, |
2938 | | 0, |
2939 | | 0, |
2940 | | sizeof(ogs_pfcp_tlv_header_handling_action_t), |
2941 | | { NULL } |
2942 | | }; |
2943 | | |
2944 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_header_information = |
2945 | | { |
2946 | | OGS_TLV_VAR_STR, |
2947 | | "Header Information", |
2948 | | OGS_PFCP_HEADER_INFORMATION_TYPE, |
2949 | | 0, |
2950 | | 0, |
2951 | | sizeof(ogs_pfcp_tlv_header_information_t), |
2952 | | { NULL } |
2953 | | }; |
2954 | | |
2955 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_header_value = |
2956 | | { |
2957 | | OGS_TLV_VAR_STR, |
2958 | | "Header Value", |
2959 | | OGS_PFCP_HEADER_VALUE_TYPE, |
2960 | | 0, |
2961 | | 0, |
2962 | | sizeof(ogs_pfcp_tlv_header_value_t), |
2963 | | { NULL } |
2964 | | }; |
2965 | | |
2966 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_header_handling_condition = |
2967 | | { |
2968 | | OGS_TLV_VAR_STR, |
2969 | | "Header Handling Condition", |
2970 | | OGS_PFCP_HEADER_HANDLING_CONDITION_TYPE, |
2971 | | 0, |
2972 | | 0, |
2973 | | sizeof(ogs_pfcp_tlv_header_handling_condition_t), |
2974 | | { NULL } |
2975 | | }; |
2976 | | |
2977 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_header_handling_control_id = |
2978 | | { |
2979 | | OGS_TLV_VAR_STR, |
2980 | | "Header Handling Control ID", |
2981 | | OGS_PFCP_HEADER_HANDLING_CONTROL_ID_TYPE, |
2982 | | 0, |
2983 | | 0, |
2984 | | sizeof(ogs_pfcp_tlv_header_handling_control_id_t), |
2985 | | { NULL } |
2986 | | }; |
2987 | | |
2988 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_header_handling_control_rule_id = |
2989 | | { |
2990 | | OGS_TLV_VAR_STR, |
2991 | | "Header Handling Control Rule ID", |
2992 | | OGS_PFCP_HEADER_HANDLING_CONTROL_RULE_ID_TYPE, |
2993 | | 0, |
2994 | | 0, |
2995 | | sizeof(ogs_pfcp_tlv_header_handling_control_rule_id_t), |
2996 | | { NULL } |
2997 | | }; |
2998 | | |
2999 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_on_path_n6_connection_information = |
3000 | | { |
3001 | | OGS_TLV_VAR_STR, |
3002 | | "On-path N6 Connection Information", |
3003 | | OGS_PFCP_ON_PATH_N6_CONNECTION_INFORMATION_TYPE, |
3004 | | 0, |
3005 | | 0, |
3006 | | sizeof(ogs_pfcp_tlv_on_path_n6_connection_information_t), |
3007 | | { NULL } |
3008 | | }; |
3009 | | |
3010 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_measurement_reporting_type = |
3011 | | { |
3012 | | OGS_TLV_VAR_STR, |
3013 | | "Measurement Reporting Type", |
3014 | | OGS_PFCP_MEASUREMENT_REPORTING_TYPE_TYPE, |
3015 | | 0, |
3016 | | 0, |
3017 | | sizeof(ogs_pfcp_tlv_measurement_reporting_type_t), |
3018 | | { NULL } |
3019 | | }; |
3020 | | |
3021 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_n6_delay_measurement_failure_information = |
3022 | | { |
3023 | | OGS_TLV_VAR_STR, |
3024 | | "N6 Delay Measurement Failure Information", |
3025 | | OGS_PFCP_N6_DELAY_MEASUREMENT_FAILURE_INFORMATION_TYPE, |
3026 | | 0, |
3027 | | 0, |
3028 | | sizeof(ogs_pfcp_tlv_n6_delay_measurement_failure_information_t), |
3029 | | { NULL } |
3030 | | }; |
3031 | | |
3032 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_n6_delay_measurement_control_information_id = |
3033 | | { |
3034 | | OGS_TLV_VAR_STR, |
3035 | | "N6 Delay Measurement Control Information ID", |
3036 | | OGS_PFCP_N6_DELAY_MEASUREMENT_CONTROL_INFORMATION_ID_TYPE, |
3037 | | 0, |
3038 | | 0, |
3039 | | sizeof(ogs_pfcp_tlv_n6_delay_measurement_control_information_id_t), |
3040 | | { NULL } |
3041 | | }; |
3042 | | |
3043 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_measurement_endpoint_port_number = |
3044 | | { |
3045 | | OGS_TLV_VAR_STR, |
3046 | | "Measurement Endpoint Port Number", |
3047 | | OGS_PFCP_MEASUREMENT_ENDPOINT_PORT_NUMBER_TYPE, |
3048 | | 0, |
3049 | | 0, |
3050 | | sizeof(ogs_pfcp_tlv_measurement_endpoint_port_number_t), |
3051 | | { NULL } |
3052 | | }; |
3053 | | |
3054 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_header_handling_reporting_indication = |
3055 | | { |
3056 | | OGS_TLV_VAR_STR, |
3057 | | "Header Handling Reporting Indication", |
3058 | | OGS_PFCP_HEADER_HANDLING_REPORTING_INDICATION_TYPE, |
3059 | | 0, |
3060 | | 0, |
3061 | | sizeof(ogs_pfcp_tlv_header_handling_reporting_indication_t), |
3062 | | { NULL } |
3063 | | }; |
3064 | | |
3065 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_smf_change_reason = |
3066 | | { |
3067 | | OGS_TLV_VAR_STR, |
3068 | | "SMF Change Reason", |
3069 | | OGS_PFCP_SMF_CHANGE_REASON_TYPE, |
3070 | | 0, |
3071 | | 0, |
3072 | | sizeof(ogs_pfcp_tlv_smf_change_reason_t), |
3073 | | { NULL } |
3074 | | }; |
3075 | | |
3076 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_extended_transport_level_marking = |
3077 | | { |
3078 | | OGS_TLV_VAR_STR, |
3079 | | "Extended Transport Level Marking", |
3080 | | OGS_PFCP_EXTENDED_TRANSPORT_LEVEL_MARKING_TYPE, |
3081 | | 0, |
3082 | | 0, |
3083 | | sizeof(ogs_pfcp_tlv_extended_transport_level_marking_t), |
3084 | | { NULL } |
3085 | | }; |
3086 | | |
3087 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_pdu_set_importance = |
3088 | | { |
3089 | | OGS_TLV_VAR_STR, |
3090 | | "PDU Set Importance", |
3091 | | OGS_PFCP_PDU_SET_IMPORTANCE_TYPE, |
3092 | | 0, |
3093 | | 0, |
3094 | | sizeof(ogs_pfcp_tlv_pdu_set_importance_t), |
3095 | | { NULL } |
3096 | | }; |
3097 | | |
3098 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_moq_control_information = |
3099 | | { |
3100 | | OGS_TLV_VAR_STR, |
3101 | | "MoQ Control Information", |
3102 | | OGS_PFCP_MOQ_CONTROL_INFORMATION_TYPE, |
3103 | | 0, |
3104 | | 0, |
3105 | | sizeof(ogs_pfcp_tlv_moq_control_information_t), |
3106 | | { NULL } |
3107 | | }; |
3108 | | |
3109 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_moq_relay_ip_address = |
3110 | | { |
3111 | | OGS_TLV_VAR_STR, |
3112 | | "MoQ Relay IP Address", |
3113 | | OGS_PFCP_MOQ_RELAY_IP_ADDRESS_TYPE, |
3114 | | 0, |
3115 | | 0, |
3116 | | sizeof(ogs_pfcp_tlv_moq_relay_ip_address_t), |
3117 | | { NULL } |
3118 | | }; |
3119 | | |
3120 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_media_related_information_transfer_info = |
3121 | | { |
3122 | | OGS_TLV_VAR_STR, |
3123 | | "Media Related Information Transfer Info", |
3124 | | OGS_PFCP_MEDIA_RELATED_INFORMATION_TRANSFER_INFO_TYPE, |
3125 | | 0, |
3126 | | 0, |
3127 | | sizeof(ogs_pfcp_tlv_media_related_information_transfer_info_t), |
3128 | | { NULL } |
3129 | | }; |
3130 | | |
3131 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_reporting_control_information = |
3132 | | { |
3133 | | OGS_TLV_VAR_STR, |
3134 | | "Reporting Control Information", |
3135 | | OGS_PFCP_REPORTING_CONTROL_INFORMATION_TYPE, |
3136 | | 0, |
3137 | | 0, |
3138 | | sizeof(ogs_pfcp_tlv_reporting_control_information_t), |
3139 | | { NULL } |
3140 | | }; |
3141 | | |
3142 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_security_mode_stamp = |
3143 | | { |
3144 | | OGS_TLV_VAR_STR, |
3145 | | "Security Mode STAMP", |
3146 | | OGS_PFCP_SECURITY_MODE_STAMP_TYPE, |
3147 | | 0, |
3148 | | 0, |
3149 | | sizeof(ogs_pfcp_tlv_security_mode_stamp_t), |
3150 | | { NULL } |
3151 | | }; |
3152 | | |
3153 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_hmac_key = |
3154 | | { |
3155 | | OGS_TLV_VAR_STR, |
3156 | | "HMAC Key", |
3157 | | OGS_PFCP_HMAC_KEY_TYPE, |
3158 | | 0, |
3159 | | 0, |
3160 | | sizeof(ogs_pfcp_tlv_hmac_key_t), |
3161 | | { NULL } |
3162 | | }; |
3163 | | |
3164 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_security_mode_owamp_or_twamp = |
3165 | | { |
3166 | | OGS_TLV_VAR_STR, |
3167 | | "Security Mode OWAMP or TWAMP", |
3168 | | OGS_PFCP_SECURITY_MODE_OWAMP_OR_TWAMP_TYPE, |
3169 | | 0, |
3170 | | 0, |
3171 | | sizeof(ogs_pfcp_tlv_security_mode_owamp_or_twamp_t), |
3172 | | { NULL } |
3173 | | }; |
3174 | | |
3175 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_key_id_and_shared_secret = |
3176 | | { |
3177 | | OGS_TLV_VAR_STR, |
3178 | | "Key ID and Shared Secret", |
3179 | | OGS_PFCP_KEY_ID_AND_SHARED_SECRET_TYPE, |
3180 | | 0, |
3181 | | 0, |
3182 | | sizeof(ogs_pfcp_tlv_key_id_and_shared_secret_t), |
3183 | | { NULL } |
3184 | | }; |
3185 | | |
3186 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_remaining_data_reporting_indication = |
3187 | | { |
3188 | | OGS_TLV_VAR_STR, |
3189 | | "Remaining Data Reporting Indication", |
3190 | | OGS_PFCP_REMAINING_DATA_REPORTING_INDICATION_TYPE, |
3191 | | 0, |
3192 | | 0, |
3193 | | sizeof(ogs_pfcp_tlv_remaining_data_reporting_indication_t), |
3194 | | { NULL } |
3195 | | }; |
3196 | | |
3197 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_expedited_transfer_indication = |
3198 | | { |
3199 | | OGS_TLV_VAR_STR, |
3200 | | "Expedited Transfer Indication", |
3201 | | OGS_PFCP_EXPEDITED_TRANSFER_INDICATION_TYPE, |
3202 | | 0, |
3203 | | 0, |
3204 | | sizeof(ogs_pfcp_tlv_expedited_transfer_indication_t), |
3205 | | { NULL } |
3206 | | }; |
3207 | | |
3208 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_session_reflector_mode = |
3209 | | { |
3210 | | OGS_TLV_VAR_STR, |
3211 | | "Session Reflector Mode", |
3212 | | OGS_PFCP_SESSION_REFLECTOR_MODE_TYPE, |
3213 | | 0, |
3214 | | 0, |
3215 | | sizeof(ogs_pfcp_tlv_session_reflector_mode_t), |
3216 | | { NULL } |
3217 | | }; |
3218 | | |
3219 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_transport_level_marking_indications = |
3220 | | { |
3221 | | OGS_TLV_VAR_STR, |
3222 | | "Transport Level Marking Indications", |
3223 | | OGS_PFCP_TRANSPORT_LEVEL_MARKING_INDICATIONS_TYPE, |
3224 | | 0, |
3225 | | 0, |
3226 | | sizeof(ogs_pfcp_tlv_transport_level_marking_indications_t), |
3227 | | { NULL } |
3228 | | }; |
3229 | | |
3230 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_redundant_n3_n9_transmission_information = |
3231 | | { |
3232 | | OGS_TLV_VAR_STR, |
3233 | | "Redundant N3/N9 Transmission Information", |
3234 | | OGS_PFCP_REDUNDANT_N3_N9_TRANSMISSION_INFORMATION_TYPE, |
3235 | | 0, |
3236 | | 0, |
3237 | | sizeof(ogs_pfcp_tlv_redundant_n3_n9_transmission_information_t), |
3238 | | { NULL } |
3239 | | }; |
3240 | | |
3241 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_local_n3_n9_tunnel_information = |
3242 | | { |
3243 | | OGS_TLV_VAR_STR, |
3244 | | "Local N3/N9 Tunnel Information", |
3245 | | OGS_PFCP_LOCAL_N3_N9_TUNNEL_INFORMATION_TYPE, |
3246 | | 0, |
3247 | | 0, |
3248 | | sizeof(ogs_pfcp_tlv_local_n3_n9_tunnel_information_t), |
3249 | | { NULL } |
3250 | | }; |
3251 | | |
3252 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_remote_n3_n9_tunnel_information = |
3253 | | { |
3254 | | OGS_TLV_VAR_STR, |
3255 | | "Remote N3/N9 Tunnel Information", |
3256 | | OGS_PFCP_REMOTE_N3_N9_TUNNEL_INFORMATION_TYPE, |
3257 | | 0, |
3258 | | 0, |
3259 | | sizeof(ogs_pfcp_tlv_remote_n3_n9_tunnel_information_t), |
3260 | | { NULL } |
3261 | | }; |
3262 | | |
3263 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_binding_indication = |
3264 | | { |
3265 | | OGS_TLV_VAR_STR, |
3266 | | "Binding Indication", |
3267 | | OGS_PFCP_BINDING_INDICATION_TYPE, |
3268 | | 0, |
3269 | | 0, |
3270 | | sizeof(ogs_pfcp_tlv_binding_indication_t), |
3271 | | { NULL } |
3272 | | }; |
3273 | | |
3274 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_ethernet_packet_filter = |
3275 | | { |
3276 | | OGS_TLV_COMPOUND, |
3277 | | "Ethernet Packet Filter", |
3278 | | OGS_PFCP_ETHERNET_PACKET_FILTER_TYPE, |
3279 | | 0, |
3280 | | 0, |
3281 | | sizeof(ogs_pfcp_tlv_ethernet_packet_filter_t), |
3282 | | { |
3283 | | &ogs_pfcp_tlv_desc_ethernet_filter_id, |
3284 | | &ogs_pfcp_tlv_desc_ethernet_filter_properties, |
3285 | | &ogs_pfcp_tlv_desc_mac_address, |
3286 | | &ogs_pfcp_tlv_desc_ethertype, |
3287 | | &ogs_pfcp_tlv_desc_c_tag, |
3288 | | &ogs_pfcp_tlv_desc_s_tag, |
3289 | | &ogs_pfcp_tlv_desc_sdf_filter, |
3290 | | &ogs_tlv_desc_more8, |
3291 | | NULL, |
3292 | | } |
3293 | | }; |
3294 | | |
3295 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_redundant_transmission_parameters = |
3296 | | { |
3297 | | OGS_TLV_COMPOUND, |
3298 | | "Redundant Transmission Parameters", |
3299 | | OGS_PFCP_REDUNDANT_TRANSMISSION_PARAMETERS_TYPE, |
3300 | | 0, |
3301 | | 0, |
3302 | | sizeof(ogs_pfcp_tlv_redundant_transmission_parameters_t), |
3303 | | { |
3304 | | &ogs_pfcp_tlv_desc_f_teid, |
3305 | | &ogs_pfcp_tlv_desc_network_instance, |
3306 | | NULL, |
3307 | | } |
3308 | | }; |
3309 | | |
3310 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_ip_multicast_addressing_info_within_pfcp_session_establishment_request = |
3311 | | { |
3312 | | OGS_TLV_COMPOUND, |
3313 | | "IP Multicast Addressing Info within PFCP Session Establishment Request", |
3314 | | OGS_PFCP_IP_MULTICAST_ADDRESSING_INFO_WITHIN_PFCP_SESSION_ESTABLISHMENT_REQUEST_TYPE, |
3315 | | 0, |
3316 | | 0, |
3317 | | sizeof(ogs_pfcp_tlv_ip_multicast_addressing_info_within_pfcp_session_establishment_request_t), |
3318 | | { |
3319 | | &ogs_pfcp_tlv_desc_ip_multicast_address, |
3320 | | &ogs_pfcp_tlv_desc_source_ip_address, |
3321 | | &ogs_pfcp_tlv_desc_source_ip_address, |
3322 | | NULL, |
3323 | | } |
3324 | | }; |
3325 | | |
3326 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_rtp_header_extension_information = |
3327 | | { |
3328 | | OGS_TLV_COMPOUND, |
3329 | | "RTP Header Extension Information", |
3330 | | OGS_PFCP_RTP_HEADER_EXTENSION_INFORMATION_TYPE, |
3331 | | 0, |
3332 | | 0, |
3333 | | sizeof(ogs_pfcp_tlv_rtp_header_extension_information_t), |
3334 | | { |
3335 | | &ogs_pfcp_tlv_desc_rtp_header_extension_type, |
3336 | | &ogs_pfcp_tlv_desc_rtp_header_extension_id, |
3337 | | &ogs_pfcp_tlv_desc_rtp_header_extension_additional_information, |
3338 | | NULL, |
3339 | | } |
3340 | | }; |
3341 | | |
3342 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_rtp_payload_information = |
3343 | | { |
3344 | | OGS_TLV_COMPOUND, |
3345 | | "RTP Payload Information", |
3346 | | OGS_PFCP_RTP_PAYLOAD_INFORMATION_TYPE, |
3347 | | 0, |
3348 | | 0, |
3349 | | sizeof(ogs_pfcp_tlv_rtp_payload_information_t), |
3350 | | { |
3351 | | &ogs_pfcp_tlv_desc_rtp_payload_type, |
3352 | | &ogs_pfcp_tlv_desc_rtp_payload_format, |
3353 | | NULL, |
3354 | | } |
3355 | | }; |
3356 | | |
3357 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_protocol_description = |
3358 | | { |
3359 | | OGS_TLV_COMPOUND, |
3360 | | "Protocol Description", |
3361 | | OGS_PFCP_PROTOCOL_DESCRIPTION_TYPE, |
3362 | | 0, |
3363 | | 0, |
3364 | | sizeof(ogs_pfcp_tlv_protocol_description_t), |
3365 | | { |
3366 | | &ogs_pfcp_tlv_desc_media_transport_protocol, |
3367 | | &ogs_pfcp_tlv_desc_rtp_header_extension_information, |
3368 | | &ogs_pfcp_tlv_desc_rtp_payload_information, |
3369 | | &ogs_pfcp_tlv_desc_media_related_information_transfer_info, |
3370 | | NULL, |
3371 | | } |
3372 | | }; |
3373 | | |
3374 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_pdi = |
3375 | | { |
3376 | | OGS_TLV_COMPOUND, |
3377 | | "PDI", |
3378 | | OGS_PFCP_PDI_TYPE, |
3379 | | 0, |
3380 | | 0, |
3381 | | sizeof(ogs_pfcp_tlv_pdi_t), |
3382 | | { |
3383 | | &ogs_pfcp_tlv_desc_source_interface, |
3384 | | &ogs_pfcp_tlv_desc_f_teid, |
3385 | | &ogs_pfcp_tlv_desc_local_ingress_tunnel, |
3386 | | &ogs_pfcp_tlv_desc_network_instance, |
3387 | | &ogs_pfcp_tlv_desc_redundant_transmission_parameters, |
3388 | | &ogs_pfcp_tlv_desc_ue_ip_address, |
3389 | | &ogs_pfcp_tlv_desc_mapped_n6_ip_address, |
3390 | | &ogs_pfcp_tlv_desc_n6_routing_information, |
3391 | | &ogs_pfcp_tlv_desc_traffic_endpoint_id, |
3392 | | &ogs_pfcp_tlv_desc_sdf_filter, |
3393 | | &ogs_tlv_desc_more8, |
3394 | | &ogs_pfcp_tlv_desc_application_id, |
3395 | | &ogs_pfcp_tlv_desc_ethernet_pdu_session_information, |
3396 | | &ogs_pfcp_tlv_desc_ethernet_packet_filter, |
3397 | | &ogs_pfcp_tlv_desc_qfi, |
3398 | | &ogs_pfcp_tlv_desc_framed_route, |
3399 | | &ogs_tlv_desc_more8, |
3400 | | &ogs_pfcp_tlv_desc_framed_routing, |
3401 | | &ogs_pfcp_tlv_desc_framed_ipv6_route, |
3402 | | &ogs_tlv_desc_more8, |
3403 | | &ogs_pfcp_tlv_desc__interface_type, |
3404 | | &ogs_pfcp_tlv_desc_ip_multicast_addressing_info_within_pfcp_session_establishment_request, |
3405 | | &ogs_pfcp_tlv_desc_dns_query_response_filter, |
3406 | | &ogs_pfcp_tlv_desc_mbs_session_identifier, |
3407 | | &ogs_pfcp_tlv_desc_area_session_id, |
3408 | | &ogs_pfcp_tlv_desc_protocol_description, |
3409 | | &ogs_pfcp_tlv_desc_dns_query_response_filter, |
3410 | | &ogs_pfcp_tlv_desc_expedited_transfer_indication, |
3411 | | NULL, |
3412 | | } |
3413 | | }; |
3414 | | |
3415 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_transport_delay_reporting = |
3416 | | { |
3417 | | OGS_TLV_COMPOUND, |
3418 | | "Transport Delay Reporting", |
3419 | | OGS_PFCP_TRANSPORT_DELAY_REPORTING_TYPE, |
3420 | | 0, |
3421 | | 0, |
3422 | | sizeof(ogs_pfcp_tlv_transport_delay_reporting_t), |
3423 | | { |
3424 | | &ogs_pfcp_tlv_desc_remote_gtp_u_peer, |
3425 | | &ogs_pfcp_tlv_desc_transport_level_marking, |
3426 | | NULL, |
3427 | | } |
3428 | | }; |
3429 | | |
3430 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_create_pdr = |
3431 | | { |
3432 | | OGS_TLV_COMPOUND, |
3433 | | "Create PDR", |
3434 | | OGS_PFCP_CREATE_PDR_TYPE, |
3435 | | 0, |
3436 | | 0, |
3437 | | sizeof(ogs_pfcp_tlv_create_pdr_t), |
3438 | | { |
3439 | | &ogs_pfcp_tlv_desc_pdr_id, |
3440 | | &ogs_pfcp_tlv_desc_precedence, |
3441 | | &ogs_pfcp_tlv_desc_pdi, |
3442 | | &ogs_pfcp_tlv_desc_outer_header_removal, |
3443 | | &ogs_pfcp_tlv_desc_far_id, |
3444 | | &ogs_pfcp_tlv_desc_urr_id, |
3445 | | &ogs_tlv_desc_more8, |
3446 | | &ogs_pfcp_tlv_desc_qer_id, |
3447 | | &ogs_pfcp_tlv_desc_activate_predefined_rules, |
3448 | | &ogs_pfcp_tlv_desc_activation_time, |
3449 | | &ogs_pfcp_tlv_desc_deactivation_time, |
3450 | | &ogs_pfcp_tlv_desc_mar_id, |
3451 | | &ogs_pfcp_tlv_desc_packet_replication_and_detection_carry_on_information, |
3452 | | &ogs_pfcp_tlv_desc_ip_multicast_addressing_info_within_pfcp_session_establishment_request, |
3453 | | &ogs_pfcp_tlv_desc_ue_ip_address, |
3454 | | &ogs_pfcp_tlv_desc_multipath_applicable_indication, |
3455 | | &ogs_pfcp_tlv_desc_transport_delay_reporting, |
3456 | | &ogs_pfcp_tlv_desc_rat_type, |
3457 | | NULL, |
3458 | | } |
3459 | | }; |
3460 | | |
3461 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_forwarding_parameters = |
3462 | | { |
3463 | | OGS_TLV_COMPOUND, |
3464 | | "Forwarding Parameters", |
3465 | | OGS_PFCP_FORWARDING_PARAMETERS_TYPE, |
3466 | | 0, |
3467 | | 0, |
3468 | | sizeof(ogs_pfcp_tlv_forwarding_parameters_t), |
3469 | | { |
3470 | | &ogs_pfcp_tlv_desc_destination_interface, |
3471 | | &ogs_pfcp_tlv_desc_network_instance, |
3472 | | &ogs_pfcp_tlv_desc_redirect_information, |
3473 | | &ogs_pfcp_tlv_desc_outer_header_creation, |
3474 | | &ogs_pfcp_tlv_desc_transport_level_marking, |
3475 | | &ogs_pfcp_tlv_desc_extended_transport_level_marking, |
3476 | | &ogs_pfcp_tlv_desc_transport_level_marking_indications, |
3477 | | &ogs_pfcp_tlv_desc_forwarding_policy, |
3478 | | &ogs_pfcp_tlv_desc_metadata, |
3479 | | &ogs_pfcp_tlv_desc_header_enrichment, |
3480 | | &ogs_pfcp_tlv_desc_traffic_endpoint_id, |
3481 | | &ogs_pfcp_tlv_desc_proxying, |
3482 | | &ogs_pfcp_tlv_desc__interface_type, |
3483 | | &ogs_pfcp_tlv_desc_data_network_access_identifier, |
3484 | | &ogs_pfcp_tlv_desc_ip_address_and_port_number_replacement, |
3485 | | &ogs_pfcp_tlv_desc_n6_routing_information, |
3486 | | &ogs_pfcp_tlv_desc_header_handling_control_rule, |
3487 | | &ogs_pfcp_tlv_desc_on_path_n6_connection_information, |
3488 | | NULL, |
3489 | | } |
3490 | | }; |
3491 | | |
3492 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_duplicating_parameters = |
3493 | | { |
3494 | | OGS_TLV_COMPOUND, |
3495 | | "Duplicating Parameters", |
3496 | | OGS_PFCP_DUPLICATING_PARAMETERS_TYPE, |
3497 | | 0, |
3498 | | 0, |
3499 | | sizeof(ogs_pfcp_tlv_duplicating_parameters_t), |
3500 | | { |
3501 | | &ogs_pfcp_tlv_desc_destination_interface, |
3502 | | &ogs_pfcp_tlv_desc_outer_header_creation, |
3503 | | &ogs_pfcp_tlv_desc_transport_level_marking, |
3504 | | &ogs_pfcp_tlv_desc_forwarding_policy, |
3505 | | NULL, |
3506 | | } |
3507 | | }; |
3508 | | |
3509 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_redundant_transmission_forwarding_parameters = |
3510 | | { |
3511 | | OGS_TLV_COMPOUND, |
3512 | | "Redundant Transmission Forwarding Parameters", |
3513 | | OGS_PFCP_REDUNDANT_TRANSMISSION_FORWARDING_PARAMETERS_TYPE, |
3514 | | 0, |
3515 | | 0, |
3516 | | sizeof(ogs_pfcp_tlv_redundant_transmission_forwarding_parameters_t), |
3517 | | { |
3518 | | &ogs_pfcp_tlv_desc_outer_header_creation, |
3519 | | &ogs_pfcp_tlv_desc_network_instance, |
3520 | | NULL, |
3521 | | } |
3522 | | }; |
3523 | | |
3524 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_mbs_multicast_parameters = |
3525 | | { |
3526 | | OGS_TLV_COMPOUND, |
3527 | | "MBS Multicast Parameters", |
3528 | | OGS_PFCP_MBS_MULTICAST_PARAMETERS_TYPE, |
3529 | | 0, |
3530 | | 0, |
3531 | | sizeof(ogs_pfcp_tlv_mbs_multicast_parameters_t), |
3532 | | { |
3533 | | &ogs_pfcp_tlv_desc_destination_interface, |
3534 | | &ogs_pfcp_tlv_desc_network_instance, |
3535 | | &ogs_pfcp_tlv_desc_outer_header_creation, |
3536 | | &ogs_pfcp_tlv_desc_transport_level_marking, |
3537 | | &ogs_pfcp_tlv_desc__interface_type, |
3538 | | NULL, |
3539 | | } |
3540 | | }; |
3541 | | |
3542 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_add_mbs_unicast_parameters = |
3543 | | { |
3544 | | OGS_TLV_COMPOUND, |
3545 | | "Add MBS Unicast Parameters", |
3546 | | OGS_PFCP_ADD_MBS_UNICAST_PARAMETERS_TYPE, |
3547 | | 0, |
3548 | | 0, |
3549 | | sizeof(ogs_pfcp_tlv_add_mbs_unicast_parameters_t), |
3550 | | { |
3551 | | &ogs_pfcp_tlv_desc_destination_interface, |
3552 | | &ogs_pfcp_tlv_desc_mbs_unicast_parameters_id, |
3553 | | &ogs_pfcp_tlv_desc_network_instance, |
3554 | | &ogs_pfcp_tlv_desc_outer_header_creation, |
3555 | | &ogs_pfcp_tlv_desc_transport_level_marking, |
3556 | | &ogs_pfcp_tlv_desc__interface_type, |
3557 | | NULL, |
3558 | | } |
3559 | | }; |
3560 | | |
3561 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_create_far = |
3562 | | { |
3563 | | OGS_TLV_COMPOUND, |
3564 | | "Create FAR", |
3565 | | OGS_PFCP_CREATE_FAR_TYPE, |
3566 | | 0, |
3567 | | 0, |
3568 | | sizeof(ogs_pfcp_tlv_create_far_t), |
3569 | | { |
3570 | | &ogs_pfcp_tlv_desc_far_id, |
3571 | | &ogs_pfcp_tlv_desc_apply_action, |
3572 | | &ogs_pfcp_tlv_desc_forwarding_parameters, |
3573 | | &ogs_pfcp_tlv_desc_duplicating_parameters, |
3574 | | &ogs_pfcp_tlv_desc_bar_id, |
3575 | | &ogs_pfcp_tlv_desc_redundant_transmission_forwarding_parameters, |
3576 | | &ogs_pfcp_tlv_desc_mbs_multicast_parameters, |
3577 | | &ogs_pfcp_tlv_desc_add_mbs_unicast_parameters, |
3578 | | NULL, |
3579 | | } |
3580 | | }; |
3581 | | |
3582 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_update_forwarding_parameters = |
3583 | | { |
3584 | | OGS_TLV_COMPOUND, |
3585 | | "Update Forwarding Parameters", |
3586 | | OGS_PFCP_UPDATE_FORWARDING_PARAMETERS_TYPE, |
3587 | | 0, |
3588 | | 0, |
3589 | | sizeof(ogs_pfcp_tlv_update_forwarding_parameters_t), |
3590 | | { |
3591 | | &ogs_pfcp_tlv_desc_destination_interface, |
3592 | | &ogs_pfcp_tlv_desc_network_instance, |
3593 | | &ogs_pfcp_tlv_desc_redirect_information, |
3594 | | &ogs_pfcp_tlv_desc_outer_header_creation, |
3595 | | &ogs_pfcp_tlv_desc_transport_level_marking, |
3596 | | &ogs_pfcp_tlv_desc_extended_transport_level_marking, |
3597 | | &ogs_pfcp_tlv_desc_transport_level_marking_indications, |
3598 | | &ogs_pfcp_tlv_desc_forwarding_policy, |
3599 | | &ogs_pfcp_tlv_desc_metadata, |
3600 | | &ogs_pfcp_tlv_desc_header_enrichment, |
3601 | | &ogs_pfcp_tlv_desc_pfcpsmreq_flags, |
3602 | | &ogs_pfcp_tlv_desc_traffic_endpoint_id, |
3603 | | &ogs_pfcp_tlv_desc__interface_type, |
3604 | | &ogs_pfcp_tlv_desc_data_network_access_identifier, |
3605 | | &ogs_pfcp_tlv_desc_ip_address_and_port_number_replacement, |
3606 | | &ogs_pfcp_tlv_desc_header_handling_control_rule, |
3607 | | NULL, |
3608 | | } |
3609 | | }; |
3610 | | |
3611 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_update_duplicating_parameters = |
3612 | | { |
3613 | | OGS_TLV_COMPOUND, |
3614 | | "Update Duplicating Parameters", |
3615 | | OGS_PFCP_UPDATE_DUPLICATING_PARAMETERS_TYPE, |
3616 | | 0, |
3617 | | 0, |
3618 | | sizeof(ogs_pfcp_tlv_update_duplicating_parameters_t), |
3619 | | { |
3620 | | &ogs_pfcp_tlv_desc_destination_interface, |
3621 | | &ogs_pfcp_tlv_desc_outer_header_creation, |
3622 | | &ogs_pfcp_tlv_desc_transport_level_marking, |
3623 | | &ogs_pfcp_tlv_desc_forwarding_policy, |
3624 | | NULL, |
3625 | | } |
3626 | | }; |
3627 | | |
3628 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_update_far = |
3629 | | { |
3630 | | OGS_TLV_COMPOUND, |
3631 | | "Update FAR", |
3632 | | OGS_PFCP_UPDATE_FAR_TYPE, |
3633 | | 0, |
3634 | | 0, |
3635 | | sizeof(ogs_pfcp_tlv_update_far_t), |
3636 | | { |
3637 | | &ogs_pfcp_tlv_desc_far_id, |
3638 | | &ogs_pfcp_tlv_desc_apply_action, |
3639 | | &ogs_pfcp_tlv_desc_update_forwarding_parameters, |
3640 | | &ogs_pfcp_tlv_desc_update_duplicating_parameters, |
3641 | | &ogs_pfcp_tlv_desc_redundant_transmission_forwarding_parameters, |
3642 | | &ogs_pfcp_tlv_desc_bar_id, |
3643 | | &ogs_pfcp_tlv_desc_add_mbs_unicast_parameters, |
3644 | | &ogs_pfcp_tlv_desc_remove_mbs_unicast_parameters, |
3645 | | NULL, |
3646 | | } |
3647 | | }; |
3648 | | |
3649 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_pfd_context = |
3650 | | { |
3651 | | OGS_TLV_COMPOUND, |
3652 | | "PFD context", |
3653 | | OGS_PFCP_PFD_CONTEXT_TYPE, |
3654 | | 0, |
3655 | | 0, |
3656 | | sizeof(ogs_pfcp_tlv_pfd_context_t), |
3657 | | { |
3658 | | &ogs_pfcp_tlv_desc_pfd_contents, |
3659 | | NULL, |
3660 | | } |
3661 | | }; |
3662 | | |
3663 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_application_id_s_pfds = |
3664 | | { |
3665 | | OGS_TLV_COMPOUND, |
3666 | | "Application ID's PFDs", |
3667 | | OGS_PFCP_APPLICATION_ID_S_PFDS_TYPE, |
3668 | | 0, |
3669 | | 0, |
3670 | | sizeof(ogs_pfcp_tlv_application_id_s_pfds_t), |
3671 | | { |
3672 | | &ogs_pfcp_tlv_desc_application_id, |
3673 | | &ogs_pfcp_tlv_desc_pfd_context, |
3674 | | NULL, |
3675 | | } |
3676 | | }; |
3677 | | |
3678 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_ethernet_traffic_information = |
3679 | | { |
3680 | | OGS_TLV_COMPOUND, |
3681 | | "Ethernet Traffic Information", |
3682 | | OGS_PFCP_ETHERNET_TRAFFIC_INFORMATION_TYPE, |
3683 | | 0, |
3684 | | 0, |
3685 | | sizeof(ogs_pfcp_tlv_ethernet_traffic_information_t), |
3686 | | { |
3687 | | &ogs_pfcp_tlv_desc_mac_addresses_detected, |
3688 | | &ogs_pfcp_tlv_desc_mac_addresses_removed, |
3689 | | NULL, |
3690 | | } |
3691 | | }; |
3692 | | |
3693 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc__access_forwarding_action_information = |
3694 | | { |
3695 | | OGS_TLV_COMPOUND, |
3696 | | "3GPP Access Forwarding Action Information", |
3697 | | OGS_PFCP__ACCESS_FORWARDING_ACTION_INFORMATION_TYPE, |
3698 | | 0, |
3699 | | 0, |
3700 | | sizeof(ogs_pfcp_tlv__access_forwarding_action_information_t), |
3701 | | { |
3702 | | &ogs_pfcp_tlv_desc_far_id, |
3703 | | &ogs_pfcp_tlv_desc_weight, |
3704 | | &ogs_pfcp_tlv_desc_priority, |
3705 | | &ogs_pfcp_tlv_desc_urr_id, |
3706 | | &ogs_tlv_desc_more8, |
3707 | | &ogs_pfcp_tlv_desc_rat_type, |
3708 | | NULL, |
3709 | | } |
3710 | | }; |
3711 | | |
3712 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_non__access_forwarding_action_information = |
3713 | | { |
3714 | | OGS_TLV_COMPOUND, |
3715 | | "Non-3GPP Access Forwarding Action Information", |
3716 | | OGS_PFCP_NON__ACCESS_FORWARDING_ACTION_INFORMATION_TYPE, |
3717 | | 0, |
3718 | | 0, |
3719 | | sizeof(ogs_pfcp_tlv_non__access_forwarding_action_information_t), |
3720 | | { |
3721 | | &ogs_pfcp_tlv_desc_far_id, |
3722 | | &ogs_pfcp_tlv_desc_weight, |
3723 | | &ogs_pfcp_tlv_desc_priority, |
3724 | | &ogs_pfcp_tlv_desc_urr_id, |
3725 | | &ogs_tlv_desc_more8, |
3726 | | &ogs_pfcp_tlv_desc_rat_type, |
3727 | | NULL, |
3728 | | } |
3729 | | }; |
3730 | | |
3731 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_update__access_forwarding_action_information = |
3732 | | { |
3733 | | OGS_TLV_COMPOUND, |
3734 | | "Update 3GPP Access Forwarding Action Information", |
3735 | | OGS_PFCP_UPDATE__ACCESS_FORWARDING_ACTION_INFORMATION_TYPE, |
3736 | | 0, |
3737 | | 0, |
3738 | | sizeof(ogs_pfcp_tlv_update__access_forwarding_action_information_t), |
3739 | | { |
3740 | | &ogs_pfcp_tlv_desc_far_id, |
3741 | | &ogs_pfcp_tlv_desc_weight, |
3742 | | &ogs_pfcp_tlv_desc_priority, |
3743 | | &ogs_pfcp_tlv_desc_urr_id, |
3744 | | &ogs_pfcp_tlv_desc_rat_type, |
3745 | | NULL, |
3746 | | } |
3747 | | }; |
3748 | | |
3749 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_update_non__access_forwarding_action_information = |
3750 | | { |
3751 | | OGS_TLV_COMPOUND, |
3752 | | "Update Non-3GPP Access Forwarding Action Information", |
3753 | | OGS_PFCP_UPDATE_NON__ACCESS_FORWARDING_ACTION_INFORMATION_TYPE, |
3754 | | 0, |
3755 | | 0, |
3756 | | sizeof(ogs_pfcp_tlv_update_non__access_forwarding_action_information_t), |
3757 | | { |
3758 | | &ogs_pfcp_tlv_desc_far_id, |
3759 | | &ogs_pfcp_tlv_desc_weight, |
3760 | | &ogs_pfcp_tlv_desc_priority, |
3761 | | &ogs_pfcp_tlv_desc_urr_id, |
3762 | | &ogs_pfcp_tlv_desc_rat_type, |
3763 | | NULL, |
3764 | | } |
3765 | | }; |
3766 | | |
3767 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_access_availability_report = |
3768 | | { |
3769 | | OGS_TLV_COMPOUND, |
3770 | | "Access Availability Report", |
3771 | | OGS_PFCP_ACCESS_AVAILABILITY_REPORT_TYPE, |
3772 | | 0, |
3773 | | 0, |
3774 | | sizeof(ogs_pfcp_tlv_access_availability_report_t), |
3775 | | { |
3776 | | &ogs_pfcp_tlv_desc_access_availability_information, |
3777 | | NULL, |
3778 | | } |
3779 | | }; |
3780 | | |
3781 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_qos_monitoring_report = |
3782 | | { |
3783 | | OGS_TLV_COMPOUND, |
3784 | | "QoS Monitoring Report", |
3785 | | OGS_PFCP_QOS_MONITORING_REPORT_TYPE, |
3786 | | 0, |
3787 | | 0, |
3788 | | sizeof(ogs_pfcp_tlv_qos_monitoring_report_t), |
3789 | | { |
3790 | | &ogs_pfcp_tlv_desc_qfi, |
3791 | | &ogs_pfcp_tlv_desc_qos_monitoring_measurement, |
3792 | | &ogs_pfcp_tlv_desc_redundant_n3_n9_transmission_information, |
3793 | | &ogs_pfcp_tlv_desc_time_stamp, |
3794 | | &ogs_pfcp_tlv_desc_start_time, |
3795 | | NULL, |
3796 | | } |
3797 | | }; |
3798 | | |
3799 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_mptcp_parameters = |
3800 | | { |
3801 | | OGS_TLV_COMPOUND, |
3802 | | "MPTCP Parameters", |
3803 | | OGS_PFCP_MPTCP_PARAMETERS_TYPE, |
3804 | | 0, |
3805 | | 0, |
3806 | | sizeof(ogs_pfcp_tlv_mptcp_parameters_t), |
3807 | | { |
3808 | | &ogs_pfcp_tlv_desc_mptcp_address_information, |
3809 | | &ogs_pfcp_tlv_desc_link_specific_multipath_ip_address, |
3810 | | NULL, |
3811 | | } |
3812 | | }; |
3813 | | |
3814 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_atsss_ll_parameters = |
3815 | | { |
3816 | | OGS_TLV_COMPOUND, |
3817 | | "ATSSS-LL Parameters", |
3818 | | OGS_PFCP_ATSSS_LL_PARAMETERS_TYPE, |
3819 | | 0, |
3820 | | 0, |
3821 | | sizeof(ogs_pfcp_tlv_atsss_ll_parameters_t), |
3822 | | { |
3823 | | &ogs_pfcp_tlv_desc_atsss_ll_information, |
3824 | | NULL, |
3825 | | } |
3826 | | }; |
3827 | | |
3828 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_pmf_parameters = |
3829 | | { |
3830 | | OGS_TLV_COMPOUND, |
3831 | | "PMF Parameters", |
3832 | | OGS_PFCP_PMF_PARAMETERS_TYPE, |
3833 | | 0, |
3834 | | 0, |
3835 | | sizeof(ogs_pfcp_tlv_pmf_parameters_t), |
3836 | | { |
3837 | | &ogs_pfcp_tlv_desc_pmf_address_information, |
3838 | | &ogs_pfcp_tlv_desc_qfi, |
3839 | | NULL, |
3840 | | } |
3841 | | }; |
3842 | | |
3843 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_join_ip_multicast_information_ie_within_usage_report = |
3844 | | { |
3845 | | OGS_TLV_COMPOUND, |
3846 | | "Join IP Multicast Information IE within Usage Report", |
3847 | | OGS_PFCP_JOIN_IP_MULTICAST_INFORMATION_IE_WITHIN_USAGE_REPORT_TYPE, |
3848 | | 0, |
3849 | | 0, |
3850 | | sizeof(ogs_pfcp_tlv_join_ip_multicast_information_ie_within_usage_report_t), |
3851 | | { |
3852 | | &ogs_pfcp_tlv_desc_ip_multicast_address, |
3853 | | &ogs_pfcp_tlv_desc_source_ip_address, |
3854 | | NULL, |
3855 | | } |
3856 | | }; |
3857 | | |
3858 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_leave_ip_multicast_information_ie_within_usage_report = |
3859 | | { |
3860 | | OGS_TLV_COMPOUND, |
3861 | | "Leave IP Multicast Information IE within Usage Report", |
3862 | | OGS_PFCP_LEAVE_IP_MULTICAST_INFORMATION_IE_WITHIN_USAGE_REPORT_TYPE, |
3863 | | 0, |
3864 | | 0, |
3865 | | sizeof(ogs_pfcp_tlv_leave_ip_multicast_information_ie_within_usage_report_t), |
3866 | | { |
3867 | | &ogs_pfcp_tlv_desc_ip_multicast_address, |
3868 | | &ogs_pfcp_tlv_desc_source_ip_address, |
3869 | | NULL, |
3870 | | } |
3871 | | }; |
3872 | | |
3873 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_create_urr = |
3874 | | { |
3875 | | OGS_TLV_COMPOUND, |
3876 | | "Create URR", |
3877 | | OGS_PFCP_CREATE_URR_TYPE, |
3878 | | 0, |
3879 | | 0, |
3880 | | sizeof(ogs_pfcp_tlv_create_urr_t), |
3881 | | { |
3882 | | &ogs_pfcp_tlv_desc_urr_id, |
3883 | | &ogs_pfcp_tlv_desc_measurement_method, |
3884 | | &ogs_pfcp_tlv_desc_reporting_triggers, |
3885 | | &ogs_pfcp_tlv_desc_measurement_period, |
3886 | | &ogs_pfcp_tlv_desc_volume_threshold, |
3887 | | &ogs_pfcp_tlv_desc_volume_quota, |
3888 | | &ogs_pfcp_tlv_desc_event_threshold, |
3889 | | &ogs_pfcp_tlv_desc_event_quota, |
3890 | | &ogs_pfcp_tlv_desc_time_threshold, |
3891 | | &ogs_pfcp_tlv_desc_time_quota, |
3892 | | &ogs_pfcp_tlv_desc_quota_holding_time, |
3893 | | &ogs_pfcp_tlv_desc_dropped_dl_traffic_threshold, |
3894 | | &ogs_pfcp_tlv_desc_quota_validity_time, |
3895 | | &ogs_pfcp_tlv_desc_monitoring_time, |
3896 | | &ogs_pfcp_tlv_desc_subsequent_volume_threshold, |
3897 | | &ogs_pfcp_tlv_desc_subsequent_time_threshold, |
3898 | | &ogs_pfcp_tlv_desc_subsequent_volume_quota, |
3899 | | &ogs_pfcp_tlv_desc_subsequent_time_quota, |
3900 | | &ogs_pfcp_tlv_desc_subsequent_event_threshold, |
3901 | | &ogs_pfcp_tlv_desc_subsequent_event_quota, |
3902 | | &ogs_pfcp_tlv_desc_inactivity_detection_time, |
3903 | | &ogs_pfcp_tlv_desc_linked_urr_id, |
3904 | | &ogs_pfcp_tlv_desc_measurement_information, |
3905 | | &ogs_pfcp_tlv_desc_time_quota_mechanism, |
3906 | | &ogs_pfcp_tlv_desc_aggregated_urrs, |
3907 | | &ogs_pfcp_tlv_desc_far_id, |
3908 | | &ogs_pfcp_tlv_desc_ethernet_inactivity_timer, |
3909 | | &ogs_pfcp_tlv_desc_additional_monitoring_time, |
3910 | | &ogs_pfcp_tlv_desc_number_of_reports, |
3911 | | &ogs_pfcp_tlv_desc_application_id, |
3912 | | &ogs_pfcp_tlv_desc_sdf_filter, |
3913 | | &ogs_tlv_desc_more8, |
3914 | | &ogs_pfcp_tlv_desc_user_plane_inactivity_timer, |
3915 | | NULL, |
3916 | | } |
3917 | | }; |
3918 | | |
3919 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_create_qer = |
3920 | | { |
3921 | | OGS_TLV_COMPOUND, |
3922 | | "Create QER", |
3923 | | OGS_PFCP_CREATE_QER_TYPE, |
3924 | | 0, |
3925 | | 0, |
3926 | | sizeof(ogs_pfcp_tlv_create_qer_t), |
3927 | | { |
3928 | | &ogs_pfcp_tlv_desc_qer_id, |
3929 | | &ogs_pfcp_tlv_desc_qer_correlation_id, |
3930 | | &ogs_pfcp_tlv_desc_gate_status, |
3931 | | &ogs_pfcp_tlv_desc_mbr, |
3932 | | &ogs_pfcp_tlv_desc_gbr, |
3933 | | &ogs_pfcp_tlv_desc_packet_rate, |
3934 | | &ogs_pfcp_tlv_desc_packet_rate_status, |
3935 | | &ogs_pfcp_tlv_desc_dl_flow_level_marking, |
3936 | | &ogs_pfcp_tlv_desc_qfi, |
3937 | | &ogs_pfcp_tlv_desc_rqi, |
3938 | | &ogs_pfcp_tlv_desc_paging_policy_indicator, |
3939 | | &ogs_pfcp_tlv_desc_averaging_window, |
3940 | | &ogs_pfcp_tlv_desc_qer_control_indications, |
3941 | | &ogs_pfcp_tlv_desc_qer_indications, |
3942 | | NULL, |
3943 | | } |
3944 | | }; |
3945 | | |
3946 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_created_pdr = |
3947 | | { |
3948 | | OGS_TLV_COMPOUND, |
3949 | | "Created PDR", |
3950 | | OGS_PFCP_CREATED_PDR_TYPE, |
3951 | | 0, |
3952 | | 0, |
3953 | | sizeof(ogs_pfcp_tlv_created_pdr_t), |
3954 | | { |
3955 | | &ogs_pfcp_tlv_desc_pdr_id, |
3956 | | &ogs_pfcp_tlv_desc_f_teid, |
3957 | | &ogs_pfcp_tlv_desc_f_teid, |
3958 | | &ogs_pfcp_tlv_desc_ue_ip_address, |
3959 | | &ogs_pfcp_tlv_desc_mapped_n6_ip_address, |
3960 | | &ogs_pfcp_tlv_desc_local_ingress_tunnel, |
3961 | | NULL, |
3962 | | } |
3963 | | }; |
3964 | | |
3965 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_update_pdr = |
3966 | | { |
3967 | | OGS_TLV_COMPOUND, |
3968 | | "Update PDR", |
3969 | | OGS_PFCP_UPDATE_PDR_TYPE, |
3970 | | 0, |
3971 | | 0, |
3972 | | sizeof(ogs_pfcp_tlv_update_pdr_t), |
3973 | | { |
3974 | | &ogs_pfcp_tlv_desc_pdr_id, |
3975 | | &ogs_pfcp_tlv_desc_outer_header_removal, |
3976 | | &ogs_pfcp_tlv_desc_precedence, |
3977 | | &ogs_pfcp_tlv_desc_pdi, |
3978 | | &ogs_pfcp_tlv_desc_far_id, |
3979 | | &ogs_pfcp_tlv_desc_urr_id, |
3980 | | &ogs_pfcp_tlv_desc_qer_id, |
3981 | | &ogs_pfcp_tlv_desc_activate_predefined_rules, |
3982 | | &ogs_pfcp_tlv_desc_deactivate_predefined_rules, |
3983 | | &ogs_pfcp_tlv_desc_activation_time, |
3984 | | &ogs_pfcp_tlv_desc_deactivation_time, |
3985 | | &ogs_pfcp_tlv_desc_ip_multicast_addressing_info_within_pfcp_session_establishment_request, |
3986 | | &ogs_pfcp_tlv_desc_transport_delay_reporting, |
3987 | | &ogs_pfcp_tlv_desc_rat_type, |
3988 | | NULL, |
3989 | | } |
3990 | | }; |
3991 | | |
3992 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_update_bar_pfcp_session_report_response = |
3993 | | { |
3994 | | OGS_TLV_COMPOUND, |
3995 | | "Update BAR PFCP Session Report Response", |
3996 | | OGS_PFCP_UPDATE_BAR_PFCP_SESSION_REPORT_RESPONSE_TYPE, |
3997 | | 0, |
3998 | | 0, |
3999 | | sizeof(ogs_pfcp_tlv_update_bar_pfcp_session_report_response_t), |
4000 | | { |
4001 | | &ogs_pfcp_tlv_desc_bar_id, |
4002 | | &ogs_pfcp_tlv_desc_downlink_data_notification_delay, |
4003 | | &ogs_pfcp_tlv_desc_dl_buffering_duration, |
4004 | | &ogs_pfcp_tlv_desc_dl_buffering_suggested_packet_count, |
4005 | | &ogs_pfcp_tlv_desc_suggested_buffering_packets_count, |
4006 | | &ogs_pfcp_tlv_desc_extended_dl_buffering_notification_policy, |
4007 | | NULL, |
4008 | | } |
4009 | | }; |
4010 | | |
4011 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_update_urr = |
4012 | | { |
4013 | | OGS_TLV_COMPOUND, |
4014 | | "Update URR", |
4015 | | OGS_PFCP_UPDATE_URR_TYPE, |
4016 | | 0, |
4017 | | 0, |
4018 | | sizeof(ogs_pfcp_tlv_update_urr_t), |
4019 | | { |
4020 | | &ogs_pfcp_tlv_desc_urr_id, |
4021 | | &ogs_pfcp_tlv_desc_measurement_method, |
4022 | | &ogs_pfcp_tlv_desc_reporting_triggers, |
4023 | | &ogs_pfcp_tlv_desc_measurement_period, |
4024 | | &ogs_pfcp_tlv_desc_volume_threshold, |
4025 | | &ogs_pfcp_tlv_desc_volume_quota, |
4026 | | &ogs_pfcp_tlv_desc_time_threshold, |
4027 | | &ogs_pfcp_tlv_desc_time_quota, |
4028 | | &ogs_pfcp_tlv_desc_event_threshold, |
4029 | | &ogs_pfcp_tlv_desc_event_quota, |
4030 | | &ogs_pfcp_tlv_desc_quota_holding_time, |
4031 | | &ogs_pfcp_tlv_desc_dropped_dl_traffic_threshold, |
4032 | | &ogs_pfcp_tlv_desc_quota_validity_time, |
4033 | | &ogs_pfcp_tlv_desc_monitoring_time, |
4034 | | &ogs_pfcp_tlv_desc_subsequent_volume_threshold, |
4035 | | &ogs_pfcp_tlv_desc_subsequent_time_threshold, |
4036 | | &ogs_pfcp_tlv_desc_subsequent_volume_quota, |
4037 | | &ogs_pfcp_tlv_desc_subsequent_time_quota, |
4038 | | &ogs_pfcp_tlv_desc_subsequent_event_threshold, |
4039 | | &ogs_pfcp_tlv_desc_subsequent_event_quota, |
4040 | | &ogs_pfcp_tlv_desc_inactivity_detection_time, |
4041 | | &ogs_pfcp_tlv_desc_linked_urr_id, |
4042 | | &ogs_pfcp_tlv_desc_measurement_information, |
4043 | | &ogs_pfcp_tlv_desc_time_quota_mechanism, |
4044 | | &ogs_pfcp_tlv_desc_aggregated_urrs, |
4045 | | &ogs_pfcp_tlv_desc_far_id, |
4046 | | &ogs_pfcp_tlv_desc_ethernet_inactivity_timer, |
4047 | | &ogs_pfcp_tlv_desc_additional_monitoring_time, |
4048 | | &ogs_pfcp_tlv_desc_number_of_reports, |
4049 | | &ogs_pfcp_tlv_desc_application_id, |
4050 | | &ogs_pfcp_tlv_desc_sdf_filter, |
4051 | | &ogs_tlv_desc_more8, |
4052 | | &ogs_pfcp_tlv_desc_user_plane_inactivity_timer, |
4053 | | NULL, |
4054 | | } |
4055 | | }; |
4056 | | |
4057 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_update_qer = |
4058 | | { |
4059 | | OGS_TLV_COMPOUND, |
4060 | | "Update QER", |
4061 | | OGS_PFCP_UPDATE_QER_TYPE, |
4062 | | 0, |
4063 | | 0, |
4064 | | sizeof(ogs_pfcp_tlv_update_qer_t), |
4065 | | { |
4066 | | &ogs_pfcp_tlv_desc_qer_id, |
4067 | | &ogs_pfcp_tlv_desc_qer_correlation_id, |
4068 | | &ogs_pfcp_tlv_desc_gate_status, |
4069 | | &ogs_pfcp_tlv_desc_mbr, |
4070 | | &ogs_pfcp_tlv_desc_gbr, |
4071 | | &ogs_pfcp_tlv_desc_packet_rate, |
4072 | | &ogs_pfcp_tlv_desc_dl_flow_level_marking, |
4073 | | &ogs_pfcp_tlv_desc_qfi, |
4074 | | &ogs_pfcp_tlv_desc_rqi, |
4075 | | &ogs_pfcp_tlv_desc_paging_policy_indicator, |
4076 | | &ogs_pfcp_tlv_desc_averaging_window, |
4077 | | &ogs_pfcp_tlv_desc_qer_control_indications, |
4078 | | &ogs_pfcp_tlv_desc_qer_indications, |
4079 | | NULL, |
4080 | | } |
4081 | | }; |
4082 | | |
4083 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_remove_pdr = |
4084 | | { |
4085 | | OGS_TLV_COMPOUND, |
4086 | | "Remove PDR", |
4087 | | OGS_PFCP_REMOVE_PDR_TYPE, |
4088 | | 0, |
4089 | | 0, |
4090 | | sizeof(ogs_pfcp_tlv_remove_pdr_t), |
4091 | | { |
4092 | | &ogs_pfcp_tlv_desc_pdr_id, |
4093 | | NULL, |
4094 | | } |
4095 | | }; |
4096 | | |
4097 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_remove_far = |
4098 | | { |
4099 | | OGS_TLV_COMPOUND, |
4100 | | "Remove FAR", |
4101 | | OGS_PFCP_REMOVE_FAR_TYPE, |
4102 | | 0, |
4103 | | 0, |
4104 | | sizeof(ogs_pfcp_tlv_remove_far_t), |
4105 | | { |
4106 | | &ogs_pfcp_tlv_desc_far_id, |
4107 | | NULL, |
4108 | | } |
4109 | | }; |
4110 | | |
4111 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_remove_urr = |
4112 | | { |
4113 | | OGS_TLV_COMPOUND, |
4114 | | "Remove URR", |
4115 | | OGS_PFCP_REMOVE_URR_TYPE, |
4116 | | 0, |
4117 | | 0, |
4118 | | sizeof(ogs_pfcp_tlv_remove_urr_t), |
4119 | | { |
4120 | | &ogs_pfcp_tlv_desc_urr_id, |
4121 | | NULL, |
4122 | | } |
4123 | | }; |
4124 | | |
4125 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_remove_qer = |
4126 | | { |
4127 | | OGS_TLV_COMPOUND, |
4128 | | "Remove QER", |
4129 | | OGS_PFCP_REMOVE_QER_TYPE, |
4130 | | 0, |
4131 | | 0, |
4132 | | sizeof(ogs_pfcp_tlv_remove_qer_t), |
4133 | | { |
4134 | | &ogs_pfcp_tlv_desc_qer_id, |
4135 | | NULL, |
4136 | | } |
4137 | | }; |
4138 | | |
4139 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_load_control_information = |
4140 | | { |
4141 | | OGS_TLV_COMPOUND, |
4142 | | "Load Control Information", |
4143 | | OGS_PFCP_LOAD_CONTROL_INFORMATION_TYPE, |
4144 | | 0, |
4145 | | 0, |
4146 | | sizeof(ogs_pfcp_tlv_load_control_information_t), |
4147 | | { |
4148 | | &ogs_pfcp_tlv_desc_sequence_number, |
4149 | | &ogs_pfcp_tlv_desc_metric, |
4150 | | NULL, |
4151 | | } |
4152 | | }; |
4153 | | |
4154 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_overload_control_information = |
4155 | | { |
4156 | | OGS_TLV_COMPOUND, |
4157 | | "Overload Control Information", |
4158 | | OGS_PFCP_OVERLOAD_CONTROL_INFORMATION_TYPE, |
4159 | | 0, |
4160 | | 0, |
4161 | | sizeof(ogs_pfcp_tlv_overload_control_information_t), |
4162 | | { |
4163 | | &ogs_pfcp_tlv_desc_sequence_number, |
4164 | | &ogs_pfcp_tlv_desc_metric, |
4165 | | &ogs_pfcp_tlv_desc_timer, |
4166 | | &ogs_pfcp_tlv_desc_oci_flags, |
4167 | | NULL, |
4168 | | } |
4169 | | }; |
4170 | | |
4171 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_application_detection_information = |
4172 | | { |
4173 | | OGS_TLV_COMPOUND, |
4174 | | "Application Detection Information", |
4175 | | OGS_PFCP_APPLICATION_DETECTION_INFORMATION_TYPE, |
4176 | | 0, |
4177 | | 0, |
4178 | | sizeof(ogs_pfcp_tlv_application_detection_information_t), |
4179 | | { |
4180 | | &ogs_pfcp_tlv_desc_application_id, |
4181 | | &ogs_pfcp_tlv_desc_application_instance_id, |
4182 | | &ogs_pfcp_tlv_desc_flow_information, |
4183 | | &ogs_pfcp_tlv_desc_pdr_id, |
4184 | | NULL, |
4185 | | } |
4186 | | }; |
4187 | | |
4188 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_query_urr = |
4189 | | { |
4190 | | OGS_TLV_COMPOUND, |
4191 | | "Query URR", |
4192 | | OGS_PFCP_QUERY_URR_TYPE, |
4193 | | 0, |
4194 | | 0, |
4195 | | sizeof(ogs_pfcp_tlv_query_urr_t), |
4196 | | { |
4197 | | &ogs_pfcp_tlv_desc_urr_id, |
4198 | | NULL, |
4199 | | } |
4200 | | }; |
4201 | | |
4202 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_usage_report_session_modification_response = |
4203 | | { |
4204 | | OGS_TLV_COMPOUND, |
4205 | | "Usage Report Session Modification Response", |
4206 | | OGS_PFCP_USAGE_REPORT_SESSION_MODIFICATION_RESPONSE_TYPE, |
4207 | | 0, |
4208 | | 0, |
4209 | | sizeof(ogs_pfcp_tlv_usage_report_session_modification_response_t), |
4210 | | { |
4211 | | &ogs_pfcp_tlv_desc_urr_id, |
4212 | | &ogs_pfcp_tlv_desc_ur_seqn, |
4213 | | &ogs_pfcp_tlv_desc_usage_report_trigger, |
4214 | | &ogs_pfcp_tlv_desc_start_time, |
4215 | | &ogs_pfcp_tlv_desc_end_time, |
4216 | | &ogs_pfcp_tlv_desc_volume_measurement, |
4217 | | &ogs_pfcp_tlv_desc_duration_measurement, |
4218 | | &ogs_pfcp_tlv_desc_time_of_first_packet, |
4219 | | &ogs_pfcp_tlv_desc_time_of_last_packet, |
4220 | | &ogs_pfcp_tlv_desc_usage_information, |
4221 | | &ogs_pfcp_tlv_desc_query_urr_reference, |
4222 | | &ogs_pfcp_tlv_desc_ethernet_traffic_information, |
4223 | | NULL, |
4224 | | } |
4225 | | }; |
4226 | | |
4227 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_usage_report_session_deletion_response = |
4228 | | { |
4229 | | OGS_TLV_COMPOUND, |
4230 | | "Usage Report Session Deletion Response", |
4231 | | OGS_PFCP_USAGE_REPORT_SESSION_DELETION_RESPONSE_TYPE, |
4232 | | 0, |
4233 | | 0, |
4234 | | sizeof(ogs_pfcp_tlv_usage_report_session_deletion_response_t), |
4235 | | { |
4236 | | &ogs_pfcp_tlv_desc_urr_id, |
4237 | | &ogs_pfcp_tlv_desc_ur_seqn, |
4238 | | &ogs_pfcp_tlv_desc_usage_report_trigger, |
4239 | | &ogs_pfcp_tlv_desc_start_time, |
4240 | | &ogs_pfcp_tlv_desc_end_time, |
4241 | | &ogs_pfcp_tlv_desc_volume_measurement, |
4242 | | &ogs_pfcp_tlv_desc_duration_measurement, |
4243 | | &ogs_pfcp_tlv_desc_time_of_first_packet, |
4244 | | &ogs_pfcp_tlv_desc_time_of_last_packet, |
4245 | | &ogs_pfcp_tlv_desc_usage_information, |
4246 | | &ogs_pfcp_tlv_desc_ethernet_traffic_information, |
4247 | | NULL, |
4248 | | } |
4249 | | }; |
4250 | | |
4251 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_usage_report_session_report_request = |
4252 | | { |
4253 | | OGS_TLV_COMPOUND, |
4254 | | "Usage Report Session Report Request", |
4255 | | OGS_PFCP_USAGE_REPORT_SESSION_REPORT_REQUEST_TYPE, |
4256 | | 0, |
4257 | | 0, |
4258 | | sizeof(ogs_pfcp_tlv_usage_report_session_report_request_t), |
4259 | | { |
4260 | | &ogs_pfcp_tlv_desc_urr_id, |
4261 | | &ogs_pfcp_tlv_desc_ur_seqn, |
4262 | | &ogs_pfcp_tlv_desc_usage_report_trigger, |
4263 | | &ogs_pfcp_tlv_desc_start_time, |
4264 | | &ogs_pfcp_tlv_desc_end_time, |
4265 | | &ogs_pfcp_tlv_desc_volume_measurement, |
4266 | | &ogs_pfcp_tlv_desc_duration_measurement, |
4267 | | &ogs_pfcp_tlv_desc_application_detection_information, |
4268 | | &ogs_pfcp_tlv_desc_ue_ip_address, |
4269 | | &ogs_pfcp_tlv_desc_network_instance, |
4270 | | &ogs_pfcp_tlv_desc_time_of_first_packet, |
4271 | | &ogs_pfcp_tlv_desc_time_of_last_packet, |
4272 | | &ogs_pfcp_tlv_desc_usage_information, |
4273 | | &ogs_pfcp_tlv_desc_query_urr_reference, |
4274 | | &ogs_pfcp_tlv_desc_time_stamp, |
4275 | | &ogs_pfcp_tlv_desc_ethernet_traffic_information, |
4276 | | &ogs_pfcp_tlv_desc_join_ip_multicast_information_ie_within_usage_report, |
4277 | | &ogs_pfcp_tlv_desc_leave_ip_multicast_information_ie_within_usage_report, |
4278 | | &ogs_pfcp_tlv_desc_predefined_rules_name, |
4279 | | NULL, |
4280 | | } |
4281 | | }; |
4282 | | |
4283 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_downlink_data_report = |
4284 | | { |
4285 | | OGS_TLV_COMPOUND, |
4286 | | "Downlink Data Report", |
4287 | | OGS_PFCP_DOWNLINK_DATA_REPORT_TYPE, |
4288 | | 0, |
4289 | | 0, |
4290 | | sizeof(ogs_pfcp_tlv_downlink_data_report_t), |
4291 | | { |
4292 | | &ogs_pfcp_tlv_desc_pdr_id, |
4293 | | &ogs_pfcp_tlv_desc_downlink_data_service_information, |
4294 | | &ogs_pfcp_tlv_desc_dl_data_packets_size, |
4295 | | &ogs_pfcp_tlv_desc_data_status, |
4296 | | NULL, |
4297 | | } |
4298 | | }; |
4299 | | |
4300 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_create_bar = |
4301 | | { |
4302 | | OGS_TLV_COMPOUND, |
4303 | | "Create BAR", |
4304 | | OGS_PFCP_CREATE_BAR_TYPE, |
4305 | | 0, |
4306 | | 0, |
4307 | | sizeof(ogs_pfcp_tlv_create_bar_t), |
4308 | | { |
4309 | | &ogs_pfcp_tlv_desc_bar_id, |
4310 | | &ogs_pfcp_tlv_desc_downlink_data_notification_delay, |
4311 | | &ogs_pfcp_tlv_desc_suggested_buffering_packets_count, |
4312 | | &ogs_pfcp_tlv_desc_mt_edt_control_information, |
4313 | | &ogs_pfcp_tlv_desc_mt_sdt_control_information, |
4314 | | &ogs_pfcp_tlv_desc_dl_buffering_duration, |
4315 | | &ogs_pfcp_tlv_desc_dl_buffering_suggested_packet_count, |
4316 | | NULL, |
4317 | | } |
4318 | | }; |
4319 | | |
4320 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_update_bar_session_modification_request = |
4321 | | { |
4322 | | OGS_TLV_COMPOUND, |
4323 | | "Update BAR Session Modification Request", |
4324 | | OGS_PFCP_UPDATE_BAR_SESSION_MODIFICATION_REQUEST_TYPE, |
4325 | | 0, |
4326 | | 0, |
4327 | | sizeof(ogs_pfcp_tlv_update_bar_session_modification_request_t), |
4328 | | { |
4329 | | &ogs_pfcp_tlv_desc_bar_id, |
4330 | | &ogs_pfcp_tlv_desc_downlink_data_notification_delay, |
4331 | | &ogs_pfcp_tlv_desc_suggested_buffering_packets_count, |
4332 | | &ogs_pfcp_tlv_desc_dl_buffering_duration, |
4333 | | &ogs_pfcp_tlv_desc_dl_buffering_suggested_packet_count, |
4334 | | &ogs_pfcp_tlv_desc_mt_edt_control_information, |
4335 | | &ogs_pfcp_tlv_desc_mt_sdt_control_information, |
4336 | | &ogs_pfcp_tlv_desc_extended_dl_buffering_notification_policy, |
4337 | | NULL, |
4338 | | } |
4339 | | }; |
4340 | | |
4341 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_remove_bar = |
4342 | | { |
4343 | | OGS_TLV_COMPOUND, |
4344 | | "Remove BAR", |
4345 | | OGS_PFCP_REMOVE_BAR_TYPE, |
4346 | | 0, |
4347 | | 0, |
4348 | | sizeof(ogs_pfcp_tlv_remove_bar_t), |
4349 | | { |
4350 | | &ogs_pfcp_tlv_desc_bar_id, |
4351 | | NULL, |
4352 | | } |
4353 | | }; |
4354 | | |
4355 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_error_indication_report = |
4356 | | { |
4357 | | OGS_TLV_COMPOUND, |
4358 | | "Error Indication Report", |
4359 | | OGS_PFCP_ERROR_INDICATION_REPORT_TYPE, |
4360 | | 0, |
4361 | | 0, |
4362 | | sizeof(ogs_pfcp_tlv_error_indication_report_t), |
4363 | | { |
4364 | | &ogs_pfcp_tlv_desc_f_teid, |
4365 | | NULL, |
4366 | | } |
4367 | | }; |
4368 | | |
4369 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_user_plane_path_failure_report = |
4370 | | { |
4371 | | OGS_TLV_COMPOUND, |
4372 | | "User Plane Path Failure Report", |
4373 | | OGS_PFCP_USER_PLANE_PATH_FAILURE_REPORT_TYPE, |
4374 | | 0, |
4375 | | 0, |
4376 | | sizeof(ogs_pfcp_tlv_user_plane_path_failure_report_t), |
4377 | | { |
4378 | | &ogs_pfcp_tlv_desc_remote_gtp_u_peer, |
4379 | | NULL, |
4380 | | } |
4381 | | }; |
4382 | | |
4383 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_create_traffic_endpoint = |
4384 | | { |
4385 | | OGS_TLV_COMPOUND, |
4386 | | "Create Traffic Endpoint", |
4387 | | OGS_PFCP_CREATE_TRAFFIC_ENDPOINT_TYPE, |
4388 | | 0, |
4389 | | 0, |
4390 | | sizeof(ogs_pfcp_tlv_create_traffic_endpoint_t), |
4391 | | { |
4392 | | &ogs_pfcp_tlv_desc_traffic_endpoint_id, |
4393 | | &ogs_pfcp_tlv_desc_f_teid, |
4394 | | &ogs_pfcp_tlv_desc_network_instance, |
4395 | | &ogs_pfcp_tlv_desc_redundant_transmission_parameters, |
4396 | | &ogs_pfcp_tlv_desc_ue_ip_address, |
4397 | | &ogs_pfcp_tlv_desc_mapped_n6_ip_address, |
4398 | | &ogs_pfcp_tlv_desc_n6_routing_information, |
4399 | | &ogs_pfcp_tlv_desc_ethernet_pdu_session_information, |
4400 | | &ogs_pfcp_tlv_desc_framed_route, |
4401 | | &ogs_tlv_desc_more8, |
4402 | | &ogs_pfcp_tlv_desc_framed_routing, |
4403 | | &ogs_pfcp_tlv_desc_framed_ipv6_route, |
4404 | | &ogs_tlv_desc_more8, |
4405 | | &ogs_pfcp_tlv_desc_qfi, |
4406 | | &ogs_pfcp_tlv_desc__interface_type, |
4407 | | &ogs_pfcp_tlv_desc_local_ingress_tunnel, |
4408 | | &ogs_pfcp_tlv_desc_ip_multicast_addressing_info_within_pfcp_session_establishment_request, |
4409 | | &ogs_pfcp_tlv_desc_mbs_session_identifier, |
4410 | | &ogs_pfcp_tlv_desc_area_session_id, |
4411 | | &ogs_pfcp_tlv_desc_rat_type, |
4412 | | NULL, |
4413 | | } |
4414 | | }; |
4415 | | |
4416 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_created_traffic_endpoint = |
4417 | | { |
4418 | | OGS_TLV_COMPOUND, |
4419 | | "Created Traffic Endpoint", |
4420 | | OGS_PFCP_CREATED_TRAFFIC_ENDPOINT_TYPE, |
4421 | | 0, |
4422 | | 0, |
4423 | | sizeof(ogs_pfcp_tlv_created_traffic_endpoint_t), |
4424 | | { |
4425 | | &ogs_pfcp_tlv_desc_traffic_endpoint_id, |
4426 | | &ogs_pfcp_tlv_desc_f_teid, |
4427 | | &ogs_pfcp_tlv_desc_f_teid, |
4428 | | &ogs_pfcp_tlv_desc_ue_ip_address, |
4429 | | &ogs_pfcp_tlv_desc_mapped_n6_ip_address, |
4430 | | &ogs_pfcp_tlv_desc_local_ingress_tunnel, |
4431 | | NULL, |
4432 | | } |
4433 | | }; |
4434 | | |
4435 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_remove_traffic_endpoint = |
4436 | | { |
4437 | | OGS_TLV_COMPOUND, |
4438 | | "Remove Traffic Endpoint", |
4439 | | OGS_PFCP_REMOVE_TRAFFIC_ENDPOINT_TYPE, |
4440 | | 0, |
4441 | | 0, |
4442 | | sizeof(ogs_pfcp_tlv_remove_traffic_endpoint_t), |
4443 | | { |
4444 | | &ogs_pfcp_tlv_desc_traffic_endpoint_id, |
4445 | | NULL, |
4446 | | } |
4447 | | }; |
4448 | | |
4449 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_create_mar = |
4450 | | { |
4451 | | OGS_TLV_COMPOUND, |
4452 | | "Create MAR", |
4453 | | OGS_PFCP_CREATE_MAR_TYPE, |
4454 | | 0, |
4455 | | 0, |
4456 | | sizeof(ogs_pfcp_tlv_create_mar_t), |
4457 | | { |
4458 | | &ogs_pfcp_tlv_desc_mar_id, |
4459 | | &ogs_pfcp_tlv_desc_steering_functionality, |
4460 | | &ogs_pfcp_tlv_desc_steering_mode, |
4461 | | &ogs_pfcp_tlv_desc__access_forwarding_action_information, |
4462 | | &ogs_pfcp_tlv_desc_non__access_forwarding_action_information, |
4463 | | &ogs_pfcp_tlv_desc_thresholds, |
4464 | | &ogs_pfcp_tlv_desc_steering_mode_indicator, |
4465 | | &ogs_pfcp_tlv_desc_transport_mode, |
4466 | | NULL, |
4467 | | } |
4468 | | }; |
4469 | | |
4470 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_remove_mar = |
4471 | | { |
4472 | | OGS_TLV_COMPOUND, |
4473 | | "Remove MAR", |
4474 | | OGS_PFCP_REMOVE_MAR_TYPE, |
4475 | | 0, |
4476 | | 0, |
4477 | | sizeof(ogs_pfcp_tlv_remove_mar_t), |
4478 | | { |
4479 | | &ogs_pfcp_tlv_desc_mar_id, |
4480 | | NULL, |
4481 | | } |
4482 | | }; |
4483 | | |
4484 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_update_mar = |
4485 | | { |
4486 | | OGS_TLV_COMPOUND, |
4487 | | "Update MAR", |
4488 | | OGS_PFCP_UPDATE_MAR_TYPE, |
4489 | | 0, |
4490 | | 0, |
4491 | | sizeof(ogs_pfcp_tlv_update_mar_t), |
4492 | | { |
4493 | | &ogs_pfcp_tlv_desc_mar_id, |
4494 | | &ogs_pfcp_tlv_desc_steering_functionality, |
4495 | | &ogs_pfcp_tlv_desc_steering_mode, |
4496 | | &ogs_pfcp_tlv_desc_update__access_forwarding_action_information, |
4497 | | &ogs_pfcp_tlv_desc_update_non__access_forwarding_action_information, |
4498 | | &ogs_pfcp_tlv_desc__access_forwarding_action_information, |
4499 | | &ogs_pfcp_tlv_desc_non__access_forwarding_action_information, |
4500 | | &ogs_pfcp_tlv_desc_thresholds, |
4501 | | &ogs_pfcp_tlv_desc_steering_mode_indicator, |
4502 | | &ogs_pfcp_tlv_desc_transport_mode, |
4503 | | NULL, |
4504 | | } |
4505 | | }; |
4506 | | |
4507 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_pfcp_session_retention_information_within_pfcp_association_setup_request = |
4508 | | { |
4509 | | OGS_TLV_COMPOUND, |
4510 | | "PFCP Session Retention Information within PFCP Association Setup Request", |
4511 | | OGS_PFCP_PFCP_SESSION_RETENTION_INFORMATION_WITHIN_PFCP_ASSOCIATION_SETUP_REQUEST_TYPE, |
4512 | | 0, |
4513 | | 0, |
4514 | | sizeof(ogs_pfcp_tlv_pfcp_session_retention_information_within_pfcp_association_setup_request_t), |
4515 | | { |
4516 | | &ogs_pfcp_tlv_desc_cp_pfcp_entity_ip_address, |
4517 | | NULL, |
4518 | | } |
4519 | | }; |
4520 | | |
4521 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_user_plane_path_recovery_report = |
4522 | | { |
4523 | | OGS_TLV_COMPOUND, |
4524 | | "User Plane Path Recovery Report", |
4525 | | OGS_PFCP_USER_PLANE_PATH_RECOVERY_REPORT_TYPE, |
4526 | | 0, |
4527 | | 0, |
4528 | | sizeof(ogs_pfcp_tlv_user_plane_path_recovery_report_t), |
4529 | | { |
4530 | | &ogs_pfcp_tlv_desc_remote_gtp_u_peer, |
4531 | | NULL, |
4532 | | } |
4533 | | }; |
4534 | | |
4535 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_created_bridge_router_info = |
4536 | | { |
4537 | | OGS_TLV_COMPOUND, |
4538 | | "Created Bridge/Router Info", |
4539 | | OGS_PFCP_CREATED_BRIDGE_ROUTER_INFO_TYPE, |
4540 | | 0, |
4541 | | 0, |
4542 | | sizeof(ogs_pfcp_tlv_created_bridge_router_info_t), |
4543 | | { |
4544 | | &ogs_pfcp_tlv_desc_port_number, |
4545 | | &ogs_pfcp_tlv_desc_fivegs_user_plane_node_id, |
4546 | | NULL, |
4547 | | } |
4548 | | }; |
4549 | | |
4550 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_tsc_management_information_ie_within_pfcp_session_modification_request = |
4551 | | { |
4552 | | OGS_TLV_COMPOUND, |
4553 | | "TSC Management Information IE within PFCP Session Modification Request", |
4554 | | OGS_PFCP_TSC_MANAGEMENT_INFORMATION_IE_WITHIN_PFCP_SESSION_MODIFICATION_REQUEST_TYPE, |
4555 | | 0, |
4556 | | 0, |
4557 | | sizeof(ogs_pfcp_tlv_tsc_management_information_ie_within_pfcp_session_modification_request_t), |
4558 | | { |
4559 | | &ogs_pfcp_tlv_desc_port_management_information_container, |
4560 | | &ogs_pfcp_tlv_desc_user_plane_node_management_information_container, |
4561 | | &ogs_pfcp_tlv_desc_nw_tt_port_number, |
4562 | | &ogs_pfcp_tlv_desc_direct_reporting_information, |
4563 | | NULL, |
4564 | | } |
4565 | | }; |
4566 | | |
4567 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_tsc_management_information_ie_within_pfcp_session_modification_response = |
4568 | | { |
4569 | | OGS_TLV_COMPOUND, |
4570 | | "TSC Management Information IE within PFCP Session Modification Response", |
4571 | | OGS_PFCP_TSC_MANAGEMENT_INFORMATION_IE_WITHIN_PFCP_SESSION_MODIFICATION_RESPONSE_TYPE, |
4572 | | 0, |
4573 | | 0, |
4574 | | sizeof(ogs_pfcp_tlv_tsc_management_information_ie_within_pfcp_session_modification_response_t), |
4575 | | { |
4576 | | &ogs_pfcp_tlv_desc_port_management_information_container, |
4577 | | &ogs_pfcp_tlv_desc_user_plane_node_management_information_container, |
4578 | | &ogs_pfcp_tlv_desc_nw_tt_port_number, |
4579 | | NULL, |
4580 | | } |
4581 | | }; |
4582 | | |
4583 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_tsc_management_information_ie_within_pfcp_session_report_request = |
4584 | | { |
4585 | | OGS_TLV_COMPOUND, |
4586 | | "TSC Management Information IE within PFCP Session Report Request", |
4587 | | OGS_PFCP_TSC_MANAGEMENT_INFORMATION_IE_WITHIN_PFCP_SESSION_REPORT_REQUEST_TYPE, |
4588 | | 0, |
4589 | | 0, |
4590 | | sizeof(ogs_pfcp_tlv_tsc_management_information_ie_within_pfcp_session_report_request_t), |
4591 | | { |
4592 | | &ogs_pfcp_tlv_desc_port_management_information_container, |
4593 | | &ogs_pfcp_tlv_desc_user_plane_node_management_information_container, |
4594 | | &ogs_pfcp_tlv_desc_nw_tt_port_number, |
4595 | | NULL, |
4596 | | } |
4597 | | }; |
4598 | | |
4599 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_clock_drift_control_information = |
4600 | | { |
4601 | | OGS_TLV_COMPOUND, |
4602 | | "Clock Drift Control Information", |
4603 | | OGS_PFCP_CLOCK_DRIFT_CONTROL_INFORMATION_TYPE, |
4604 | | 0, |
4605 | | 0, |
4606 | | sizeof(ogs_pfcp_tlv_clock_drift_control_information_t), |
4607 | | { |
4608 | | &ogs_pfcp_tlv_desc_requested_clock_drift_information, |
4609 | | &ogs_pfcp_tlv_desc_time_domain_number, |
4610 | | &ogs_pfcp_tlv_desc_configured_time_domain, |
4611 | | &ogs_pfcp_tlv_desc_time_offset_threshold, |
4612 | | &ogs_pfcp_tlv_desc_cumulative_rateratio_threshold, |
4613 | | NULL, |
4614 | | } |
4615 | | }; |
4616 | | |
4617 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_clock_drift_report = |
4618 | | { |
4619 | | OGS_TLV_COMPOUND, |
4620 | | "Clock Drift Report", |
4621 | | OGS_PFCP_CLOCK_DRIFT_REPORT_TYPE, |
4622 | | 0, |
4623 | | 0, |
4624 | | sizeof(ogs_pfcp_tlv_clock_drift_report_t), |
4625 | | { |
4626 | | &ogs_pfcp_tlv_desc_time_domain_number, |
4627 | | &ogs_pfcp_tlv_desc_time_offset_measurement, |
4628 | | &ogs_pfcp_tlv_desc_cumulative_rateratio_measurement, |
4629 | | &ogs_pfcp_tlv_desc_time_stamp, |
4630 | | &ogs_pfcp_tlv_desc_network_instance, |
4631 | | &ogs_pfcp_tlv_desc_apn_dnn, |
4632 | | &ogs_pfcp_tlv_desc_s_nssai, |
4633 | | NULL, |
4634 | | } |
4635 | | }; |
4636 | | |
4637 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_remove_srr = |
4638 | | { |
4639 | | OGS_TLV_COMPOUND, |
4640 | | "Remove SRR", |
4641 | | OGS_PFCP_REMOVE_SRR_TYPE, |
4642 | | 0, |
4643 | | 0, |
4644 | | sizeof(ogs_pfcp_tlv_remove_srr_t), |
4645 | | { |
4646 | | &ogs_pfcp_tlv_desc_srr_id, |
4647 | | NULL, |
4648 | | } |
4649 | | }; |
4650 | | |
4651 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_traffic_parameter_measurement_control_information = |
4652 | | { |
4653 | | OGS_TLV_COMPOUND, |
4654 | | "Traffic Parameter Measurement Control Information", |
4655 | | OGS_PFCP_TRAFFIC_PARAMETER_MEASUREMENT_CONTROL_INFORMATION_TYPE, |
4656 | | 0, |
4657 | | 0, |
4658 | | sizeof(ogs_pfcp_tlv_traffic_parameter_measurement_control_information_t), |
4659 | | { |
4660 | | &ogs_pfcp_tlv_desc_qfi, |
4661 | | &ogs_pfcp_tlv_desc_traffic_parameter_measurement_indication, |
4662 | | &ogs_pfcp_tlv_desc_measurement_period, |
4663 | | &ogs_pfcp_tlv_desc_dl_periodicity, |
4664 | | &ogs_pfcp_tlv_desc_traffic_parameter_threshold, |
4665 | | NULL, |
4666 | | } |
4667 | | }; |
4668 | | |
4669 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_create_srr = |
4670 | | { |
4671 | | OGS_TLV_COMPOUND, |
4672 | | "Create SRR", |
4673 | | OGS_PFCP_CREATE_SRR_TYPE, |
4674 | | 0, |
4675 | | 0, |
4676 | | sizeof(ogs_pfcp_tlv_create_srr_t), |
4677 | | { |
4678 | | &ogs_pfcp_tlv_desc_srr_id, |
4679 | | &ogs_pfcp_tlv_desc_access_availability_control_information, |
4680 | | &ogs_pfcp_tlv_desc_qos_monitoring_per_qos_flow_control_information, |
4681 | | &ogs_pfcp_tlv_desc_direct_reporting_information, |
4682 | | &ogs_pfcp_tlv_desc_traffic_parameter_measurement_control_information, |
4683 | | &ogs_pfcp_tlv_desc_reporting_control_information, |
4684 | | NULL, |
4685 | | } |
4686 | | }; |
4687 | | |
4688 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_update_srr = |
4689 | | { |
4690 | | OGS_TLV_COMPOUND, |
4691 | | "Update SRR", |
4692 | | OGS_PFCP_UPDATE_SRR_TYPE, |
4693 | | 0, |
4694 | | 0, |
4695 | | sizeof(ogs_pfcp_tlv_update_srr_t), |
4696 | | { |
4697 | | &ogs_pfcp_tlv_desc_srr_id, |
4698 | | &ogs_pfcp_tlv_desc_access_availability_control_information, |
4699 | | &ogs_pfcp_tlv_desc_qos_monitoring_per_qos_flow_control_information, |
4700 | | &ogs_pfcp_tlv_desc_direct_reporting_information, |
4701 | | &ogs_pfcp_tlv_desc_traffic_parameter_measurement_control_information, |
4702 | | NULL, |
4703 | | } |
4704 | | }; |
4705 | | |
4706 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_session_report = |
4707 | | { |
4708 | | OGS_TLV_COMPOUND, |
4709 | | "Session Report", |
4710 | | OGS_PFCP_SESSION_REPORT_TYPE, |
4711 | | 0, |
4712 | | 0, |
4713 | | sizeof(ogs_pfcp_tlv_session_report_t), |
4714 | | { |
4715 | | &ogs_pfcp_tlv_desc_srr_id, |
4716 | | &ogs_pfcp_tlv_desc_qos_monitoring_report, |
4717 | | NULL, |
4718 | | } |
4719 | | }; |
4720 | | |
4721 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_provide_atsss_control_information = |
4722 | | { |
4723 | | OGS_TLV_COMPOUND, |
4724 | | "Provide ATSSS Control Information", |
4725 | | OGS_PFCP_PROVIDE_ATSSS_CONTROL_INFORMATION_TYPE, |
4726 | | 0, |
4727 | | 0, |
4728 | | sizeof(ogs_pfcp_tlv_provide_atsss_control_information_t), |
4729 | | { |
4730 | | &ogs_pfcp_tlv_desc_mptcp_control_information, |
4731 | | &ogs_pfcp_tlv_desc_atsss_ll_control_information, |
4732 | | &ogs_pfcp_tlv_desc_pmf_control_information, |
4733 | | &ogs_pfcp_tlv_desc_mpquic_control_information, |
4734 | | NULL, |
4735 | | } |
4736 | | }; |
4737 | | |
4738 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_mpquic_parameters = |
4739 | | { |
4740 | | OGS_TLV_COMPOUND, |
4741 | | "MPQUIC Parameters", |
4742 | | OGS_PFCP_MPQUIC_PARAMETERS_TYPE, |
4743 | | 0, |
4744 | | 0, |
4745 | | sizeof(ogs_pfcp_tlv_mpquic_parameters_t), |
4746 | | { |
4747 | | &ogs_pfcp_tlv_desc_mpquic_address_information, |
4748 | | &ogs_pfcp_tlv_desc_link_specific_multipath_ip_address, |
4749 | | NULL, |
4750 | | } |
4751 | | }; |
4752 | | |
4753 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_atsss_control_parameters = |
4754 | | { |
4755 | | OGS_TLV_COMPOUND, |
4756 | | "ATSSS Control Parameters", |
4757 | | OGS_PFCP_ATSSS_CONTROL_PARAMETERS_TYPE, |
4758 | | 0, |
4759 | | 0, |
4760 | | sizeof(ogs_pfcp_tlv_atsss_control_parameters_t), |
4761 | | { |
4762 | | &ogs_pfcp_tlv_desc_mptcp_parameters, |
4763 | | &ogs_pfcp_tlv_desc_atsss_ll_parameters, |
4764 | | &ogs_pfcp_tlv_desc_pmf_parameters, |
4765 | | &ogs_pfcp_tlv_desc_mpquic_parameters, |
4766 | | NULL, |
4767 | | } |
4768 | | }; |
4769 | | |
4770 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_ue_ip_address_pool_information = |
4771 | | { |
4772 | | OGS_TLV_COMPOUND, |
4773 | | "UE IP address Pool Information", |
4774 | | OGS_PFCP_UE_IP_ADDRESS_POOL_INFORMATION_TYPE, |
4775 | | 0, |
4776 | | 0, |
4777 | | sizeof(ogs_pfcp_tlv_ue_ip_address_pool_information_t), |
4778 | | { |
4779 | | &ogs_pfcp_tlv_desc_ue_ip_address, |
4780 | | &ogs_pfcp_tlv_desc_network_instance, |
4781 | | &ogs_pfcp_tlv_desc_s_nssai, |
4782 | | &ogs_pfcp_tlv_desc_ip_version, |
4783 | | NULL, |
4784 | | } |
4785 | | }; |
4786 | | |
4787 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_gtp_u_path_qos_control_information = |
4788 | | { |
4789 | | OGS_TLV_COMPOUND, |
4790 | | "GTP-U Path QoS Control Information", |
4791 | | OGS_PFCP_GTP_U_PATH_QOS_CONTROL_INFORMATION_TYPE, |
4792 | | 0, |
4793 | | 0, |
4794 | | sizeof(ogs_pfcp_tlv_gtp_u_path_qos_control_information_t), |
4795 | | { |
4796 | | &ogs_pfcp_tlv_desc_remote_gtp_u_peer, |
4797 | | &ogs_pfcp_tlv_desc_gtp_u_path_interface_type, |
4798 | | &ogs_pfcp_tlv_desc_qos_report_trigger, |
4799 | | &ogs_pfcp_tlv_desc_transport_level_marking, |
4800 | | &ogs_pfcp_tlv_desc_measurement_period, |
4801 | | &ogs_pfcp_tlv_desc_average_packet_delay, |
4802 | | &ogs_pfcp_tlv_desc_minimum_packet_delay, |
4803 | | &ogs_pfcp_tlv_desc_maximum_packet_delay, |
4804 | | &ogs_pfcp_tlv_desc_timer, |
4805 | | NULL, |
4806 | | } |
4807 | | }; |
4808 | | |
4809 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_qos_information_in_gtp_u_path_qos_report = |
4810 | | { |
4811 | | OGS_TLV_COMPOUND, |
4812 | | "QoS Information in GTP-U Path QoS Report", |
4813 | | OGS_PFCP_QOS_INFORMATION_IN_GTP_U_PATH_QOS_REPORT_TYPE, |
4814 | | 0, |
4815 | | 0, |
4816 | | sizeof(ogs_pfcp_tlv_qos_information_in_gtp_u_path_qos_report_t), |
4817 | | { |
4818 | | &ogs_pfcp_tlv_desc_average_packet_delay, |
4819 | | &ogs_pfcp_tlv_desc_minimum_packet_delay, |
4820 | | &ogs_pfcp_tlv_desc_maximum_packet_delay, |
4821 | | &ogs_pfcp_tlv_desc_transport_level_marking, |
4822 | | NULL, |
4823 | | } |
4824 | | }; |
4825 | | |
4826 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_gtp_u_path_qos_report_pfcp_node_report_request = |
4827 | | { |
4828 | | OGS_TLV_COMPOUND, |
4829 | | "GTP-U Path QoS Report PFCP Node Report Request", |
4830 | | OGS_PFCP_GTP_U_PATH_QOS_REPORT_PFCP_NODE_REPORT_REQUEST_TYPE, |
4831 | | 0, |
4832 | | 0, |
4833 | | sizeof(ogs_pfcp_tlv_gtp_u_path_qos_report_pfcp_node_report_request_t), |
4834 | | { |
4835 | | &ogs_pfcp_tlv_desc_remote_gtp_u_peer, |
4836 | | &ogs_pfcp_tlv_desc_gtp_u_path_interface_type, |
4837 | | &ogs_pfcp_tlv_desc_qos_report_trigger, |
4838 | | &ogs_pfcp_tlv_desc_time_stamp, |
4839 | | &ogs_pfcp_tlv_desc_start_time, |
4840 | | &ogs_pfcp_tlv_desc_qos_information_in_gtp_u_path_qos_report, |
4841 | | NULL, |
4842 | | } |
4843 | | }; |
4844 | | |
4845 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_packet_rate_status_report = |
4846 | | { |
4847 | | OGS_TLV_COMPOUND, |
4848 | | "Packet Rate Status Report", |
4849 | | OGS_PFCP_PACKET_RATE_STATUS_REPORT_TYPE, |
4850 | | 0, |
4851 | | 0, |
4852 | | sizeof(ogs_pfcp_tlv_packet_rate_status_report_t), |
4853 | | { |
4854 | | &ogs_pfcp_tlv_desc_qer_id, |
4855 | | &ogs_pfcp_tlv_desc_packet_rate_status, |
4856 | | NULL, |
4857 | | } |
4858 | | }; |
4859 | | |
4860 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_ethernet_context_information = |
4861 | | { |
4862 | | OGS_TLV_COMPOUND, |
4863 | | "Ethernet Context Information", |
4864 | | OGS_PFCP_ETHERNET_CONTEXT_INFORMATION_TYPE, |
4865 | | 0, |
4866 | | 0, |
4867 | | sizeof(ogs_pfcp_tlv_ethernet_context_information_t), |
4868 | | { |
4869 | | &ogs_pfcp_tlv_desc_mac_addresses_detected, |
4870 | | NULL, |
4871 | | } |
4872 | | }; |
4873 | | |
4874 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_updated_pdr = |
4875 | | { |
4876 | | OGS_TLV_COMPOUND, |
4877 | | "Updated PDR", |
4878 | | OGS_PFCP_UPDATED_PDR_TYPE, |
4879 | | 0, |
4880 | | 0, |
4881 | | sizeof(ogs_pfcp_tlv_updated_pdr_t), |
4882 | | { |
4883 | | &ogs_pfcp_tlv_desc_pdr_id, |
4884 | | &ogs_pfcp_tlv_desc_f_teid, |
4885 | | &ogs_pfcp_tlv_desc_f_teid, |
4886 | | &ogs_pfcp_tlv_desc_ue_ip_address, |
4887 | | NULL, |
4888 | | } |
4889 | | }; |
4890 | | |
4891 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_provide_rds_configuration_information = |
4892 | | { |
4893 | | OGS_TLV_COMPOUND, |
4894 | | "Provide RDS Configuration Information", |
4895 | | OGS_PFCP_PROVIDE_RDS_CONFIGURATION_INFORMATION_TYPE, |
4896 | | 0, |
4897 | | 0, |
4898 | | sizeof(ogs_pfcp_tlv_provide_rds_configuration_information_t), |
4899 | | { |
4900 | | &ogs_pfcp_tlv_desc_rds_configuration_information, |
4901 | | NULL, |
4902 | | } |
4903 | | }; |
4904 | | |
4905 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_query_packet_rate_status_ie_within_pfcp_session_modification_request = |
4906 | | { |
4907 | | OGS_TLV_COMPOUND, |
4908 | | "Query Packet Rate Status IE within PFCP Session Modification Request", |
4909 | | OGS_PFCP_QUERY_PACKET_RATE_STATUS_IE_WITHIN_PFCP_SESSION_MODIFICATION_REQUEST_TYPE, |
4910 | | 0, |
4911 | | 0, |
4912 | | sizeof(ogs_pfcp_tlv_query_packet_rate_status_ie_within_pfcp_session_modification_request_t), |
4913 | | { |
4914 | | &ogs_pfcp_tlv_desc_qer_id, |
4915 | | NULL, |
4916 | | } |
4917 | | }; |
4918 | | |
4919 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_packet_rate_status_report_ie_within_pfcp_session_modification_response = |
4920 | | { |
4921 | | OGS_TLV_COMPOUND, |
4922 | | "Packet Rate Status Report IE within PFCP Session Modification Response", |
4923 | | OGS_PFCP_PACKET_RATE_STATUS_REPORT_IE_WITHIN_PFCP_SESSION_MODIFICATION_RESPONSE_TYPE, |
4924 | | 0, |
4925 | | 0, |
4926 | | sizeof(ogs_pfcp_tlv_packet_rate_status_report_ie_within_pfcp_session_modification_response_t), |
4927 | | { |
4928 | | &ogs_pfcp_tlv_desc_qer_id, |
4929 | | &ogs_pfcp_tlv_desc_packet_rate_status, |
4930 | | NULL, |
4931 | | } |
4932 | | }; |
4933 | | |
4934 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_ue_ip_address_usage_information = |
4935 | | { |
4936 | | OGS_TLV_COMPOUND, |
4937 | | "UE IP Address Usage Information", |
4938 | | OGS_PFCP_UE_IP_ADDRESS_USAGE_INFORMATION_TYPE, |
4939 | | 0, |
4940 | | 0, |
4941 | | sizeof(ogs_pfcp_tlv_ue_ip_address_usage_information_t), |
4942 | | { |
4943 | | &ogs_pfcp_tlv_desc_sequence_number, |
4944 | | &ogs_pfcp_tlv_desc_metric, |
4945 | | &ogs_pfcp_tlv_desc_validity_timer, |
4946 | | &ogs_pfcp_tlv_desc_number_of_ue_ip_addresses, |
4947 | | &ogs_pfcp_tlv_desc_network_instance, |
4948 | | &ogs_pfcp_tlv_desc_ue_ip_address, |
4949 | | &ogs_pfcp_tlv_desc_s_nssai, |
4950 | | NULL, |
4951 | | } |
4952 | | }; |
4953 | | |
4954 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_partial_failure_information = |
4955 | | { |
4956 | | OGS_TLV_COMPOUND, |
4957 | | "Partial Failure Information", |
4958 | | OGS_PFCP_PARTIAL_FAILURE_INFORMATION_TYPE, |
4959 | | 0, |
4960 | | 0, |
4961 | | sizeof(ogs_pfcp_tlv_partial_failure_information_t), |
4962 | | { |
4963 | | &ogs_pfcp_tlv_desc_failed_rule_id, |
4964 | | &ogs_pfcp_tlv_desc_cause, |
4965 | | &ogs_pfcp_tlv_desc_offending_ie_information, |
4966 | | NULL, |
4967 | | } |
4968 | | }; |
4969 | | |
4970 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_l2tp_tunnel_information = |
4971 | | { |
4972 | | OGS_TLV_COMPOUND, |
4973 | | "L2TP Tunnel Information", |
4974 | | OGS_PFCP_L2TP_TUNNEL_INFORMATION_TYPE, |
4975 | | 0, |
4976 | | 0, |
4977 | | sizeof(ogs_pfcp_tlv_l2tp_tunnel_information_t), |
4978 | | { |
4979 | | &ogs_pfcp_tlv_desc_lns_address, |
4980 | | &ogs_pfcp_tlv_desc_tunnel_password, |
4981 | | &ogs_pfcp_tlv_desc_tunnel_preference, |
4982 | | NULL, |
4983 | | } |
4984 | | }; |
4985 | | |
4986 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_l2tp_session_information = |
4987 | | { |
4988 | | OGS_TLV_COMPOUND, |
4989 | | "L2TP Session Information", |
4990 | | OGS_PFCP_L2TP_SESSION_INFORMATION_TYPE, |
4991 | | 0, |
4992 | | 0, |
4993 | | sizeof(ogs_pfcp_tlv_l2tp_session_information_t), |
4994 | | { |
4995 | | &ogs_pfcp_tlv_desc_calling_number, |
4996 | | &ogs_pfcp_tlv_desc_called_number, |
4997 | | &ogs_pfcp_tlv_desc_maximum_receive_unit, |
4998 | | &ogs_pfcp_tlv_desc_l2tp_session_indications, |
4999 | | &ogs_pfcp_tlv_desc_l2tp_user_authentication, |
5000 | | NULL, |
5001 | | } |
5002 | | }; |
5003 | | |
5004 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_created_l2tp_session = |
5005 | | { |
5006 | | OGS_TLV_COMPOUND, |
5007 | | "Created L2TP Session", |
5008 | | OGS_PFCP_CREATED_L2TP_SESSION_TYPE, |
5009 | | 0, |
5010 | | 0, |
5011 | | sizeof(ogs_pfcp_tlv_created_l2tp_session_t), |
5012 | | { |
5013 | | &ogs_pfcp_tlv_desc_dns_server_address, |
5014 | | &ogs_pfcp_tlv_desc_nbns_server_address, |
5015 | | &ogs_pfcp_tlv_desc_lns_address, |
5016 | | NULL, |
5017 | | } |
5018 | | }; |
5019 | | |
5020 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_pfcp_session_change_info = |
5021 | | { |
5022 | | OGS_TLV_COMPOUND, |
5023 | | "PFCP Session Change Info", |
5024 | | OGS_PFCP_PFCP_SESSION_CHANGE_INFO_TYPE, |
5025 | | 0, |
5026 | | 0, |
5027 | | sizeof(ogs_pfcp_tlv_pfcp_session_change_info_t), |
5028 | | { |
5029 | | &ogs_pfcp_tlv_desc_fq_csid, |
5030 | | &ogs_pfcp_tlv_desc_group_id, |
5031 | | &ogs_pfcp_tlv_desc_cp_ip_address, |
5032 | | &ogs_pfcp_tlv_desc_alternative_smf_ip_address, |
5033 | | NULL, |
5034 | | } |
5035 | | }; |
5036 | | |
5037 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_mbs_session_n4mb_control_information = |
5038 | | { |
5039 | | OGS_TLV_COMPOUND, |
5040 | | "MBS Session N4mb Control Information", |
5041 | | OGS_PFCP_MBS_SESSION_N4MB_CONTROL_INFORMATION_TYPE, |
5042 | | 0, |
5043 | | 0, |
5044 | | sizeof(ogs_pfcp_tlv_mbs_session_n4mb_control_information_t), |
5045 | | { |
5046 | | &ogs_pfcp_tlv_desc_mbs_session_identifier, |
5047 | | &ogs_pfcp_tlv_desc_area_session_id, |
5048 | | &ogs_pfcp_tlv_desc_mbsn4mbreq_flags, |
5049 | | &ogs_pfcp_tlv_desc_multicast_transport_information, |
5050 | | NULL, |
5051 | | } |
5052 | | }; |
5053 | | |
5054 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_mbs_session_n4mb_information = |
5055 | | { |
5056 | | OGS_TLV_COMPOUND, |
5057 | | "MBS Session N4mb Information", |
5058 | | OGS_PFCP_MBS_SESSION_N4MB_INFORMATION_TYPE, |
5059 | | 0, |
5060 | | 0, |
5061 | | sizeof(ogs_pfcp_tlv_mbs_session_n4mb_information_t), |
5062 | | { |
5063 | | &ogs_pfcp_tlv_desc_multicast_transport_information, |
5064 | | NULL, |
5065 | | } |
5066 | | }; |
5067 | | |
5068 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_mbs_session_n4_control_information = |
5069 | | { |
5070 | | OGS_TLV_COMPOUND, |
5071 | | "MBS Session N4 Control Information", |
5072 | | OGS_PFCP_MBS_SESSION_N4_CONTROL_INFORMATION_TYPE, |
5073 | | 0, |
5074 | | 0, |
5075 | | sizeof(ogs_pfcp_tlv_mbs_session_n4_control_information_t), |
5076 | | { |
5077 | | &ogs_pfcp_tlv_desc_mbs_session_identifier, |
5078 | | &ogs_pfcp_tlv_desc_area_session_id, |
5079 | | &ogs_pfcp_tlv_desc_multicast_transport_information, |
5080 | | NULL, |
5081 | | } |
5082 | | }; |
5083 | | |
5084 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_mbs_session_n4_information = |
5085 | | { |
5086 | | OGS_TLV_COMPOUND, |
5087 | | "MBS Session N4 Information", |
5088 | | OGS_PFCP_MBS_SESSION_N4_INFORMATION_TYPE, |
5089 | | 0, |
5090 | | 0, |
5091 | | sizeof(ogs_pfcp_tlv_mbs_session_n4_information_t), |
5092 | | { |
5093 | | &ogs_pfcp_tlv_desc_mbs_session_identifier, |
5094 | | &ogs_pfcp_tlv_desc_area_session_id, |
5095 | | &ogs_pfcp_tlv_desc_f_teid, |
5096 | | &ogs_pfcp_tlv_desc_mbsn4resp_flags, |
5097 | | NULL, |
5098 | | } |
5099 | | }; |
5100 | | |
5101 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_dscp_to_ppi_control_information = |
5102 | | { |
5103 | | OGS_TLV_COMPOUND, |
5104 | | "DSCP to PPI Control Information", |
5105 | | OGS_PFCP_DSCP_TO_PPI_CONTROL_INFORMATION_TYPE, |
5106 | | 0, |
5107 | | 0, |
5108 | | sizeof(ogs_pfcp_tlv_dscp_to_ppi_control_information_t), |
5109 | | { |
5110 | | &ogs_pfcp_tlv_desc_dscp_to_ppi_mapping_information, |
5111 | | &ogs_pfcp_tlv_desc_qfi, |
5112 | | NULL, |
5113 | | } |
5114 | | }; |
5115 | | |
5116 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_protocol_specific_configuration_parameters = |
5117 | | { |
5118 | | OGS_TLV_COMPOUND, |
5119 | | "Protocol Specific Configuration Parameters", |
5120 | | OGS_PFCP_PROTOCOL_SPECIFIC_CONFIGURATION_PARAMETERS_TYPE, |
5121 | | 0, |
5122 | | 0, |
5123 | | sizeof(ogs_pfcp_tlv_protocol_specific_configuration_parameters_t), |
5124 | | { |
5125 | | &ogs_pfcp_tlv_desc_n6_delay_measurement_protocols, |
5126 | | &ogs_pfcp_tlv_desc_measurement_endpoint_port_number, |
5127 | | &ogs_pfcp_tlv_desc_security_mode_stamp, |
5128 | | &ogs_pfcp_tlv_desc_hmac_key, |
5129 | | &ogs_pfcp_tlv_desc_session_reflector_mode, |
5130 | | &ogs_pfcp_tlv_desc_security_mode_owamp_or_twamp, |
5131 | | &ogs_pfcp_tlv_desc_key_id_and_shared_secret, |
5132 | | NULL, |
5133 | | } |
5134 | | }; |
5135 | | |
5136 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_n6_delay_measurement_control_information = |
5137 | | { |
5138 | | OGS_TLV_COMPOUND, |
5139 | | "N6 Delay Measurement Control Information", |
5140 | | OGS_PFCP_N6_DELAY_MEASUREMENT_CONTROL_INFORMATION_TYPE, |
5141 | | 0, |
5142 | | 0, |
5143 | | sizeof(ogs_pfcp_tlv_n6_delay_measurement_control_information_t), |
5144 | | { |
5145 | | &ogs_pfcp_tlv_desc_n6_delay_measurement_control_information_id, |
5146 | | &ogs_pfcp_tlv_desc_measurement_endpoint_address, |
5147 | | &ogs_pfcp_tlv_desc_network_instance, |
5148 | | &ogs_pfcp_tlv_desc_n6_delay_measurement_protocols, |
5149 | | &ogs_pfcp_tlv_desc_protocol_specific_configuration_parameters, |
5150 | | &ogs_pfcp_tlv_desc_measurement_reporting_type, |
5151 | | &ogs_pfcp_tlv_desc_measurement_period, |
5152 | | &ogs_pfcp_tlv_desc_average_packet_delay, |
5153 | | &ogs_pfcp_tlv_desc_minimum_packet_delay, |
5154 | | &ogs_pfcp_tlv_desc_maximum_packet_delay, |
5155 | | &ogs_pfcp_tlv_desc_timer, |
5156 | | NULL, |
5157 | | } |
5158 | | }; |
5159 | | |
5160 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_n6_delay_measurement_report = |
5161 | | { |
5162 | | OGS_TLV_COMPOUND, |
5163 | | "N6 Delay Measurement Report", |
5164 | | OGS_PFCP_N6_DELAY_MEASUREMENT_REPORT_TYPE, |
5165 | | 0, |
5166 | | 0, |
5167 | | sizeof(ogs_pfcp_tlv_n6_delay_measurement_report_t), |
5168 | | { |
5169 | | &ogs_pfcp_tlv_desc_measurement_endpoint_address, |
5170 | | &ogs_pfcp_tlv_desc_network_instance, |
5171 | | &ogs_pfcp_tlv_desc_measurement_reporting_type, |
5172 | | &ogs_pfcp_tlv_desc_time_stamp, |
5173 | | &ogs_pfcp_tlv_desc_start_time, |
5174 | | &ogs_pfcp_tlv_desc_n6_delay_measurement_information, |
5175 | | &ogs_pfcp_tlv_desc_n6_delay_measurement_failure_information, |
5176 | | &ogs_pfcp_tlv_desc_measurement_endpoint_port_number, |
5177 | | NULL, |
5178 | | } |
5179 | | }; |
5180 | | |
5181 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_moq_information = |
5182 | | { |
5183 | | OGS_TLV_COMPOUND, |
5184 | | "MoQ Information", |
5185 | | OGS_PFCP_MOQ_INFORMATION_TYPE, |
5186 | | 0, |
5187 | | 0, |
5188 | | sizeof(ogs_pfcp_tlv_moq_information_t), |
5189 | | { |
5190 | | &ogs_pfcp_tlv_desc_moq_relay_ip_address, |
5191 | | NULL, |
5192 | | } |
5193 | | }; |
5194 | | |
5195 | | ogs_tlv_desc_t ogs_pfcp_tlv_desc_pfd_partial_failure_information = |
5196 | | { |
5197 | | OGS_TLV_COMPOUND, |
5198 | | "PFD Partial Failure Information", |
5199 | | OGS_PFCP_PFD_PARTIAL_FAILURE_INFORMATION_TYPE, |
5200 | | 0, |
5201 | | 0, |
5202 | | sizeof(ogs_pfcp_tlv_pfd_partial_failure_information_t), |
5203 | | { |
5204 | | &ogs_pfcp_tlv_desc_application_id, |
5205 | | &ogs_pfcp_tlv_desc_cause, |
5206 | | NULL, |
5207 | | } |
5208 | | }; |
5209 | | |
5210 | | ogs_tlv_desc_t ogs_pfcp_msg_desc_pfcp_heartbeat_request = |
5211 | | { |
5212 | | OGS_TLV_MESSAGE, |
5213 | | "PFCP Heartbeat Request", |
5214 | | 0, 0, 0, 0, { |
5215 | | &ogs_pfcp_tlv_desc_recovery_time_stamp, |
5216 | | &ogs_pfcp_tlv_desc_source_ip_address, |
5217 | | NULL, |
5218 | | }}; |
5219 | | |
5220 | | ogs_tlv_desc_t ogs_pfcp_msg_desc_pfcp_heartbeat_response = |
5221 | | { |
5222 | | OGS_TLV_MESSAGE, |
5223 | | "PFCP Heartbeat Response", |
5224 | | 0, 0, 0, 0, { |
5225 | | &ogs_pfcp_tlv_desc_recovery_time_stamp, |
5226 | | NULL, |
5227 | | }}; |
5228 | | |
5229 | | ogs_tlv_desc_t ogs_pfcp_msg_desc_pfcp_pfd_management_request = |
5230 | | { |
5231 | | OGS_TLV_MESSAGE, |
5232 | | "PFCP PFD Management Request", |
5233 | | 0, 0, 0, 0, { |
5234 | | &ogs_pfcp_tlv_desc_application_id_s_pfds, |
5235 | | &ogs_pfcp_tlv_desc_node_id, |
5236 | | NULL, |
5237 | | }}; |
5238 | | |
5239 | | ogs_tlv_desc_t ogs_pfcp_msg_desc_pfcp_pfd_management_response = |
5240 | | { |
5241 | | OGS_TLV_MESSAGE, |
5242 | | "PFCP PFD Management Response", |
5243 | | 0, 0, 0, 0, { |
5244 | | &ogs_pfcp_tlv_desc_cause, |
5245 | | &ogs_pfcp_tlv_desc_offending_ie, |
5246 | | &ogs_pfcp_tlv_desc_node_id, |
5247 | | &ogs_pfcp_tlv_desc_pfd_partial_failure_information, |
5248 | | NULL, |
5249 | | }}; |
5250 | | |
5251 | | ogs_tlv_desc_t ogs_pfcp_msg_desc_pfcp_association_setup_request = |
5252 | | { |
5253 | | OGS_TLV_MESSAGE, |
5254 | | "PFCP Association Setup Request", |
5255 | | 0, 0, 0, 0, { |
5256 | | &ogs_pfcp_tlv_desc_node_id, |
5257 | | &ogs_pfcp_tlv_desc_recovery_time_stamp, |
5258 | | &ogs_pfcp_tlv_desc_up_function_features, |
5259 | | &ogs_pfcp_tlv_desc_cp_function_features, |
5260 | | &ogs_pfcp_tlv_desc_alternative_smf_ip_address, |
5261 | | &ogs_pfcp_tlv_desc_smf_set_id, |
5262 | | &ogs_pfcp_tlv_desc_pfcp_session_retention_information_within_pfcp_association_setup_request, |
5263 | | &ogs_pfcp_tlv_desc_ue_ip_address, |
5264 | | &ogs_pfcp_tlv_desc_gtp_u_path_qos_control_information, |
5265 | | &ogs_pfcp_tlv_desc_clock_drift_control_information, |
5266 | | &ogs_pfcp_tlv_desc_nf_instance_id, |
5267 | | &ogs_pfcp_tlv_desc_pfcpasreq_flags, |
5268 | | &ogs_pfcp_tlv_desc_n6_delay_measurement_control_information, |
5269 | | &ogs_pfcp_tlv_desc_n6_delay_measurement_protocols, |
5270 | | &ogs_pfcp_tlv_desc_operator_configurable_upf_capability, |
5271 | | &ogs_pfcp_tlv_desc_packet_inspection_functionality, |
5272 | | NULL, |
5273 | | }}; |
5274 | | |
5275 | | ogs_tlv_desc_t ogs_pfcp_msg_desc_pfcp_association_setup_response = |
5276 | | { |
5277 | | OGS_TLV_MESSAGE, |
5278 | | "PFCP Association Setup Response", |
5279 | | 0, 0, 0, 0, { |
5280 | | &ogs_pfcp_tlv_desc_node_id, |
5281 | | &ogs_pfcp_tlv_desc_cause, |
5282 | | &ogs_pfcp_tlv_desc_recovery_time_stamp, |
5283 | | &ogs_pfcp_tlv_desc_up_function_features, |
5284 | | &ogs_pfcp_tlv_desc_cp_function_features, |
5285 | | &ogs_pfcp_tlv_desc_alternative_smf_ip_address, |
5286 | | &ogs_pfcp_tlv_desc_smf_set_id, |
5287 | | &ogs_pfcp_tlv_desc_pfcpasrsp_flags, |
5288 | | &ogs_pfcp_tlv_desc_clock_drift_control_information, |
5289 | | &ogs_pfcp_tlv_desc_ue_ip_address, |
5290 | | &ogs_pfcp_tlv_desc_gtp_u_path_qos_control_information, |
5291 | | &ogs_pfcp_tlv_desc_nf_instance_id, |
5292 | | &ogs_pfcp_tlv_desc_n6_delay_measurement_control_information, |
5293 | | &ogs_pfcp_tlv_desc_n6_delay_measurement_protocols, |
5294 | | &ogs_pfcp_tlv_desc_operator_configurable_upf_capability, |
5295 | | &ogs_pfcp_tlv_desc_packet_inspection_functionality, |
5296 | | NULL, |
5297 | | }}; |
5298 | | |
5299 | | ogs_tlv_desc_t ogs_pfcp_msg_desc_pfcp_association_update_request = |
5300 | | { |
5301 | | OGS_TLV_MESSAGE, |
5302 | | "PFCP Association Update Request", |
5303 | | 0, 0, 0, 0, { |
5304 | | &ogs_pfcp_tlv_desc_node_id, |
5305 | | &ogs_pfcp_tlv_desc_up_function_features, |
5306 | | &ogs_pfcp_tlv_desc_cp_function_features, |
5307 | | &ogs_pfcp_tlv_desc_pfcp_association_release_request, |
5308 | | &ogs_pfcp_tlv_desc_graceful_release_period, |
5309 | | &ogs_pfcp_tlv_desc_pfcpaureq_flags, |
5310 | | &ogs_pfcp_tlv_desc_alternative_smf_ip_address, |
5311 | | &ogs_pfcp_tlv_desc_smf_set_id, |
5312 | | &ogs_pfcp_tlv_desc_clock_drift_control_information, |
5313 | | &ogs_pfcp_tlv_desc_ue_ip_address, |
5314 | | &ogs_pfcp_tlv_desc_gtp_u_path_qos_control_information, |
5315 | | &ogs_pfcp_tlv_desc_ue_ip_address_usage_information, |
5316 | | &ogs_pfcp_tlv_desc_n6_delay_measurement_control_information, |
5317 | | &ogs_pfcp_tlv_desc_n6_delay_measurement_protocols, |
5318 | | &ogs_pfcp_tlv_desc_operator_configurable_upf_capability, |
5319 | | &ogs_pfcp_tlv_desc_packet_inspection_functionality, |
5320 | | NULL, |
5321 | | }}; |
5322 | | |
5323 | | ogs_tlv_desc_t ogs_pfcp_msg_desc_pfcp_association_update_response = |
5324 | | { |
5325 | | OGS_TLV_MESSAGE, |
5326 | | "PFCP Association Update Response", |
5327 | | 0, 0, 0, 0, { |
5328 | | &ogs_pfcp_tlv_desc_node_id, |
5329 | | &ogs_pfcp_tlv_desc_cause, |
5330 | | &ogs_pfcp_tlv_desc_up_function_features, |
5331 | | &ogs_pfcp_tlv_desc_cp_function_features, |
5332 | | &ogs_pfcp_tlv_desc_ue_ip_address_usage_information, |
5333 | | &ogs_pfcp_tlv_desc_n6_delay_measurement_protocols, |
5334 | | &ogs_pfcp_tlv_desc_operator_configurable_upf_capability, |
5335 | | &ogs_pfcp_tlv_desc_packet_inspection_functionality, |
5336 | | NULL, |
5337 | | }}; |
5338 | | |
5339 | | ogs_tlv_desc_t ogs_pfcp_msg_desc_pfcp_association_release_request = |
5340 | | { |
5341 | | OGS_TLV_MESSAGE, |
5342 | | "PFCP Association Release Request", |
5343 | | 0, 0, 0, 0, { |
5344 | | &ogs_pfcp_tlv_desc_node_id, |
5345 | | NULL, |
5346 | | }}; |
5347 | | |
5348 | | ogs_tlv_desc_t ogs_pfcp_msg_desc_pfcp_association_release_response = |
5349 | | { |
5350 | | OGS_TLV_MESSAGE, |
5351 | | "PFCP Association Release Response", |
5352 | | 0, 0, 0, 0, { |
5353 | | &ogs_pfcp_tlv_desc_node_id, |
5354 | | &ogs_pfcp_tlv_desc_cause, |
5355 | | NULL, |
5356 | | }}; |
5357 | | |
5358 | | ogs_tlv_desc_t ogs_pfcp_msg_desc_pfcp_version_not_supported_response = |
5359 | | { |
5360 | | OGS_TLV_MESSAGE, |
5361 | | "PFCP Version Not Supported Response", |
5362 | | 0, 0, 0, 0, { |
5363 | | NULL, |
5364 | | }}; |
5365 | | |
5366 | | ogs_tlv_desc_t ogs_pfcp_msg_desc_pfcp_node_report_request = |
5367 | | { |
5368 | | OGS_TLV_MESSAGE, |
5369 | | "PFCP Node Report Request", |
5370 | | 0, 0, 0, 0, { |
5371 | | &ogs_pfcp_tlv_desc_node_id, |
5372 | | &ogs_pfcp_tlv_desc_node_report_type, |
5373 | | &ogs_pfcp_tlv_desc_vendor_specific_node_report_type, |
5374 | | &ogs_pfcp_tlv_desc_user_plane_path_failure_report, |
5375 | | &ogs_pfcp_tlv_desc_user_plane_path_recovery_report, |
5376 | | &ogs_pfcp_tlv_desc_clock_drift_report, |
5377 | | &ogs_pfcp_tlv_desc_gtp_u_path_qos_report_pfcp_node_report_request, |
5378 | | &ogs_pfcp_tlv_desc_peer_up_restart_report, |
5379 | | &ogs_pfcp_tlv_desc_n6_delay_measurement_report, |
5380 | | NULL, |
5381 | | }}; |
5382 | | |
5383 | | ogs_tlv_desc_t ogs_pfcp_msg_desc_pfcp_node_report_response = |
5384 | | { |
5385 | | OGS_TLV_MESSAGE, |
5386 | | "PFCP Node Report Response", |
5387 | | 0, 0, 0, 0, { |
5388 | | &ogs_pfcp_tlv_desc_node_id, |
5389 | | &ogs_pfcp_tlv_desc_cause, |
5390 | | &ogs_pfcp_tlv_desc_offending_ie, |
5391 | | NULL, |
5392 | | }}; |
5393 | | |
5394 | | ogs_tlv_desc_t ogs_pfcp_msg_desc_pfcp_session_set_deletion_request = |
5395 | | { |
5396 | | OGS_TLV_MESSAGE, |
5397 | | "PFCP Session Set Deletion Request", |
5398 | | 0, 0, 0, 0, { |
5399 | | &ogs_pfcp_tlv_desc_node_id, |
5400 | | &ogs_pfcp_tlv_desc_fq_csid, |
5401 | | &ogs_pfcp_tlv_desc_fq_csid, |
5402 | | &ogs_pfcp_tlv_desc_fq_csid, |
5403 | | &ogs_pfcp_tlv_desc_fq_csid, |
5404 | | &ogs_pfcp_tlv_desc_fq_csid, |
5405 | | &ogs_pfcp_tlv_desc_fq_csid, |
5406 | | NULL, |
5407 | | }}; |
5408 | | |
5409 | | ogs_tlv_desc_t ogs_pfcp_msg_desc_pfcp_session_set_deletion_response = |
5410 | | { |
5411 | | OGS_TLV_MESSAGE, |
5412 | | "PFCP Session Set Deletion Response", |
5413 | | 0, 0, 0, 0, { |
5414 | | &ogs_pfcp_tlv_desc_node_id, |
5415 | | &ogs_pfcp_tlv_desc_cause, |
5416 | | &ogs_pfcp_tlv_desc_offending_ie, |
5417 | | NULL, |
5418 | | }}; |
5419 | | |
5420 | | ogs_tlv_desc_t ogs_pfcp_msg_desc_pfcp_session_set_modification_request = |
5421 | | { |
5422 | | OGS_TLV_MESSAGE, |
5423 | | "PFCP Session Set Modification Request", |
5424 | | 0, 0, 0, 0, { |
5425 | | &ogs_pfcp_tlv_desc_node_id, |
5426 | | &ogs_pfcp_tlv_desc_pfcp_session_change_info, |
5427 | | NULL, |
5428 | | }}; |
5429 | | |
5430 | | ogs_tlv_desc_t ogs_pfcp_msg_desc_pfcp_session_set_modification_response = |
5431 | | { |
5432 | | OGS_TLV_MESSAGE, |
5433 | | "PFCP Session Set Modification Response", |
5434 | | 0, 0, 0, 0, { |
5435 | | &ogs_pfcp_tlv_desc_node_id, |
5436 | | &ogs_pfcp_tlv_desc_cause, |
5437 | | &ogs_pfcp_tlv_desc_offending_ie, |
5438 | | NULL, |
5439 | | }}; |
5440 | | |
5441 | | ogs_tlv_desc_t ogs_pfcp_msg_desc_pfcp_session_establishment_request = |
5442 | | { |
5443 | | OGS_TLV_MESSAGE, |
5444 | | "PFCP Session Establishment Request", |
5445 | | 0, 0, 0, 0, { |
5446 | | &ogs_pfcp_tlv_desc_node_id, |
5447 | | &ogs_pfcp_tlv_desc_f_seid, |
5448 | | &ogs_pfcp_tlv_desc_create_pdr, |
5449 | | &ogs_tlv_desc_more16, |
5450 | | &ogs_pfcp_tlv_desc_create_far, |
5451 | | &ogs_tlv_desc_more16, |
5452 | | &ogs_pfcp_tlv_desc_create_urr, |
5453 | | &ogs_tlv_desc_more16, |
5454 | | &ogs_pfcp_tlv_desc_create_qer, |
5455 | | &ogs_tlv_desc_more4, |
5456 | | &ogs_pfcp_tlv_desc_create_bar, |
5457 | | &ogs_pfcp_tlv_desc_create_traffic_endpoint, |
5458 | | &ogs_pfcp_tlv_desc_pdn_type, |
5459 | | &ogs_pfcp_tlv_desc_fq_csid, |
5460 | | &ogs_pfcp_tlv_desc_fq_csid, |
5461 | | &ogs_pfcp_tlv_desc_fq_csid, |
5462 | | &ogs_pfcp_tlv_desc_fq_csid, |
5463 | | &ogs_pfcp_tlv_desc_fq_csid, |
5464 | | &ogs_pfcp_tlv_desc_user_plane_inactivity_timer, |
5465 | | &ogs_pfcp_tlv_desc_user_id, |
5466 | | &ogs_pfcp_tlv_desc_trace_information, |
5467 | | &ogs_pfcp_tlv_desc_apn_dnn, |
5468 | | &ogs_pfcp_tlv_desc_create_mar, |
5469 | | &ogs_pfcp_tlv_desc_pfcpsereq_flags, |
5470 | | &ogs_pfcp_tlv_desc_create_bridge_router_info, |
5471 | | &ogs_pfcp_tlv_desc_create_srr, |
5472 | | &ogs_pfcp_tlv_desc_provide_atsss_control_information, |
5473 | | &ogs_pfcp_tlv_desc_recovery_time_stamp, |
5474 | | &ogs_pfcp_tlv_desc_s_nssai, |
5475 | | &ogs_pfcp_tlv_desc_hplmn_s_nssai, |
5476 | | &ogs_pfcp_tlv_desc_provide_rds_configuration_information, |
5477 | | &ogs_pfcp_tlv_desc_rat_type, |
5478 | | &ogs_pfcp_tlv_desc_l2tp_tunnel_information, |
5479 | | &ogs_pfcp_tlv_desc_l2tp_session_information, |
5480 | | &ogs_pfcp_tlv_desc_group_id, |
5481 | | &ogs_pfcp_tlv_desc_mbs_session_n4mb_control_information, |
5482 | | &ogs_pfcp_tlv_desc_mbs_session_n4_control_information, |
5483 | | &ogs_pfcp_tlv_desc_dscp_to_ppi_control_information, |
5484 | | &ogs_pfcp_tlv_desc_tl_container, |
5485 | | &ogs_pfcp_tlv_desc_uri, |
5486 | | &ogs_pfcp_tlv_desc_ue_level_measurements_configuration, |
5487 | | &ogs_pfcp_tlv_desc_alternative_smf_ip_address, |
5488 | | &ogs_pfcp_tlv_desc_moq_control_information, |
5489 | | NULL, |
5490 | | }}; |
5491 | | |
5492 | | ogs_tlv_desc_t ogs_pfcp_msg_desc_pfcp_session_establishment_response = |
5493 | | { |
5494 | | OGS_TLV_MESSAGE, |
5495 | | "PFCP Session Establishment Response", |
5496 | | 0, 0, 0, 0, { |
5497 | | &ogs_pfcp_tlv_desc_node_id, |
5498 | | &ogs_pfcp_tlv_desc_cause, |
5499 | | &ogs_pfcp_tlv_desc_offending_ie, |
5500 | | &ogs_pfcp_tlv_desc_f_seid, |
5501 | | &ogs_pfcp_tlv_desc_created_pdr, |
5502 | | &ogs_tlv_desc_more16, |
5503 | | &ogs_pfcp_tlv_desc_load_control_information, |
5504 | | &ogs_pfcp_tlv_desc_overload_control_information, |
5505 | | &ogs_pfcp_tlv_desc_fq_csid, |
5506 | | &ogs_pfcp_tlv_desc_failed_rule_id, |
5507 | | &ogs_pfcp_tlv_desc_created_traffic_endpoint, |
5508 | | &ogs_pfcp_tlv_desc_created_bridge_router_info, |
5509 | | &ogs_pfcp_tlv_desc_atsss_control_parameters, |
5510 | | &ogs_pfcp_tlv_desc_rds_configuration_information, |
5511 | | &ogs_pfcp_tlv_desc_partial_failure_information, |
5512 | | &ogs_pfcp_tlv_desc_created_l2tp_session, |
5513 | | &ogs_pfcp_tlv_desc_mbs_session_n4mb_information, |
5514 | | &ogs_pfcp_tlv_desc_mbs_session_n4_information, |
5515 | | &ogs_pfcp_tlv_desc_tl_container, |
5516 | | &ogs_pfcp_tlv_desc_moq_information, |
5517 | | NULL, |
5518 | | }}; |
5519 | | |
5520 | | ogs_tlv_desc_t ogs_pfcp_msg_desc_pfcp_session_modification_request = |
5521 | | { |
5522 | | OGS_TLV_MESSAGE, |
5523 | | "PFCP Session Modification Request", |
5524 | | 0, 0, 0, 0, { |
5525 | | &ogs_pfcp_tlv_desc_f_seid, |
5526 | | &ogs_pfcp_tlv_desc_remove_pdr, |
5527 | | &ogs_tlv_desc_more16, |
5528 | | &ogs_pfcp_tlv_desc_remove_far, |
5529 | | &ogs_tlv_desc_more16, |
5530 | | &ogs_pfcp_tlv_desc_remove_urr, |
5531 | | &ogs_tlv_desc_more16, |
5532 | | &ogs_pfcp_tlv_desc_remove_qer, |
5533 | | &ogs_tlv_desc_more4, |
5534 | | &ogs_pfcp_tlv_desc_remove_bar, |
5535 | | &ogs_pfcp_tlv_desc_remove_traffic_endpoint, |
5536 | | &ogs_pfcp_tlv_desc_create_pdr, |
5537 | | &ogs_tlv_desc_more16, |
5538 | | &ogs_pfcp_tlv_desc_create_far, |
5539 | | &ogs_tlv_desc_more16, |
5540 | | &ogs_pfcp_tlv_desc_create_urr, |
5541 | | &ogs_tlv_desc_more16, |
5542 | | &ogs_pfcp_tlv_desc_create_qer, |
5543 | | &ogs_tlv_desc_more4, |
5544 | | &ogs_pfcp_tlv_desc_create_bar, |
5545 | | &ogs_pfcp_tlv_desc_create_traffic_endpoint, |
5546 | | &ogs_pfcp_tlv_desc_update_pdr, |
5547 | | &ogs_tlv_desc_more16, |
5548 | | &ogs_pfcp_tlv_desc_update_far, |
5549 | | &ogs_tlv_desc_more16, |
5550 | | &ogs_pfcp_tlv_desc_update_urr, |
5551 | | &ogs_tlv_desc_more16, |
5552 | | &ogs_pfcp_tlv_desc_update_qer, |
5553 | | &ogs_tlv_desc_more4, |
5554 | | &ogs_pfcp_tlv_desc_update_bar_session_modification_request, |
5555 | | &ogs_pfcp_tlv_desc_update_traffic_endpoint, |
5556 | | &ogs_pfcp_tlv_desc_pfcpsmreq_flags, |
5557 | | &ogs_pfcp_tlv_desc_query_urr, |
5558 | | &ogs_pfcp_tlv_desc_fq_csid, |
5559 | | &ogs_pfcp_tlv_desc_fq_csid, |
5560 | | &ogs_pfcp_tlv_desc_fq_csid, |
5561 | | &ogs_pfcp_tlv_desc_fq_csid, |
5562 | | &ogs_pfcp_tlv_desc_fq_csid, |
5563 | | &ogs_pfcp_tlv_desc_user_plane_inactivity_timer, |
5564 | | &ogs_pfcp_tlv_desc_query_urr_reference, |
5565 | | &ogs_pfcp_tlv_desc_trace_information, |
5566 | | &ogs_pfcp_tlv_desc_remove_mar, |
5567 | | &ogs_pfcp_tlv_desc_update_mar, |
5568 | | &ogs_pfcp_tlv_desc_create_mar, |
5569 | | &ogs_pfcp_tlv_desc_node_id, |
5570 | | &ogs_pfcp_tlv_desc_tsc_management_information_ie_within_pfcp_session_modification_request, |
5571 | | &ogs_pfcp_tlv_desc_remove_srr, |
5572 | | &ogs_pfcp_tlv_desc_create_srr, |
5573 | | &ogs_pfcp_tlv_desc_update_srr, |
5574 | | &ogs_pfcp_tlv_desc_provide_atsss_control_information, |
5575 | | &ogs_pfcp_tlv_desc_ethernet_context_information, |
5576 | | &ogs_pfcp_tlv_desc_access_availability_information, |
5577 | | &ogs_pfcp_tlv_desc_query_packet_rate_status_ie_within_pfcp_session_modification_request, |
5578 | | &ogs_pfcp_tlv_desc_s_nssai, |
5579 | | &ogs_pfcp_tlv_desc_hplmn_s_nssai, |
5580 | | &ogs_pfcp_tlv_desc_apn_dnn, |
5581 | | &ogs_pfcp_tlv_desc_rat_type, |
5582 | | &ogs_pfcp_tlv_desc_group_id, |
5583 | | &ogs_pfcp_tlv_desc_mbs_session_n4_control_information, |
5584 | | &ogs_pfcp_tlv_desc_dscp_to_ppi_control_information, |
5585 | | &ogs_pfcp_tlv_desc_tl_container, |
5586 | | &ogs_pfcp_tlv_desc_uri, |
5587 | | &ogs_pfcp_tlv_desc_ue_level_measurements_configuration, |
5588 | | &ogs_pfcp_tlv_desc_alternative_smf_ip_address, |
5589 | | &ogs_pfcp_tlv_desc_moq_control_information, |
5590 | | NULL, |
5591 | | }}; |
5592 | | |
5593 | | ogs_tlv_desc_t ogs_pfcp_msg_desc_pfcp_session_modification_response = |
5594 | | { |
5595 | | OGS_TLV_MESSAGE, |
5596 | | "PFCP Session Modification Response", |
5597 | | 0, 0, 0, 0, { |
5598 | | &ogs_pfcp_tlv_desc_cause, |
5599 | | &ogs_pfcp_tlv_desc_offending_ie, |
5600 | | &ogs_pfcp_tlv_desc_created_pdr, |
5601 | | &ogs_tlv_desc_more16, |
5602 | | &ogs_pfcp_tlv_desc_load_control_information, |
5603 | | &ogs_pfcp_tlv_desc_overload_control_information, |
5604 | | &ogs_pfcp_tlv_desc_usage_report_session_modification_response, |
5605 | | &ogs_tlv_desc_more8, |
5606 | | &ogs_pfcp_tlv_desc_failed_rule_id, |
5607 | | &ogs_pfcp_tlv_desc_additional_usage_reports_information, |
5608 | | &ogs_pfcp_tlv_desc_created_traffic_endpoint, |
5609 | | &ogs_pfcp_tlv_desc_tsc_management_information_ie_within_pfcp_session_modification_request, |
5610 | | &ogs_pfcp_tlv_desc_atsss_control_parameters, |
5611 | | &ogs_pfcp_tlv_desc_updated_pdr, |
5612 | | &ogs_pfcp_tlv_desc_packet_rate_status_report, |
5613 | | &ogs_pfcp_tlv_desc_partial_failure_information, |
5614 | | &ogs_pfcp_tlv_desc_mbs_session_n4_information, |
5615 | | &ogs_pfcp_tlv_desc_tl_container, |
5616 | | &ogs_pfcp_tlv_desc_moq_information, |
5617 | | NULL, |
5618 | | }}; |
5619 | | |
5620 | | ogs_tlv_desc_t ogs_pfcp_msg_desc_pfcp_session_deletion_request = |
5621 | | { |
5622 | | OGS_TLV_MESSAGE, |
5623 | | "PFCP Session Deletion Request", |
5624 | | 0, 0, 0, 0, { |
5625 | | NULL, |
5626 | | }}; |
5627 | | |
5628 | | ogs_tlv_desc_t ogs_pfcp_msg_desc_pfcp_session_deletion_response = |
5629 | | { |
5630 | | OGS_TLV_MESSAGE, |
5631 | | "PFCP Session Deletion Response", |
5632 | | 0, 0, 0, 0, { |
5633 | | &ogs_pfcp_tlv_desc_cause, |
5634 | | &ogs_pfcp_tlv_desc_offending_ie, |
5635 | | &ogs_pfcp_tlv_desc_load_control_information, |
5636 | | &ogs_pfcp_tlv_desc_overload_control_information, |
5637 | | &ogs_pfcp_tlv_desc_usage_report_session_deletion_response, |
5638 | | &ogs_tlv_desc_more8, |
5639 | | &ogs_pfcp_tlv_desc_additional_usage_reports_information, |
5640 | | &ogs_pfcp_tlv_desc_packet_rate_status_report, |
5641 | | &ogs_pfcp_tlv_desc_mbs_session_n4_information, |
5642 | | &ogs_pfcp_tlv_desc_pfcpsdrsp_flags, |
5643 | | &ogs_pfcp_tlv_desc_tl_container, |
5644 | | &ogs_pfcp_tlv_desc_session_report, |
5645 | | NULL, |
5646 | | }}; |
5647 | | |
5648 | | ogs_tlv_desc_t ogs_pfcp_msg_desc_pfcp_session_report_request = |
5649 | | { |
5650 | | OGS_TLV_MESSAGE, |
5651 | | "PFCP Session Report Request", |
5652 | | 0, 0, 0, 0, { |
5653 | | &ogs_pfcp_tlv_desc_report_type, |
5654 | | &ogs_pfcp_tlv_desc_downlink_data_report, |
5655 | | &ogs_pfcp_tlv_desc_usage_report_session_report_request, |
5656 | | &ogs_tlv_desc_more8, |
5657 | | &ogs_pfcp_tlv_desc_error_indication_report, |
5658 | | &ogs_pfcp_tlv_desc_load_control_information, |
5659 | | &ogs_pfcp_tlv_desc_overload_control_information, |
5660 | | &ogs_pfcp_tlv_desc_additional_usage_reports_information, |
5661 | | &ogs_pfcp_tlv_desc_pfcpsrreq_flags, |
5662 | | &ogs_pfcp_tlv_desc_f_seid, |
5663 | | &ogs_pfcp_tlv_desc_smf_change_reason, |
5664 | | &ogs_pfcp_tlv_desc_packet_rate_status_report, |
5665 | | &ogs_pfcp_tlv_desc_tsc_management_information_ie_within_pfcp_session_modification_request, |
5666 | | &ogs_pfcp_tlv_desc_session_report, |
5667 | | &ogs_pfcp_tlv_desc_cause, |
5668 | | NULL, |
5669 | | }}; |
5670 | | |
5671 | | ogs_tlv_desc_t ogs_pfcp_msg_desc_pfcp_session_report_response = |
5672 | | { |
5673 | | OGS_TLV_MESSAGE, |
5674 | | "PFCP Session Report Response", |
5675 | | 0, 0, 0, 0, { |
5676 | | &ogs_pfcp_tlv_desc_cause, |
5677 | | &ogs_pfcp_tlv_desc_offending_ie, |
5678 | | &ogs_pfcp_tlv_desc_update_bar_pfcp_session_report_response, |
5679 | | &ogs_pfcp_tlv_desc_pfcpsrrsp_flags, |
5680 | | &ogs_pfcp_tlv_desc_f_seid, |
5681 | | &ogs_pfcp_tlv_desc_f_teid, |
5682 | | &ogs_pfcp_tlv_desc_alternative_smf_ip_address, |
5683 | | &ogs_pfcp_tlv_desc_fq_csid, |
5684 | | &ogs_pfcp_tlv_desc_group_id, |
5685 | | &ogs_pfcp_tlv_desc_node_id, |
5686 | | &ogs_pfcp_tlv_desc_alternative_smf_ip_address, |
5687 | | NULL, |
5688 | | }}; |
5689 | | |
5690 | | |
5691 | | ogs_pfcp_message_t *ogs_pfcp_parse_msg(ogs_pkbuf_t *pkbuf) |
5692 | 507 | { |
5693 | 507 | int rv = OGS_ERROR; |
5694 | 507 | ogs_pfcp_header_t *h = NULL; |
5695 | 507 | uint16_t size = 0; |
5696 | | |
5697 | 507 | ogs_pfcp_message_t *pfcp_message = NULL; |
5698 | | |
5699 | 507 | ogs_assert(pkbuf); |
5700 | 507 | ogs_assert(pkbuf->len); |
5701 | | |
5702 | 507 | h = (ogs_pfcp_header_t *)pkbuf->data; |
5703 | 507 | ogs_assert(h); |
5704 | | |
5705 | 507 | pfcp_message = ogs_calloc(1, sizeof(*pfcp_message)); |
5706 | 507 | if (!pfcp_message) { |
5707 | 0 | ogs_error("No memory"); |
5708 | 0 | return NULL; |
5709 | 0 | } |
5710 | | |
5711 | 507 | if (h->seid_presence) |
5712 | 14 | size = OGS_PFCP_HEADER_LEN; |
5713 | 493 | else |
5714 | 493 | size = OGS_PFCP_HEADER_LEN-OGS_PFCP_SEID_LEN; |
5715 | | |
5716 | 507 | if (ogs_pkbuf_pull(pkbuf, size) == NULL) { |
5717 | 6 | ogs_error("ogs_pkbuf_pull() failed [len:%d]", pkbuf->len); |
5718 | 6 | ogs_pfcp_message_free(pfcp_message); |
5719 | 6 | return NULL; |
5720 | 6 | } |
5721 | 501 | memcpy(&pfcp_message->h, pkbuf->data - size, size); |
5722 | | |
5723 | 501 | if (h->seid_presence) { |
5724 | 10 | pfcp_message->h.seid = be64toh(pfcp_message->h.seid); |
5725 | 491 | } else { |
5726 | 491 | pfcp_message->h.sqn = pfcp_message->h.sqn_only; |
5727 | 491 | } |
5728 | | |
5729 | 501 | if (pkbuf->len == 0) |
5730 | 2 | return pfcp_message; |
5731 | | |
5732 | 499 | switch(pfcp_message->h.type) |
5733 | 499 | { |
5734 | 26 | case OGS_PFCP_HEARTBEAT_REQUEST_TYPE: |
5735 | 26 | rv = ogs_tlv_parse_msg(&pfcp_message->pfcp_heartbeat_request, |
5736 | 26 | &ogs_pfcp_msg_desc_pfcp_heartbeat_request, pkbuf, OGS_TLV_MODE_T2_L2); |
5737 | 26 | ogs_expect(rv == OGS_OK); |
5738 | 26 | break; |
5739 | 10 | case OGS_PFCP_HEARTBEAT_RESPONSE_TYPE: |
5740 | 10 | rv = ogs_tlv_parse_msg(&pfcp_message->pfcp_heartbeat_response, |
5741 | 10 | &ogs_pfcp_msg_desc_pfcp_heartbeat_response, pkbuf, OGS_TLV_MODE_T2_L2); |
5742 | 10 | ogs_expect(rv == OGS_OK); |
5743 | 10 | break; |
5744 | 22 | case OGS_PFCP_PFD_MANAGEMENT_REQUEST_TYPE: |
5745 | 22 | rv = ogs_tlv_parse_msg(&pfcp_message->pfcp_pfd_management_request, |
5746 | 22 | &ogs_pfcp_msg_desc_pfcp_pfd_management_request, pkbuf, OGS_TLV_MODE_T2_L2); |
5747 | 22 | ogs_expect(rv == OGS_OK); |
5748 | 22 | break; |
5749 | 7 | case OGS_PFCP_PFD_MANAGEMENT_RESPONSE_TYPE: |
5750 | 7 | rv = ogs_tlv_parse_msg(&pfcp_message->pfcp_pfd_management_response, |
5751 | 7 | &ogs_pfcp_msg_desc_pfcp_pfd_management_response, pkbuf, OGS_TLV_MODE_T2_L2); |
5752 | 7 | ogs_expect(rv == OGS_OK); |
5753 | 7 | break; |
5754 | 93 | case OGS_PFCP_ASSOCIATION_SETUP_REQUEST_TYPE: |
5755 | 93 | rv = ogs_tlv_parse_msg(&pfcp_message->pfcp_association_setup_request, |
5756 | 93 | &ogs_pfcp_msg_desc_pfcp_association_setup_request, pkbuf, OGS_TLV_MODE_T2_L2); |
5757 | 93 | ogs_expect(rv == OGS_OK); |
5758 | 93 | break; |
5759 | 4 | case OGS_PFCP_ASSOCIATION_SETUP_RESPONSE_TYPE: |
5760 | 4 | rv = ogs_tlv_parse_msg(&pfcp_message->pfcp_association_setup_response, |
5761 | 4 | &ogs_pfcp_msg_desc_pfcp_association_setup_response, pkbuf, OGS_TLV_MODE_T2_L2); |
5762 | 4 | ogs_expect(rv == OGS_OK); |
5763 | 4 | break; |
5764 | 15 | case OGS_PFCP_ASSOCIATION_UPDATE_REQUEST_TYPE: |
5765 | 15 | rv = ogs_tlv_parse_msg(&pfcp_message->pfcp_association_update_request, |
5766 | 15 | &ogs_pfcp_msg_desc_pfcp_association_update_request, pkbuf, OGS_TLV_MODE_T2_L2); |
5767 | 15 | ogs_expect(rv == OGS_OK); |
5768 | 15 | break; |
5769 | 6 | case OGS_PFCP_ASSOCIATION_UPDATE_RESPONSE_TYPE: |
5770 | 6 | rv = ogs_tlv_parse_msg(&pfcp_message->pfcp_association_update_response, |
5771 | 6 | &ogs_pfcp_msg_desc_pfcp_association_update_response, pkbuf, OGS_TLV_MODE_T2_L2); |
5772 | 6 | ogs_expect(rv == OGS_OK); |
5773 | 6 | break; |
5774 | 5 | case OGS_PFCP_ASSOCIATION_RELEASE_REQUEST_TYPE: |
5775 | 5 | rv = ogs_tlv_parse_msg(&pfcp_message->pfcp_association_release_request, |
5776 | 5 | &ogs_pfcp_msg_desc_pfcp_association_release_request, pkbuf, OGS_TLV_MODE_T2_L2); |
5777 | 5 | ogs_expect(rv == OGS_OK); |
5778 | 5 | break; |
5779 | 2 | case OGS_PFCP_ASSOCIATION_RELEASE_RESPONSE_TYPE: |
5780 | 2 | rv = ogs_tlv_parse_msg(&pfcp_message->pfcp_association_release_response, |
5781 | 2 | &ogs_pfcp_msg_desc_pfcp_association_release_response, pkbuf, OGS_TLV_MODE_T2_L2); |
5782 | 2 | ogs_expect(rv == OGS_OK); |
5783 | 2 | break; |
5784 | 1 | case OGS_PFCP_VERSION_NOT_SUPPORTED_RESPONSE_TYPE: |
5785 | 1 | break; |
5786 | 8 | case OGS_PFCP_NODE_REPORT_REQUEST_TYPE: |
5787 | 8 | rv = ogs_tlv_parse_msg(&pfcp_message->pfcp_node_report_request, |
5788 | 8 | &ogs_pfcp_msg_desc_pfcp_node_report_request, pkbuf, OGS_TLV_MODE_T2_L2); |
5789 | 8 | ogs_expect(rv == OGS_OK); |
5790 | 8 | break; |
5791 | 31 | case OGS_PFCP_NODE_REPORT_RESPONSE_TYPE: |
5792 | 31 | rv = ogs_tlv_parse_msg(&pfcp_message->pfcp_node_report_response, |
5793 | 31 | &ogs_pfcp_msg_desc_pfcp_node_report_response, pkbuf, OGS_TLV_MODE_T2_L2); |
5794 | 31 | ogs_expect(rv == OGS_OK); |
5795 | 31 | break; |
5796 | 5 | case OGS_PFCP_SESSION_SET_DELETION_REQUEST_TYPE: |
5797 | 5 | rv = ogs_tlv_parse_msg(&pfcp_message->pfcp_session_set_deletion_request, |
5798 | 5 | &ogs_pfcp_msg_desc_pfcp_session_set_deletion_request, pkbuf, OGS_TLV_MODE_T2_L2); |
5799 | 5 | ogs_expect(rv == OGS_OK); |
5800 | 5 | break; |
5801 | 9 | case OGS_PFCP_SESSION_SET_DELETION_RESPONSE_TYPE: |
5802 | 9 | rv = ogs_tlv_parse_msg(&pfcp_message->pfcp_session_set_deletion_response, |
5803 | 9 | &ogs_pfcp_msg_desc_pfcp_session_set_deletion_response, pkbuf, OGS_TLV_MODE_T2_L2); |
5804 | 9 | ogs_expect(rv == OGS_OK); |
5805 | 9 | break; |
5806 | 9 | case OGS_PFCP_SESSION_SET_MODIFICATION_REQUEST_TYPE: |
5807 | 9 | rv = ogs_tlv_parse_msg(&pfcp_message->pfcp_session_set_modification_request, |
5808 | 9 | &ogs_pfcp_msg_desc_pfcp_session_set_modification_request, pkbuf, OGS_TLV_MODE_T2_L2); |
5809 | 9 | ogs_expect(rv == OGS_OK); |
5810 | 9 | break; |
5811 | 20 | case OGS_PFCP_SESSION_SET_MODIFICATION_RESPONSE_TYPE: |
5812 | 20 | rv = ogs_tlv_parse_msg(&pfcp_message->pfcp_session_set_modification_response, |
5813 | 20 | &ogs_pfcp_msg_desc_pfcp_session_set_modification_response, pkbuf, OGS_TLV_MODE_T2_L2); |
5814 | 20 | ogs_expect(rv == OGS_OK); |
5815 | 20 | break; |
5816 | 97 | case OGS_PFCP_SESSION_ESTABLISHMENT_REQUEST_TYPE: |
5817 | 97 | rv = ogs_tlv_parse_msg(&pfcp_message->pfcp_session_establishment_request, |
5818 | 97 | &ogs_pfcp_msg_desc_pfcp_session_establishment_request, pkbuf, OGS_TLV_MODE_T2_L2); |
5819 | 97 | ogs_expect(rv == OGS_OK); |
5820 | 97 | break; |
5821 | 11 | case OGS_PFCP_SESSION_ESTABLISHMENT_RESPONSE_TYPE: |
5822 | 11 | rv = ogs_tlv_parse_msg(&pfcp_message->pfcp_session_establishment_response, |
5823 | 11 | &ogs_pfcp_msg_desc_pfcp_session_establishment_response, pkbuf, OGS_TLV_MODE_T2_L2); |
5824 | 11 | ogs_expect(rv == OGS_OK); |
5825 | 11 | break; |
5826 | 66 | case OGS_PFCP_SESSION_MODIFICATION_REQUEST_TYPE: |
5827 | 66 | rv = ogs_tlv_parse_msg(&pfcp_message->pfcp_session_modification_request, |
5828 | 66 | &ogs_pfcp_msg_desc_pfcp_session_modification_request, pkbuf, OGS_TLV_MODE_T2_L2); |
5829 | 66 | ogs_expect(rv == OGS_OK); |
5830 | 66 | break; |
5831 | 12 | case OGS_PFCP_SESSION_MODIFICATION_RESPONSE_TYPE: |
5832 | 12 | rv = ogs_tlv_parse_msg(&pfcp_message->pfcp_session_modification_response, |
5833 | 12 | &ogs_pfcp_msg_desc_pfcp_session_modification_response, pkbuf, OGS_TLV_MODE_T2_L2); |
5834 | 12 | ogs_expect(rv == OGS_OK); |
5835 | 12 | break; |
5836 | 2 | case OGS_PFCP_SESSION_DELETION_REQUEST_TYPE: |
5837 | 2 | break; |
5838 | 5 | case OGS_PFCP_SESSION_DELETION_RESPONSE_TYPE: |
5839 | 5 | rv = ogs_tlv_parse_msg(&pfcp_message->pfcp_session_deletion_response, |
5840 | 5 | &ogs_pfcp_msg_desc_pfcp_session_deletion_response, pkbuf, OGS_TLV_MODE_T2_L2); |
5841 | 5 | ogs_expect(rv == OGS_OK); |
5842 | 5 | break; |
5843 | 18 | case OGS_PFCP_SESSION_REPORT_REQUEST_TYPE: |
5844 | 18 | rv = ogs_tlv_parse_msg(&pfcp_message->pfcp_session_report_request, |
5845 | 18 | &ogs_pfcp_msg_desc_pfcp_session_report_request, pkbuf, OGS_TLV_MODE_T2_L2); |
5846 | 18 | ogs_expect(rv == OGS_OK); |
5847 | 18 | break; |
5848 | 9 | case OGS_PFCP_SESSION_REPORT_RESPONSE_TYPE: |
5849 | 9 | rv = ogs_tlv_parse_msg(&pfcp_message->pfcp_session_report_response, |
5850 | 9 | &ogs_pfcp_msg_desc_pfcp_session_report_response, pkbuf, OGS_TLV_MODE_T2_L2); |
5851 | 9 | ogs_expect(rv == OGS_OK); |
5852 | 9 | break; |
5853 | 6 | default: |
5854 | 6 | ogs_warn("Not implemented(type:%d)", pfcp_message->h.type); |
5855 | 6 | break; |
5856 | 499 | } |
5857 | | |
5858 | 499 | if (rv != OGS_OK) { |
5859 | 247 | ogs_pfcp_message_free(pfcp_message); |
5860 | 247 | return NULL; |
5861 | 247 | } |
5862 | | |
5863 | 252 | return pfcp_message; |
5864 | 499 | } |
5865 | | |
5866 | | void ogs_pfcp_message_free(ogs_pfcp_message_t *pfcp_message) |
5867 | 507 | { |
5868 | 507 | ogs_assert(pfcp_message); |
5869 | 507 | ogs_free(pfcp_message); |
5870 | 507 | } |
5871 | | |
5872 | | ogs_pkbuf_t *ogs_pfcp_build_msg(ogs_pfcp_message_t *pfcp_message) |
5873 | 0 | { |
5874 | 0 | ogs_pkbuf_t *pkbuf = NULL; |
5875 | |
|
5876 | 0 | ogs_assert(pfcp_message); |
5877 | 0 | switch(pfcp_message->h.type) |
5878 | 0 | { |
5879 | 0 | case OGS_PFCP_HEARTBEAT_REQUEST_TYPE: |
5880 | 0 | pkbuf = ogs_tlv_build_msg(&ogs_pfcp_msg_desc_pfcp_heartbeat_request, |
5881 | 0 | &pfcp_message->pfcp_heartbeat_request, OGS_TLV_MODE_T2_L2); |
5882 | 0 | break; |
5883 | 0 | case OGS_PFCP_HEARTBEAT_RESPONSE_TYPE: |
5884 | 0 | pkbuf = ogs_tlv_build_msg(&ogs_pfcp_msg_desc_pfcp_heartbeat_response, |
5885 | 0 | &pfcp_message->pfcp_heartbeat_response, OGS_TLV_MODE_T2_L2); |
5886 | 0 | break; |
5887 | 0 | case OGS_PFCP_PFD_MANAGEMENT_REQUEST_TYPE: |
5888 | 0 | pkbuf = ogs_tlv_build_msg(&ogs_pfcp_msg_desc_pfcp_pfd_management_request, |
5889 | 0 | &pfcp_message->pfcp_pfd_management_request, OGS_TLV_MODE_T2_L2); |
5890 | 0 | break; |
5891 | 0 | case OGS_PFCP_PFD_MANAGEMENT_RESPONSE_TYPE: |
5892 | 0 | pkbuf = ogs_tlv_build_msg(&ogs_pfcp_msg_desc_pfcp_pfd_management_response, |
5893 | 0 | &pfcp_message->pfcp_pfd_management_response, OGS_TLV_MODE_T2_L2); |
5894 | 0 | break; |
5895 | 0 | case OGS_PFCP_ASSOCIATION_SETUP_REQUEST_TYPE: |
5896 | 0 | pkbuf = ogs_tlv_build_msg(&ogs_pfcp_msg_desc_pfcp_association_setup_request, |
5897 | 0 | &pfcp_message->pfcp_association_setup_request, OGS_TLV_MODE_T2_L2); |
5898 | 0 | break; |
5899 | 0 | case OGS_PFCP_ASSOCIATION_SETUP_RESPONSE_TYPE: |
5900 | 0 | pkbuf = ogs_tlv_build_msg(&ogs_pfcp_msg_desc_pfcp_association_setup_response, |
5901 | 0 | &pfcp_message->pfcp_association_setup_response, OGS_TLV_MODE_T2_L2); |
5902 | 0 | break; |
5903 | 0 | case OGS_PFCP_ASSOCIATION_UPDATE_REQUEST_TYPE: |
5904 | 0 | pkbuf = ogs_tlv_build_msg(&ogs_pfcp_msg_desc_pfcp_association_update_request, |
5905 | 0 | &pfcp_message->pfcp_association_update_request, OGS_TLV_MODE_T2_L2); |
5906 | 0 | break; |
5907 | 0 | case OGS_PFCP_ASSOCIATION_UPDATE_RESPONSE_TYPE: |
5908 | 0 | pkbuf = ogs_tlv_build_msg(&ogs_pfcp_msg_desc_pfcp_association_update_response, |
5909 | 0 | &pfcp_message->pfcp_association_update_response, OGS_TLV_MODE_T2_L2); |
5910 | 0 | break; |
5911 | 0 | case OGS_PFCP_ASSOCIATION_RELEASE_REQUEST_TYPE: |
5912 | 0 | pkbuf = ogs_tlv_build_msg(&ogs_pfcp_msg_desc_pfcp_association_release_request, |
5913 | 0 | &pfcp_message->pfcp_association_release_request, OGS_TLV_MODE_T2_L2); |
5914 | 0 | break; |
5915 | 0 | case OGS_PFCP_ASSOCIATION_RELEASE_RESPONSE_TYPE: |
5916 | 0 | pkbuf = ogs_tlv_build_msg(&ogs_pfcp_msg_desc_pfcp_association_release_response, |
5917 | 0 | &pfcp_message->pfcp_association_release_response, OGS_TLV_MODE_T2_L2); |
5918 | 0 | break; |
5919 | 0 | case OGS_PFCP_VERSION_NOT_SUPPORTED_RESPONSE_TYPE: |
5920 | 0 | pkbuf = ogs_tlv_build_msg(&ogs_pfcp_msg_desc_pfcp_version_not_supported_response, |
5921 | 0 | &pfcp_message->pfcp_version_not_supported_response, OGS_TLV_MODE_T2_L2); |
5922 | 0 | break; |
5923 | 0 | case OGS_PFCP_NODE_REPORT_REQUEST_TYPE: |
5924 | 0 | pkbuf = ogs_tlv_build_msg(&ogs_pfcp_msg_desc_pfcp_node_report_request, |
5925 | 0 | &pfcp_message->pfcp_node_report_request, OGS_TLV_MODE_T2_L2); |
5926 | 0 | break; |
5927 | 0 | case OGS_PFCP_NODE_REPORT_RESPONSE_TYPE: |
5928 | 0 | pkbuf = ogs_tlv_build_msg(&ogs_pfcp_msg_desc_pfcp_node_report_response, |
5929 | 0 | &pfcp_message->pfcp_node_report_response, OGS_TLV_MODE_T2_L2); |
5930 | 0 | break; |
5931 | 0 | case OGS_PFCP_SESSION_SET_DELETION_REQUEST_TYPE: |
5932 | 0 | pkbuf = ogs_tlv_build_msg(&ogs_pfcp_msg_desc_pfcp_session_set_deletion_request, |
5933 | 0 | &pfcp_message->pfcp_session_set_deletion_request, OGS_TLV_MODE_T2_L2); |
5934 | 0 | break; |
5935 | 0 | case OGS_PFCP_SESSION_SET_DELETION_RESPONSE_TYPE: |
5936 | 0 | pkbuf = ogs_tlv_build_msg(&ogs_pfcp_msg_desc_pfcp_session_set_deletion_response, |
5937 | 0 | &pfcp_message->pfcp_session_set_deletion_response, OGS_TLV_MODE_T2_L2); |
5938 | 0 | break; |
5939 | 0 | case OGS_PFCP_SESSION_SET_MODIFICATION_REQUEST_TYPE: |
5940 | 0 | pkbuf = ogs_tlv_build_msg(&ogs_pfcp_msg_desc_pfcp_session_set_modification_request, |
5941 | 0 | &pfcp_message->pfcp_session_set_modification_request, OGS_TLV_MODE_T2_L2); |
5942 | 0 | break; |
5943 | 0 | case OGS_PFCP_SESSION_SET_MODIFICATION_RESPONSE_TYPE: |
5944 | 0 | pkbuf = ogs_tlv_build_msg(&ogs_pfcp_msg_desc_pfcp_session_set_modification_response, |
5945 | 0 | &pfcp_message->pfcp_session_set_modification_response, OGS_TLV_MODE_T2_L2); |
5946 | 0 | break; |
5947 | 0 | case OGS_PFCP_SESSION_ESTABLISHMENT_REQUEST_TYPE: |
5948 | 0 | pkbuf = ogs_tlv_build_msg(&ogs_pfcp_msg_desc_pfcp_session_establishment_request, |
5949 | 0 | &pfcp_message->pfcp_session_establishment_request, OGS_TLV_MODE_T2_L2); |
5950 | 0 | break; |
5951 | 0 | case OGS_PFCP_SESSION_ESTABLISHMENT_RESPONSE_TYPE: |
5952 | 0 | pkbuf = ogs_tlv_build_msg(&ogs_pfcp_msg_desc_pfcp_session_establishment_response, |
5953 | 0 | &pfcp_message->pfcp_session_establishment_response, OGS_TLV_MODE_T2_L2); |
5954 | 0 | break; |
5955 | 0 | case OGS_PFCP_SESSION_MODIFICATION_REQUEST_TYPE: |
5956 | 0 | pkbuf = ogs_tlv_build_msg(&ogs_pfcp_msg_desc_pfcp_session_modification_request, |
5957 | 0 | &pfcp_message->pfcp_session_modification_request, OGS_TLV_MODE_T2_L2); |
5958 | 0 | break; |
5959 | 0 | case OGS_PFCP_SESSION_MODIFICATION_RESPONSE_TYPE: |
5960 | 0 | pkbuf = ogs_tlv_build_msg(&ogs_pfcp_msg_desc_pfcp_session_modification_response, |
5961 | 0 | &pfcp_message->pfcp_session_modification_response, OGS_TLV_MODE_T2_L2); |
5962 | 0 | break; |
5963 | 0 | case OGS_PFCP_SESSION_DELETION_REQUEST_TYPE: |
5964 | 0 | pkbuf = ogs_tlv_build_msg(&ogs_pfcp_msg_desc_pfcp_session_deletion_request, |
5965 | 0 | &pfcp_message->pfcp_session_deletion_request, OGS_TLV_MODE_T2_L2); |
5966 | 0 | break; |
5967 | 0 | case OGS_PFCP_SESSION_DELETION_RESPONSE_TYPE: |
5968 | 0 | pkbuf = ogs_tlv_build_msg(&ogs_pfcp_msg_desc_pfcp_session_deletion_response, |
5969 | 0 | &pfcp_message->pfcp_session_deletion_response, OGS_TLV_MODE_T2_L2); |
5970 | 0 | break; |
5971 | 0 | case OGS_PFCP_SESSION_REPORT_REQUEST_TYPE: |
5972 | 0 | pkbuf = ogs_tlv_build_msg(&ogs_pfcp_msg_desc_pfcp_session_report_request, |
5973 | 0 | &pfcp_message->pfcp_session_report_request, OGS_TLV_MODE_T2_L2); |
5974 | 0 | break; |
5975 | 0 | case OGS_PFCP_SESSION_REPORT_RESPONSE_TYPE: |
5976 | 0 | pkbuf = ogs_tlv_build_msg(&ogs_pfcp_msg_desc_pfcp_session_report_response, |
5977 | 0 | &pfcp_message->pfcp_session_report_response, OGS_TLV_MODE_T2_L2); |
5978 | 0 | break; |
5979 | 0 | default: |
5980 | 0 | ogs_warn("Not implemented(type:%d)", pfcp_message->h.type); |
5981 | 0 | break; |
5982 | 0 | } |
5983 | | |
5984 | 0 | return pkbuf; |
5985 | 0 | } |
5986 | | |