mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-21 01:36:46 +00:00
23 lines
537 B
Go
23 lines
537 B
Go
package manager
|
|
|
|
// Protocol is the protocol of the port
|
|
// todo Move Protocol and Port and RouterPair to the Firwall package or a separate package
|
|
type Protocol string
|
|
|
|
const (
|
|
// ProtocolTCP is the TCP protocol
|
|
ProtocolTCP Protocol = "tcp"
|
|
|
|
// ProtocolUDP is the UDP protocol
|
|
ProtocolUDP Protocol = "udp"
|
|
|
|
// ProtocolICMP is the ICMP protocol
|
|
ProtocolICMP Protocol = "icmp"
|
|
|
|
// ProtocolALL cover all supported protocols
|
|
ProtocolALL Protocol = "all"
|
|
|
|
// ProtocolUnknown unknown protocol
|
|
ProtocolUnknown Protocol = "unknown"
|
|
)
|