Documentation
¶
Index ¶
- func CompareCIDR(cidr1 *api.IPCIDR, cidr2 *api.IPCIDR) bool
- func CompareIPAddress(addr1 *api.IPAddress, addr2 *api.IPAddress) bool
- func CompareLink(link1 *api.Link, link2 *api.Link) bool
- func CompareLinkAddress(addr1 *api.LinkAddress, addr2 *api.LinkAddress) bool
- func CompareLinkAttributes(attr1 *api.LinkAttributes, attr2 *api.LinkAttributes) bool
- func CompareLinkMACAddress(addr1 *api.LinkMACAddress, addr2 *api.LinkMACAddress) bool
- func CompareMACAddress(addr1 *api.MACAddress, addr2 *api.MACAddress) bool
- func CompareSubnetMask(mask1 *api.IPMask, mask2 *api.IPMask) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompareCIDR ¶
Returns true if the CIDRs are equivalent. Otherwise returns false.
func CompareIPAddress ¶
Returns true if the IP addresses are equivalent. Otherwise returns false.
func CompareLink ¶
Returns true if the link objects are equivalent. Otherwise returns false.
func CompareLinkAddress ¶
func CompareLinkAddress(addr1 *api.LinkAddress, addr2 *api.LinkAddress) bool
Returns true if the link addresses are equivalent. Otherwise returns false.
func CompareLinkAttributes ¶
func CompareLinkAttributes(attr1 *api.LinkAttributes, attr2 *api.LinkAttributes) bool
Returns true if the link attributes are equivalent. Otherwise returns false.
func CompareLinkMACAddress ¶
func CompareLinkMACAddress(addr1 *api.LinkMACAddress, addr2 *api.LinkMACAddress) bool
Returns true if the link MAC addresses are equivalent. Otherwise returns false.
func CompareMACAddress ¶
func CompareMACAddress(addr1 *api.MACAddress, addr2 *api.MACAddress) bool
Returns true if the MAC addresses are equivalent. Otherwise returns false.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.