Fix trailing whitespace (#1451)
This commit is contained in:
parent
12bac7a917
commit
cc0d147f5c
|
@ -101,13 +101,13 @@ int ogs_diam_message_session_id_set(
|
|||
|
||||
/* Create an AVP to hold it */
|
||||
CHECK_FCT( fd_msg_avp_new( ogs_diam_session_id, 0, &avp ) );
|
||||
|
||||
|
||||
/* Set its value */
|
||||
memset(&val, 0, sizeof(val));
|
||||
val.os.data = sid;
|
||||
val.os.len = sidlen;
|
||||
CHECK_FCT( fd_msg_avp_setvalue( avp, &val ) );
|
||||
|
||||
|
||||
/* Add it to the message */
|
||||
CHECK_FCT( fd_msg_avp_add( msg, MSG_BRW_FIRST_CHILD, avp ) );
|
||||
|
||||
|
@ -162,7 +162,7 @@ int ogs_diam_message_vendor_specific_appid_set(struct msg *msg, uint32_t app_id)
|
|||
value.u32 = app_id;
|
||||
CHECK_FCT(
|
||||
fd_msg_avp_setvalue(avp_vendor_specific_application_id, &value) );
|
||||
CHECK_FCT( fd_msg_avp_add(avp, MSG_BRW_LAST_CHILD,
|
||||
CHECK_FCT( fd_msg_avp_add(avp, MSG_BRW_LAST_CHILD,
|
||||
avp_vendor_specific_application_id) );
|
||||
|
||||
CHECK_FCT( fd_msg_avp_add(msg, MSG_BRW_LAST_CHILD, avp) );
|
||||
|
|
|
@ -148,7 +148,7 @@ ED8(uint8_t treu:1;,
|
|||
* with multiple values.
|
||||
* 6/6 FRRT Sxb, N4
|
||||
* The UP function supports Framed Routing
|
||||
* (see IETF RFC 2865 [37] and IETF RFC 3162 [38]).
|
||||
* (see IETF RFC 2865 [37] and IETF RFC 3162 [38]).
|
||||
* 6/5 TRACE Sxa, Sxb, Sxc, N4
|
||||
* The UP function supports Trace (see clause 5.15).
|
||||
* 6/4 QUOAC Sxb, Sxc, N4
|
||||
|
@ -216,10 +216,10 @@ ED8(uint8_t gcom:1;,
|
|||
* 8/7 TSCU N4
|
||||
* Time Sensitive Communication is supported by the UPF (see clause 5.26).
|
||||
* 8/6 IP6PL N4
|
||||
* UPF supports:
|
||||
* UPF supports:
|
||||
* - UE IPv6 address(es) allocation with IPv6 prefix length other than
|
||||
* default /64 (including allocating /128 individual IPv6 addresses),
|
||||
* as specified in clause 4.6.2.2 of of 3GPP TS 23.316 [57]; and
|
||||
* as specified in clause 4.6.2.2 of of 3GPP TS 23.316 [57]; and
|
||||
* - multiple UE IPv6 addresses allocation using multiple instances
|
||||
* of the UE IP Address IE in a same PDI or Traffic Endpoint,
|
||||
* or using multiple PDIs or Traffic Endpoints
|
||||
|
@ -294,7 +294,7 @@ ED2(uint8_t reserved:7;,
|
|||
};
|
||||
} __attribute__ ((packed)) ogs_pfcp_up_function_features_t;
|
||||
|
||||
/*
|
||||
/*
|
||||
* 8.2.26 Apply Action
|
||||
*
|
||||
* Bit 1 – DROP (Drop): when set to 1, this indicates a request
|
||||
|
@ -1125,91 +1125,91 @@ int16_t ogs_pfcp_parse_dropped_dl_traffic_threshold(
|
|||
ogs_pfcp_dropped_dl_traffic_threshold_t *threshold,
|
||||
ogs_tlv_octet_t *octet);
|
||||
|
||||
/** 8.2.71 UR-SEQN
|
||||
*
|
||||
/** 8.2.71 UR-SEQN
|
||||
*
|
||||
* The UR-SEQN (Usage Report Sequence Number) IE identifies the order
|
||||
* in which a usage report is generated for a
|
||||
* given URR. It shall be encoded as shown in Figure 8.2.71-1.
|
||||
*
|
||||
* given URR. It shall be encoded as shown in Figure 8.2.71-1.
|
||||
*
|
||||
* The UR-SEQN value shall be encoded as an Unsigned32 binary integer value.
|
||||
*/
|
||||
typedef uint32_t ogs_pfcp_urr_ur_seqn_t;
|
||||
|
||||
/** 8.2.52 Start Time
|
||||
*
|
||||
*
|
||||
* The Start Time IE indicates the time at which the UP function started
|
||||
* to collect the charging information. It shall be encoded as shown
|
||||
* in Figure 8.2.52-1.
|
||||
*
|
||||
*
|
||||
* The Start Time field shall contain a UTC time. Octets 5 to 8 shall
|
||||
* be encoded in the same format as the first four octets
|
||||
* of the 64-bit timestamp format as defined in clause 6 of IETF RFC 5905 [12].
|
||||
*
|
||||
*
|
||||
* NOTE: The encoding is defined as the time in seconds relative to 00:00:00
|
||||
* on 1 January 1900.
|
||||
*/
|
||||
typedef uint32_t ogs_pfcp_start_time_t;
|
||||
|
||||
/** 8.2.53 End Time
|
||||
/** 8.2.53 End Time
|
||||
* The End Time IE indicates the time at which the UP function ended
|
||||
* to collect the charging information. It shall be encoded as shown
|
||||
* in Figure 8.2.53-1.
|
||||
*
|
||||
*
|
||||
* The End Time field shall contain a UTC time. Octets 5 to 8 shall be
|
||||
* encoded in the same format as the first four octets of the 64-bit timestamp
|
||||
* format as defined in clause 6 of IETF RFC 5905 [12].
|
||||
*
|
||||
*
|
||||
* NOTE: The encoding is defined as the time in seconds relative to 00:00:00
|
||||
* on 1 January 1900.
|
||||
*/
|
||||
typedef uint32_t ogs_pfcp_end_time_t;
|
||||
|
||||
/** 8.2.45 Duration Measurement
|
||||
*
|
||||
/** 8.2.45 Duration Measurement
|
||||
*
|
||||
* The Duration Measurement IE type shall be encoded as shown
|
||||
* in Figure 8.2.45-1. It contains the used time in seconds
|
||||
*
|
||||
* The Duration value shall be encoded as an Unsigned32 binary integer value.
|
||||
*
|
||||
* The Duration value shall be encoded as an Unsigned32 binary integer value.
|
||||
*/
|
||||
typedef uint32_t ogs_pfcp_duration_measurement_t;
|
||||
|
||||
/** 8.2.46 Time of First Packet
|
||||
*
|
||||
/** 8.2.46 Time of First Packet
|
||||
*
|
||||
* The Time of First Packet IE indicates the time stamp for the first
|
||||
* IP packet transmitted for a given usage report. It shall be encoded
|
||||
* as shown in Figure 8.2.46-1.
|
||||
*
|
||||
*
|
||||
* The End Time field shall contain a UTC time. Octets 5 to 8 shall
|
||||
* be encoded in the same format as the first four octets
|
||||
* of the 64-bit timestamp format as defined in clause 6 of IETF RFC 5905 [12].
|
||||
*
|
||||
* of the 64-bit timestamp format as defined in clause 6 of IETF RFC 5905 [12].
|
||||
*
|
||||
* NOTE: The encoding is defined as the time in seconds relative to 00:00:00
|
||||
* on 1 January 1900.
|
||||
*/
|
||||
typedef uint32_t ogs_pfcp_time_of_first_packet_t;
|
||||
|
||||
/** 8.2.47 Time of Last Packet
|
||||
*
|
||||
/** 8.2.47 Time of Last Packet
|
||||
*
|
||||
* The Time of Last Packet IE indicates the time stamp for the last
|
||||
* IP packet transmitted for a given usage report. It shall be encoded
|
||||
* as shown in Figure 8.2.47-1.
|
||||
*
|
||||
*
|
||||
* The End Time field shall contain a UTC time. Octets 5 to 8 shall
|
||||
* be encoded in the same format as the first four octets
|
||||
* of the 64-bit timestamp format as defined in clause 6 of IETF RFC 5905 [12].
|
||||
*
|
||||
* of the 64-bit timestamp format as defined in clause 6 of IETF RFC 5905 [12].
|
||||
*
|
||||
* NOTE: The encoding is defined as the time in seconds relative to 00:00:00
|
||||
* on 1 January 1900.
|
||||
*/
|
||||
typedef uint32_t ogs_pfcp_time_of_last_packet_t;
|
||||
|
||||
/** 8.2.44 Volume Measurement
|
||||
*
|
||||
/** 8.2.44 Volume Measurement
|
||||
*
|
||||
* The Volume Measurement IE contains the measured traffic volumes.
|
||||
* It shall be encoded as shown in Figure 8.2.44-1.
|
||||
*
|
||||
*
|
||||
* The following flags are coded within Octet 5:
|
||||
*
|
||||
*
|
||||
* - Bit 1 – TOVOL: If this bit is set to "1", then the Total Volume field
|
||||
* shall be present, otherwise the Total Volume field shall not be present.
|
||||
* - Bit 2 – ULVOL: If this bit is set to "1", then the Uplink Volume field
|
||||
|
@ -1226,9 +1226,9 @@ typedef uint32_t ogs_pfcp_time_of_last_packet_t;
|
|||
* of Packets field shall be present, otherwise the Downlink Number
|
||||
* of Packets field shall not be present.
|
||||
* - Bit 7 to bit 8: Spare, for future use and set to "0".
|
||||
*
|
||||
*
|
||||
* At least one bit shall be set to "1". Several bits may be set to "1".
|
||||
*
|
||||
*
|
||||
* The Total Volume, Uplink Volume and Downlink Volume fields shall be encoded
|
||||
* as an Unsigned64 binary integer value. They shall contain the total,
|
||||
* uplink or downlink number of octets respectively
|
||||
|
|
Loading…
Reference in New Issue