HasMore returns true if packet has More flag set
()
| 320 | |
| 321 | // HasMore returns true if packet has More flag set |
| 322 | func (n NTPControlMsgHead) HasMore() bool { |
| 323 | return n.REMOp&0x20 != 0 // more flag, bit 5 |
| 324 | } |
| 325 | |
| 326 | // GetOperation returns int operation extracted from REMOp 8bit word |
| 327 | func (n NTPControlMsgHead) GetOperation() uint8 { |
no outgoing calls