00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026 #include "rrep_ack.h"
00027
00028 extern u_int64_t last_hello;
00029 extern u_int64_t avg_hello_response;
00030
00031 void gen_rrep_ack( u_int32_t dst)
00032 {
00033 struct rrep_ack *tmp_ack;
00034
00035 if ((tmp_ack = (struct rrep_ack*) kmalloc(sizeof (struct rrep_ack),GFP_ATOMIC)) == NULL)
00036 {
00037 #ifndef NO_ERROR
00038 printk("RREP_ACK: error with tmp_ack\n");
00039 #endif
00040 }
00041
00042 tmp_ack->type=4;
00043 send_message(dst,1, tmp_ack, sizeof(struct rrep_ack));
00044
00045 }
00046
00047 int recv_rrep_ack(struct event_queue_entry *working_packet)
00048 {
00049
00050 return 1;
00051
00052 }