Returns True if address belongs to global multicast address space (224.0.1.0-238.255.255.255).
(str)
| 867 | |
| 868 | |
| 869 | def in4_ismgladdr(str): |
| 870 | # type: (str) -> bool |
| 871 | """ |
| 872 | Returns True if address belongs to global multicast address |
| 873 | space (224.0.1.0-238.255.255.255). |
| 874 | """ |
| 875 | return ( |
| 876 | in4_isincluded(str, "224.0.0.0", 4) and |
| 877 | not in4_isincluded(str, "224.0.0.0", 24) and |
| 878 | not in4_isincluded(str, "239.0.0.0", 8) |
| 879 | ) |
| 880 | |
| 881 | |
| 882 | def in4_ismlsaddr(str): |
nothing calls this directly
no test coverage detected
searching dependent graphs…