MCPcopy Create free account
hub / github.com/SIPp/sipp / operator==

Function operator==

src/call.cpp:6882–6886  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6880};
6881
6882bool operator==(const struct sockaddr_in& a, const struct sockaddr_in &b) {
6883 return a.sin_family == b.sin_family
6884 && a.sin_port == b.sin_port
6885 && std::memcmp(&a.sin_addr, &b.sin_addr, sizeof(in_addr)) == 0;
6886}
6887
6888bool operator==(const struct sockaddr_in6& a, const struct sockaddr_in6 &b) {
6889 return a.sin6_family == b.sin6_family

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected