TSG-13842 tsg-service-chaining-engine服务链中的SF需缓存第三方设备的目的IP和目的MAC
This commit is contained in:
@@ -19,7 +19,7 @@ struct g_vxlan
|
||||
|
||||
unsigned int dir_is_e2i : 1;
|
||||
unsigned int traffic_is_decrypted : 1;
|
||||
unsigned int chain_index : 5; // max value 32
|
||||
unsigned int next_sf_index : 5; // max value 32
|
||||
unsigned int online_test : 1;
|
||||
|
||||
// Reserved 1 Bytes
|
||||
@@ -34,11 +34,11 @@ struct g_vxlan
|
||||
} __attribute__((__packed__));
|
||||
|
||||
void g_vxlan_set_packet_dir(struct g_vxlan *hdr, int dir_is_e2i);
|
||||
void g_vxlan_set_chain_index(struct g_vxlan *hdr, int chain_index);
|
||||
void g_vxlan_set_next_sf_index(struct g_vxlan *hdr, int next_sf_index);
|
||||
void g_vxlan_set_traffic_type(struct g_vxlan *hdr, int traffic_is_decrypted);
|
||||
|
||||
int g_vxlan_get_packet_dir(struct g_vxlan *hdr);
|
||||
int g_vxlan_get_chain_index(struct g_vxlan *hdr);
|
||||
int g_vxlan_get_next_sf_index(struct g_vxlan *hdr);
|
||||
int g_vxlan_get_traffic_type(struct g_vxlan *hdr);
|
||||
|
||||
// return 0 : success
|
||||
|
||||
Reference in New Issue
Block a user