intrte_meter_srtcm_profile_config(structrte_meter_srtcm_profile*p,structrte_meter_srtcm_params*params)
srTCM profile configuration
Parametersp Pointer to pre-allocated srTCM profile data structure
params srTCM profile parameters
Returns
0 upon success, error code otherwise
intrte_meter_trtcm_profile_config(structrte_meter_trtcm_profile*p,structrte_meter_trtcm_params*params)
trTCM profile configuration
Parametersp Pointer to pre-allocated trTCM profile data structure
params trTCM profile parameters
Returns
0 upon success, error code otherwise
intrte_meter_trtcm_rfc4115_profile_config(structrte_meter_trtcm_rfc4115_profile*p,structrte_meter_trtcm_rfc4115_params*params)
trTCM RFC 4115 profile configuration
Parametersp Pointer to pre-allocated trTCM profile data structure
params trTCM profile parameters
Returns
0 upon success, error code otherwise
intrte_meter_srtcm_config(structrte_meter_srtcm*m,structrte_meter_srtcm_profile*p)
srTCM configuration per metered traffic flow
Parametersm Pointer to pre-allocated srTCM data structure
p srTCM profile. Needs to be valid.
Returns
0 upon success, error code otherwise
intrte_meter_trtcm_config(structrte_meter_trtcm*m,structrte_meter_trtcm_profile*p)
trTCM configuration per metered traffic flow
Parametersm Pointer to pre-allocated trTCM data structure
p trTCM profile. Needs to be valid.
Returns
0 upon success, error code otherwise
intrte_meter_trtcm_rfc4115_config(structrte_meter_trtcm_rfc4115*m,structrte_meter_trtcm_rfc4115_profile*p)
trTCM RFC 4115 configuration per metered traffic flow
Parametersm Pointer to pre-allocated trTCM data structure
p trTCM profile. Needs to be valid.
Returns
0 upon success, error code otherwise
staticenumrte_colorrte_meter_srtcm_color_blind_check(structrte_meter_srtcm*m,structrte_meter_srtcm_profile*p,uint64_ttime,uint32_tpkt_len)[inline],[static]
srTCM color blind traffic metering
Parametersm Handle to srTCM instance
p srTCM profile specified at srTCM object creation time
time Current CPU time stamp (measured in CPU cycles)
pkt_len Length of the current IP packet (measured in bytes)
Returns
Color assigned to the current IP packet
Definition at line 397 of file rte_meter.h.
staticenumrte_colorrte_meter_srtcm_color_aware_check(structrte_meter_srtcm*m,structrte_meter_srtcm_profile*p,uint64_ttime,uint32_tpkt_len,enumrte_colorpkt_color)[inline],[static]
srTCM color aware traffic metering
Parametersm Handle to srTCM instance
p srTCM profile specified at srTCM object creation time
time Current CPU time stamp (measured in CPU cycles)
pkt_len Length of the current IP packet (measured in bytes)
pkt_color Input color of the current IP packet
Returns
Color assigned to the current IP packet
Definition at line 438 of file rte_meter.h.
staticenumrte_colorrte_meter_trtcm_color_blind_check(structrte_meter_trtcm*m,structrte_meter_trtcm_profile*p,uint64_ttime,uint32_tpkt_len)[inline],[static]
trTCM color blind traffic metering
Parametersm Handle to trTCM instance
p trTCM profile specified at trTCM object creation time
time Current CPU time stamp (measured in CPU cycles)
pkt_len Length of the current IP packet (measured in bytes)
Returns
Color assigned to the current IP packet
Definition at line 480 of file rte_meter.h.
staticenumrte_colorrte_meter_trtcm_color_aware_check(structrte_meter_trtcm*m,structrte_meter_trtcm_profile*p,uint64_ttime,uint32_tpkt_len,enumrte_colorpkt_color)[inline],[static]
trTCM color aware traffic metering
Parametersm Handle to trTCM instance
p trTCM profile specified at trTCM object creation time
time Current CPU time stamp (measured in CPU cycles)
pkt_len Length of the current IP packet (measured in bytes)
pkt_color Input color of the current IP packet
Returns
Color assigned to the current IP packet
Definition at line 522 of file rte_meter.h.
staticenumrte_colorrte_meter_trtcm_rfc4115_color_blind_check(structrte_meter_trtcm_rfc4115*m,structrte_meter_trtcm_rfc4115_profile*p,uint64_ttime,uint32_tpkt_len)[inline],[static]
trTCM RFC4115 color blind traffic metering
Parametersm Handle to trTCM instance
p trTCM profile specified at trTCM object creation time
time Current CPU time stamp (measured in CPU cycles)
pkt_len Length of the current IP packet (measured in bytes)
Returns
Color assigned to the current IP packet
Definition at line 565 of file rte_meter.h.
staticenumrte_colorrte_meter_trtcm_rfc4115_color_aware_check(structrte_meter_trtcm_rfc4115*m,structrte_meter_trtcm_rfc4115_profile*p,uint64_ttime,uint32_tpkt_len,enumrte_colorpkt_color)[inline],[static]
trTCM RFC4115 color aware traffic metering
Parametersm Handle to trTCM instance
p trTCM profile specified at trTCM object creation time
time Current CPU time stamp (measured in CPU cycles)
pkt_len Length of the current IP packet (measured in bytes)
pkt_color Input color of the current IP packet
Returns
Color assigned to the current IP packet
Definition at line 608 of file rte_meter.h.