fea: switch: support router network

This commit is contained in:
Daniel Ding
2023-09-26 15:30:04 +08:00
parent baec14f05e
commit a15a737e2c
11 changed files with 356 additions and 158 deletions

11
pkg/config/router.go Normal file
View File

@@ -0,0 +1,11 @@
package config
type RouterSpecifies struct {
Mss int `json:"tcpMss,omitempty"`
Name string `json:"name,omitempty"`
Link string `json:"link,omitempty"`
Subnets []Subnet `json:"subnets"`
}
func (n *RouterSpecifies) Correct() {
}