net

package
v0.10.1-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Copyright (c) Microsoft Corporation. Licensed under the Apache v2.0 license.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrement

func Decrement(ip net.IP) net.IP

func GetCIDR

func GetCIDR(startip, endip net.IP) (*net.IPNet, error)

func GetIPAddress

func GetIPAddress() (string, error)

func Increment

func Increment(ip net.IP) net.IP

func Not

func Not(ip net.IP) net.IP

func Or

func Or(ip, ip1 net.IP) net.IP

func ParseMAC

func ParseMAC(macString string) (net.HardwareAddr, error)

func PrefixesOverlap

func PrefixesOverlap(cidr1 net.IPNet, cidr2 net.IPNet) bool

func StringToNetIPAddress

func StringToNetIPAddress(ipString string) net.IP

Types

This section is empty.

Jump to

Keyboard shortcuts

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