package netutil

import "github.com/coreos/etcd/pkg/netutil"

Package netutil implements network-related utility functions.

Index

Functions

func DropPort

func DropPort(port int) error

DropPort drops all tcp packets that are received from the given port and sent to the given port.

func RecoverPort

func RecoverPort(port int) error

RecoverPort stops dropping tcp packets at given port.

func URLStringsEqual

func URLStringsEqual(a []string, b []string) bool

Source Files

isolate_linux.go netutil.go

Version
v2.3.0-alpha.1+incompatible
Published
Feb 17, 2016
Platform
linux/amd64
Imports
8 packages
Last checked
2 hours ago

Tools for package owners.