Lines Matching +defs:one +defs:window +defs:p

138  *   - It has its own two routing tables: one is for IPv4 and the other IPv6
143 * - Normally one endpoint is used and the second one is used only on
252 * gethexdump(p, n)
254 * Allocate a string returning a hexdump of bytes p[0..n),
265 const uint8_t *p = vp;
275 snprintf(buf + 3*i, 3 + 1, " %02hhx", p[i]);
282 puthexdump(char *buf, const void *p, size_t n)
445 * Reset sliding window state to a blank history with no observed
460 * Do a fast check of the sliding window W to validate sequence
472 * If it's more than one window older than the highest sequence
491 * Check the sliding window W to validate sequence number S, and
505 * If it's more than one window older than the highest sequence
513 * advance the window.
570 struct sliwin window;
1145 uint8_t one[1];
1159 one[0] = 1;
1161 one, sizeof(one));
1559 * can undo itself until both sides have given up and one side is
1770 * INIT message is identical to the previous one.
1938 WG_TRACE("Session already initializing, skip starting new one");
2141 * and make the other one the unstable session to handle
2377 * Swap the sessions to publish the new one as the stable
2606 sliwin_reset(&wgs->wgs_recvwin->window);
2965 error = sliwin_check_fast(&wgs->wgs_recvwin->window,
2969 "%s: peer %s: out-of-window packet: %"PRIu64"\n",
3033 error = sliwin_update(&wgs->wgs_recvwin->window,
3038 "%s: peer %s: replay or out-of-window packet: %"PRIu64"\n",
3371 * to initiate a new one -- unless the rekey-after-time or
3462 * Swap the sessions to publish the new one as the stable
3516 * If theres's any previous unstable session, i.e., one that
4540 * one second every 136 years. All of this is very silly, of
4681 log(LOG_DEBUG, "pubkey=%p, pubkey_len=%zu\n%s\n",
4840 WG_DLOG("buf=%p, len=%zu\n", ifd->ifd_data, ifd->ifd_len);
4880 log(LOG_DEBUG, "privkey=%p, privkey_len=%zu\n%s\n",