Documentation ¶
Overview ¶
This whole file is from https://github.com/digitalocean/go-openvswitch/blob/master/ovs/portrange.go
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrInvalidPortRange is returned when there's a port range that invalid. ErrInvalidPortRange = errors.New("invalid port range") )
Functions ¶
This section is empty.
Types ¶
type BitRange ¶
A BitRange is a representation of a range of values from base value with a bitmask applied.
type PortRange ¶
An PortRange represents a range of ports expressed in 16 bit integers. The start and end values of this range are inclusive.
func (*PortRange) BitwiseMatch ¶
BitwiseMatch returns an array of BitRanges that represent the range of integers in the PortRange.
Click to show internal directories.
Click to hide internal directories.