dae/common/consts/routing.go

33 lines
830 B
Go
Raw Normal View History

2023-01-23 18:54:21 +07:00
/*
* SPDX-License-Identifier: AGPL-3.0-only
* Copyright (c) 2022-2024, daeuniverse Organization <dae@v2raya.org>
2023-01-23 18:54:21 +07:00
*/
package consts
type RoutingDomainKey string
2023-01-23 18:54:21 +07:00
const (
RoutingDomainKey_Full RoutingDomainKey = "full"
RoutingDomainKey_Keyword RoutingDomainKey = "keyword"
RoutingDomainKey_Suffix RoutingDomainKey = "suffix"
RoutingDomainKey_Regex RoutingDomainKey = "regex"
2023-01-23 18:54:21 +07:00
Function_Domain = "domain"
Function_Ip = "ip"
Function_SourceIp = "sip"
Function_Port = "port"
Function_SourcePort = "sport"
Function_L4Proto = "l4proto"
Function_IpVersion = "ipversion"
Function_Mac = "mac"
Function_ProcessName = "pname"
Function_Dscp = "dscp"
2023-01-27 01:10:27 +07:00
2023-02-25 01:38:21 +07:00
Function_QName = "qname"
Function_QType = "qtype"
Function_Upstream = "upstream"
OutboundParam_Mark = "mark"
2023-01-23 18:54:21 +07:00
)