aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/pfcp/pfcp_ies_custom.h
AgeCommit message (Collapse)AuthorFilesLines
2022-06-17add osmo_pfcp_ie_f_seid_cmpNeels Hofmeyr1-0/+1
Related: SYS#5599 Change-Id: Iacaeebfad0fe77788da40c3ed7da2ffa3b27043c
2022-06-16api: add osmo_pfcp_ie_node_id_to_str_c()Neels Hofmeyr1-0/+3
So far we had only osmo_pfcp_enc_to_str_node_id(), used for PFCP message to string conversion. It behaves like a common _to_str_buf() function, but has an inconvenient void* arg (for use with libosmo-tlv). Implement the string conversion as common _to_str_buf() and _to_str_c() functions, and call that from osmo_pfcp_enc_to_str_node_id(). That's useful for log messages coming up in a subsequent patch. Related: SYS#5599 Change-Id: I5c580bc510afce58a03dea0861db9630b063b2ae
2022-06-16pfcp ie: tweak CP Function FeaturesNeels Hofmeyr1-1/+1
The spec indicates three bytes of CP Function Features, but both wireshark and ttcn3 expect only one byte. This makes sense because only eight CP F.F. flags are defined. Drop those two always-zero bytes, hence pass the wireshark dissector and ttcn3 parsing without warnings. Related: SYS#5599 Change-Id: Icda891a2f3401e58f142f229465403d5dc8befe5
2022-06-16libosmo-pfcp: implement/generate TLV and IE value codingNeels Hofmeyr1-0/+163
Related: SYS#5599 Change-Id: I3069045b2d42dac88d955c636230adc64a7a4aa7