Lines Matching defs:keyid
309 int keyid;
343 keyid = ntohl(((u_int32 *)rpkt)[base_packet_length / 4]);
344 if (keyid != 0) {
350 * not (yet) be a keyid, but in this case FLAG_SKEY is set.
352 * if the keyid is 0 and FLAG_SKEY is not set.
354 if (!peer || (!peer->keyid && !(peer->flags & FLAG_SKEY))) {
1063 DPRINTF(1, ("receive: at %ld %s<-%s mode %d/%s:%s keyid %08x len %d auth %d org 0x%x.%08x xmt 0x%x.%08x CRYPTONAK\n",
1209 DPRINTF(1, ("receive: at %ld %s<-%s mode %d/%s:%s keyid %08x len %d auth %d org 0x%x.%08x xmt 0x%x.%08x MAC\n",
1229 if (0 != peer && 0 != peer->keyid) {
1237 if (peer->keyid != skeyid) {
1239 peer->keyid, skeyid,
1730 " with unknown peer %s mode %d/%s:%s keyid %08x len %d auth %d\n",
2217 } else if (!AUTH(peer->keyid || has_mac ||
2356 * then see if the sender's IP is trusted for this keyid.
2464 if (skeyid == peer->keyid)
4192 peer->keyid == 0) {
4309 peer->keyid = xkeyid;
4513 xkeyid = peer->keyid;
4551 DPRINTF(1, ("peer_xmit: at %ld %s->%s mode %d keyid %08x len %zu index %d\n",
4555 DPRINTF(1, ("peer_xmit: at %ld %s->%s mode %d keyid %08x len %zu\n",
4848 DPRINTF(1, ("fast_xmit: at %ld %s->%s mode %d keyid %08x len %lu\n",