MCPcopy Create free account
hub / github.com/cloudfoundry/garden / ICMPControl

Struct ICMPControl

net_out_rule.go:45–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43type ICMPCode uint8
44
45type ICMPControl struct {
46 Type ICMPType `json:"type,omitempty"`
47 Code *ICMPCode `json:"code,omitempty"`
48}
49
50// IPRangeFromIP creates an IPRange containing a single IP
51func IPRangeFromIP(ip net.IP) IPRange {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected