diff options
| author | liuxueli <[email protected]> | 2022-12-23 11:54:29 +0800 |
|---|---|---|
| committer | liuxueli <[email protected]> | 2022-12-29 18:02:55 +0800 |
| commit | b5fbd190f1b4eebc784d0f0995ddb4d03972f96d (patch) | |
| tree | ac99953ebb771536ebe39a3570dc62dfacd8d427 /inc | |
| parent | 0def1fe0238286ba9af88e622f20dadc89d7fdbf (diff) | |
TSG-12885: 安全策略支持drop动作中包含send reset/send icmp子动作,reset动作向前兼容
Diffstat (limited to 'inc')
| -rw-r--r-- | inc/tsg_rule.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/tsg_rule.h b/inc/tsg_rule.h index af88866..3545288 100644 --- a/inc/tsg_rule.h +++ b/inc/tsg_rule.h @@ -64,7 +64,8 @@ struct Maat_rule_t *tsg_fetch_deny_rule(Maat_rule_t *result, int result_num); enum ACTION_RETURN_TYPE { ACTION_RETURN_TYPE_PROT=0, - ACTION_RETURN_TYPE_APP + ACTION_RETURN_TYPE_APP, + ACTION_RETURN_TYPE_TCPALL }; unsigned char tsg_deal_deny_action(const struct streaminfo *a_stream, Maat_rule_t *p_result, tsg_protocol_t protocol, enum ACTION_RETURN_TYPE type, const void *user_data); |
