| 106 | } |
| 107 | |
| 108 | static bool IsRFC5737(const struct wireaddr *addr) |
| 109 | { |
| 110 | return IsIPv4(addr) && ((GetByte(addr, 3) == 192 && GetByte(addr, 2) == 0 && GetByte(addr, 1) == 2) || |
| 111 | (GetByte(addr, 3) == 198 && GetByte(addr, 2) == 51 && GetByte(addr, 1) == 100) || |
| 112 | (GetByte(addr, 3) == 203 && GetByte(addr, 2) == 0 && GetByte(addr, 1) == 113)); |
| 113 | } |
| 114 | |
| 115 | static bool IsRFC3849(const struct wireaddr *addr) |
| 116 | { |
no test coverage detected