(ipp netip.Prefix)
| 689 | } |
| 690 | |
| 691 | func ipPrefixToAddressWithPrefix(ipp netip.Prefix) tcpip.AddressWithPrefix { |
| 692 | return tcpip.AddressWithPrefix{ |
| 693 | Address: tcpip.AddrFromSlice(ipp.Addr().AsSlice()), |
| 694 | PrefixLen: int(ipp.Bits()), |
| 695 | } |
| 696 | } |
| 697 | |
| 698 | var v4broadcast = netaddr.IPv4(255, 255, 255, 255) |
| 699 |
no test coverage detected
searching dependent graphs…