rrep_ack.c

説明を見る。
00001 /*
00002                Kernel AODV  v2.1
00003 National Institute of Standards and Technology
00004                Luke Klein-Berndt
00005 -----------------------------------------------------
00006   Version 2.1 new features:
00007      * Much more stable!
00008      * Added locks around important areas
00009      * Multihop Internet gatewaying now works
00010      * Multicast hack added
00011      * Many bug fixes!
00012 -----------------------------------------------------
00013 
00014 Originally based upon MadHoc code. I am not
00015 sure how much of it is left anymore, but MadHoc
00016 proved to be a great starting point.
00017 
00018 MadHoc was written by - Fredrik Lilieblad,
00019 Oskar Mattsson, Petra Nylund, Dan Ouchterlony
00020 and Anders Roxenhag Mail: mad-hoc@flyinglinux.net
00021 
00022 This software is Open Source under the GNU General Public Licence.
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 }

kernel_aodvmに対してThu Nov 10 18:53:11 2005に生成されました。  doxygen 1.4.5