Searched refs:addr_perface (Results 1 – 1 of 1) sorted by relevance
/third_party/libcoap/src/ |
D | coap_session.c | 42 const char addr_perface[] = "::ffff:"; in loopback_packet_check() local 69 if (memcmp(src_buf, addr_perface, strlen(addr_perface)) == 0 && in loopback_packet_check() 70 strlen(src_buf) == strlen(tmp_buf) + strlen(addr_perface)) { in loopback_packet_check() 71 ret = memcmp(src_buf + strlen(addr_perface), tmp_buf, strlen(src_buf) - strlen(addr_perface)); in loopback_packet_check() 90 static int loopback_packet_compare_ip(const char *src_buf, const char *addr_perface, const char *tm… in loopback_packet_compare_ip() argument 92 if (memcmp(src_buf, addr_perface, strlen(addr_perface)) == 0 && in loopback_packet_compare_ip() 93 strlen(src_buf) == strlen(tmp_buf) + strlen(addr_perface)) { in loopback_packet_compare_ip() 94 ret = memcmp(src_buf + strlen(addr_perface), tmp_buf, strlen(src_buf) - strlen(addr_perface)); in loopback_packet_compare_ip() 106 const char addr_perface[] = "::ffff:"; in loopback_packet_check() local 137 ret = loopback_packet_compare_ip(src_buf, addr_perface, tmp_buf); in loopback_packet_check()
|