Type returns the ICMPv6 type field.
()
| 123 | |
| 124 | // Type returns the ICMPv6 type field. |
| 125 | func (a ICMPv6TypeCode) Type() uint8 { |
| 126 | return uint8(a >> 8) |
| 127 | } |
| 128 | |
| 129 | // Code returns the ICMPv6 code field. |
| 130 | func (a ICMPv6TypeCode) Code() uint8 { |
no outgoing calls