TSG-18425 Proxy支持port object匹配 TSG-19090 Proxy支持Protocol Object匹配
This commit is contained in:
@@ -20,17 +20,26 @@ enum RESOURCE_TYPE
|
||||
DYNAMIC_FIELDSTAT,
|
||||
};
|
||||
|
||||
enum TABLE_TYPE
|
||||
enum scan_common_table
|
||||
{
|
||||
TABLE_SECURITY_SOURCE_ASN,
|
||||
TABLE_SECURITY_DESTINATION_ASN,
|
||||
TABLE_SECURITY_SOURCE_LOCATION,
|
||||
TABLE_SECURITY_DESTINATION_LOCATION,
|
||||
TABLE_OBJ_SUBSCRIBER_ID,
|
||||
TABLE_OBJ_APP_ID_DICT,
|
||||
TABLE_TYPE_MAX
|
||||
PXY_CTRL_SOURCE_IP,
|
||||
PXY_CTRL_DESTINATION_IP,
|
||||
PXY_CTRL_INTERNAL_IP,
|
||||
PXY_CTRL_EXTERNAL_IP,
|
||||
PXY_CTRL_SOURCE_PORT,
|
||||
PXY_CTRL_DESTINATION_PORT,
|
||||
PXY_CTRL_INTERNAL_PORT,
|
||||
PXY_CTRL_EXTERNAL_PORT,
|
||||
PXY_CTRL_IP_PROTOCOL,
|
||||
PXY_CTRL_SOURCE_ASN,
|
||||
PXY_CTRL_DESTINATION_ASN,
|
||||
PXY_CTRL_SOURCE_LOCATION,
|
||||
PXY_CTRL_DESTINATION_LOCATION,
|
||||
PXY_CTRL_SUBSCRIBER_ID,
|
||||
PXY_CTRL_APP_ID_DICT,
|
||||
__SCAN_COMMON_TABLE_MAX
|
||||
};
|
||||
|
||||
int tfe_bussiness_resouce_init();
|
||||
void *tfe_bussiness_resouce_get(enum RESOURCE_TYPE type);
|
||||
int tfe_bussiness_tableid_get(enum TABLE_TYPE type);
|
||||
int tfe_bussiness_tableid_get(enum scan_common_table type);
|
||||
@@ -11,4 +11,5 @@ int tfe_scan_ip_location(const struct tfe_stream *stream, long long *result, str
|
||||
int hit_cnt, void *logger, char **location_server, char **location_client);
|
||||
int tfe_scan_app_id(long long *result, struct maat_state *scan_mid, int hit_cnt, long long app_id, int table_id);
|
||||
int tfe_scan_ipv4_addr(const struct tfe_stream *stream, long long *result, struct maat_state *scan_mid, int hit_cnt, struct ipaddr sapp_addr);
|
||||
int tfe_scan_ipv6_addr(const struct tfe_stream *stream, long long *result, struct maat_state *scan_mid, int hit_cnt, struct ipaddr sapp_addr);
|
||||
int tfe_scan_ipv6_addr(const struct tfe_stream *stream, long long *result, struct maat_state *scan_mid, int hit_cnt, struct ipaddr sapp_addr);
|
||||
int tfe_scan_port(const struct tfe_stream *stream, long long *result, struct maat_state *scan_mid, int hit_cnt, uint16_t source, uint16_t dest);
|
||||
Reference in New Issue
Block a user