?? rrep_ack.c
字號:
/*************************************************************************** rrep_ack.c - description ------------------- begin : Tue Nov 18 2003 copyright : (C) 2003 by Luke Klein-Berndt email : kleinb@nist.gov ***************************************************************************/#include "rrep_ack.h"extern u_int64_t g_last_hello;void gen_rrep_ack( rrep *tmp_rrep, task *tmp_packet){ rrep_ack *tmp_ack; aodv_route *tmp_route; if ((tmp_ack = (rrep_ack*) kmalloc(sizeof (rrep_ack),GFP_ATOMIC)) == NULL) { printk("RREP_ACK: error with tmp_ack\n"); return; } tmp_ack->type=4; send_message(tmp_rrep->src_ip,1, tmp_ack, sizeof(rrep_ack), tmp_packet->dev); kfree( tmp_ack);}int recv_rrep_ack(task *working_packet){ return 1;}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -