mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-05-03 10:48:41 +00:00
Add uid and app status in routing rule
This commit is contained in:
parent
707efd6d12
commit
16d96aa54d
12 changed files with 429 additions and 133 deletions
|
@ -48,6 +48,11 @@ type Inbound struct {
|
|||
Conn net.Conn
|
||||
// Timer of the inbound buf copier. May be nil.
|
||||
Timer *signal.ActivityTimer
|
||||
|
||||
// Uid is the unix user id for the inbound connection
|
||||
Uid uint32
|
||||
// SagerNet private: AppStatus is the android app's status for the inbound connection
|
||||
AppStatus []string
|
||||
}
|
||||
|
||||
// Outbound is the metadata of an outbound connection.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue