Lines Matching defs:WG_DLOG
226 #define WG_DLOG(fmt, args...) do { \
231 #define WG_DLOG(fmt, args...) __nothing
1346 WG_DLOG("session[L=%"PRIx32" R=%"PRIx32"] -> WGS_STATE_UNKNOWN\n",
1525 WG_DLOG("%s: sender=%x\n", __func__, wgs->wgs_local_index);
1618 WG_DLOG("mac1 is invalid\n");
1668 WG_DLOG("peer not found\n");
1708 WG_DLOG("mac2 is invalid\n");
1825 WG_DLOG("session[L=%"PRIx32" R=%"PRIx32"]:"
1845 WG_DLOG("session[L=%"PRIx32" R=%"PRIx32"] -> WGS_STATE_INIT_PASSIVE\n",
1913 WG_DLOG("send handshake msg to %s\n", addr);
1968 WG_DLOG("session[L=%"PRIx32" R=(unknown)] -> WGS_STATE_INIT_ACTIVE\n",
1990 WG_DLOG("send_hs_msg failed, error=%d\n", error);
2097 WG_DLOG("sender=%x\n", wgs->wgs_local_index);
2098 WG_DLOG("receiver=%x\n", wgs->wgs_remote_index);
2182 WG_DLOG("session[L=%"PRIx32" R=%"PRIx32"]"
2220 WG_DLOG("mac1 is invalid\n");
2269 WG_DLOG("mac2 is invalid\n");
2336 WG_DLOG("receiver=%x\n", wgs->wgs_remote_index);
2353 WG_DLOG("session[L=%"PRIx32" R=%"PRIx32"]:"
2366 WG_DLOG("session[L=%"PRIx32" R=%"PRIx32" -> WGS_STATE_ESTABLISHED\n",
2412 WG_DLOG("send_hs_msg failed, error=%d\n", error);
2521 WG_DLOG("send_hs_msg failed, error=%d\n", error);
2675 WG_DLOG("tasks=%d, task=%d\n", wgp->wgp_tasks, task);
2711 WG_DLOG("decrypted_len=%zu < %zu\n", decrypted_len,
2722 WG_DLOG("ip_v=%d\n", ip->ip_v);
2726 WG_DLOG("af=%d\n", *af);
2739 WG_DLOG("decrypted_len=%zu < %zu\n", decrypted_len,
2754 WG_DLOG("packet_len %u > decrypted_len %zu\n", packet_len,
2832 WG_DLOG("session dtor already pending\n");
2836 WG_DLOG("scheduling session dtor in %u secs\n", wg_reject_after_time);
2874 WG_DLOG("old=%s, new=%s\n", oldaddr, newaddr);
2950 WG_DLOG("session %"PRIx32" too old, %"PRIu32" sec\n",
2979 WG_DLOG("Short encrypted_len: %zu\n", encrypted_len);
2988 WG_DLOG("failed to allocate encrypted_buf\n");
3006 WG_DLOG("couldn't handle larger data than MCLBYTES\n");
3011 WG_DLOG("wg_get_mbuf failed\n");
3017 WG_DLOG("mlen=%zu, encrypted_len=%zu\n", mlen, encrypted_len);
3029 WG_DLOG("outsize=%u\n", (u_int)decrypted_len);
3129 WG_DLOG("time_uptime32=%"PRIu32
3254 WG_DLOG("Invalid msg size: mbuflen=%zu type=%u\n", mbuflen,
3453 WG_DLOG("session[L=%"PRIx32" R=%"PRIx32"] -> WGS_STATE_ESTABLISHED\n",
3526 WG_DLOG("destroying past session %"PRIu32" sec old\n", age);
3544 WG_DLOG("destroying current session %"PRIu32" sec old\n", age);
3714 WG_DLOG("type=%d\n", le32toh(wgm.wgm_type));
3784 WG_DLOG("The session hits REJECT_AFTER_TIME\n");
3788 WG_DLOG("The session hits REJECT_AFTER_MESSAGES\n");
4288 WG_DLOG("sa=%s\n", addrstr);
4323 WG_DLOG("counter=%"PRIu64"\n", le64toh(wgmd->wgmd_counter));
4482 WG_DLOG("inner=%zu, padded=%zu, encrypted_len=%zu\n",
4518 WG_DLOG("send_data_msg failed, error=%d\n", error);
4732 WG_DLOG("addr=%s\n", addrstr);
4777 WG_DLOG("addr=%s/%d\n", addrstr, wga->wga_cidr);
4805 WG_DLOG("addr=%s/%d\n", addrstr, wga->wga_cidr);
4840 WG_DLOG("buf=%p, len=%zu\n", ifd->ifd_data, ifd->ifd_len);
5475 WG_DLOG("send handshake msg to %s\n", addr);
5595 WG_DLOG("iov_len=%zu\n", iov[1].iov_len);
5600 WG_DLOG("wg_output failed, error=%d\n", error);
5623 WG_DLOG("iov_len=%zu\n", iov[1].iov_len);