/* Kernel AODV v2.1 National Institute of Standards and Technology Luke Klein-Berndt ----------------------------------------------------- Version 2.1 new features: * Much more stable! * Added locks around important areas * Multihop Internet gatewaying now works * Multicast hack added * Many bug fixes! ----------------------------------------------------- Originally based upon MadHoc code. I am not sure how much of it is left anymore, but MadHoc proved to be a great starting point. MadHoc was written by - Fredrik Lilieblad, Oskar Mattsson, Petra Nylund, Dan Ouchterlony and Anders Roxenhag Mail: mad-hoc@flyinglinux.net This software is Open Source under the GNU General Public Licence. */ #include "rrep_ack.h" extern u_int64_t last_hello; extern u_int64_t avg_hello_response; void gen_rrep_ack( u_int32_t dst) { struct rrep_ack *tmp_ack; if ((tmp_ack = (struct rrep_ack*) kmalloc(sizeof (struct rrep_ack),GFP_ATOMIC)) == NULL) { #ifndef NO_ERROR printk("RREP_ACK: error with tmp_ack\n"); #endif } tmp_ack->type=4; send_message(dst,1, tmp_ack, sizeof(struct rrep_ack)); } int recv_rrep_ack(struct event_queue_entry *working_packet) { return 1; }