comparator

package
v0.0.0-...-798ae07 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 2, 2023 License: GPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompareCIDR

func CompareCIDR(cidr1 *api.IPCIDR, cidr2 *api.IPCIDR) bool

Returns true if the CIDRs are equivalent. Otherwise returns false.

func CompareIPAddress

func CompareIPAddress(addr1 *api.IPAddress, addr2 *api.IPAddress) bool

Returns true if the IP addresses are equivalent. Otherwise returns false.

func CompareLink(link1 *api.Link, link2 *api.Link) bool

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.

func CompareSubnetMask

func CompareSubnetMask(mask1 *api.IPMask, mask2 *api.IPMask) bool

Returns true if the subnet masks are equivalent. Otherwise returns false.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL