TSG-13842 tsg-service-chaining-engine服务链中的SF需缓存第三方设备的目的IP和目的MAC
This commit is contained in:
@@ -28,6 +28,14 @@ int health_check_session_get_status(int session_id);
|
||||
// return -1 : key not exist
|
||||
int health_check_session_set_status(int session_id, int is_active);
|
||||
|
||||
// return 0 : success
|
||||
// return -1 : key not exist
|
||||
int health_check_session_get_ip(int session_id, char *ip_buff);
|
||||
|
||||
// return 0 : success
|
||||
// return -1 : key not exist
|
||||
int health_check_session_get_mac(int session_id, char *mac_buff);
|
||||
|
||||
void health_check_session_foreach();
|
||||
|
||||
#ifdef __cpluscplus
|
||||
|
||||
@@ -97,6 +97,10 @@ struct selected_sf
|
||||
|
||||
struct throughput_metrics rx;
|
||||
struct throughput_metrics tx;
|
||||
|
||||
char sf_dst_ip[16];
|
||||
char sf_dst_mac[32];
|
||||
int sf_index;
|
||||
};
|
||||
|
||||
struct selected_chaining
|
||||
|
||||
Reference in New Issue
Block a user