(ip []byte)
| 67 | } |
| 68 | |
| 69 | func (node *trieEntry) choose(ip []byte) byte { |
| 70 | return (ip[node.bitAtByte] >> node.bitAtShift) & 1 |
| 71 | } |
| 72 | |
| 73 | func (node *trieEntry) maskSelf() { |
| 74 | mask := net.CIDRMask(int(node.cidr), len(node.bits)*8) |
no outgoing calls
no test coverage detected