ICMPControlCode creates a value for the Code field in ICMPControl
(code uint8)
| 64 | |
| 65 | // ICMPControlCode creates a value for the Code field in ICMPControl |
| 66 | func ICMPControlCode(code uint8) *ICMPCode { |
| 67 | pCode := ICMPCode(code) |
| 68 | return &pCode |
| 69 | } |
| 70 | |
| 71 | // Last IP (broadcast) address in a network (net.IPNet) |
| 72 | func lastIP(n *net.IPNet) net.IP { |
no test coverage detected