Lines Matching defs:ru
1405 isakmp_info_recv_r_u (iph1, ru, msgid)
1407 struct isakmp_pl_ru *ru;
1435 memcpy(ru_ack->i_ck, ru->i_ck, sizeof(cookie_t));
1436 memcpy(ru_ack->r_ck, ru->r_ck, sizeof(cookie_t));
1437 ru_ack->data = ru->data;
1451 isakmp_info_recv_r_u_ack (iph1, ru, msgid)
1453 struct isakmp_pl_ru *ru;
1461 seq = ntohl(ru->data);
1469 if (memcmp(ru->i_ck, iph1->index.i_ck, sizeof(cookie_t)) ||
1470 memcmp(ru->r_ck, iph1->index.r_ck, sizeof(cookie_t))) {
1499 struct isakmp_pl_ru *ru;
1533 tlen = sizeof(*ru);
1540 ru = (struct isakmp_pl_ru *)payload->v;
1541 ru->h.np = ISAKMP_NPTYPE_NONE;
1542 ru->h.len = htons(tlen);
1543 ru->doi = htonl(IPSEC_DOI);
1544 ru->type = htons(ISAKMP_NTYPE_R_U_THERE);
1545 ru->proto_id = IPSECDOI_PROTO_ISAKMP; /* XXX ?*/
1546 ru->spi_size = sizeof(isakmp_index);
1548 memcpy(ru->i_ck, iph1->index.i_ck, sizeof(cookie_t));
1549 memcpy(ru->r_ck, iph1->index.r_ck, sizeof(cookie_t));
1558 ru->data = htonl(iph1->dpd_seq);