?? rerr.h
字號:
#ifndef RERR_H#define RERR_H#include <linux/module.h>#include <linux/kernel.h>#include <linux/skbuff.h>#include <linux/in.h>#include "aodv.h"#include "event_queue.h"#include "route_table.h"#include "utils.h"int link_break( u_int32_t brk_dst_ip);int recv_rerr(struct event_queue_entry *working_packet);struct rerrhdr* create_rerrhdr(u_int32_t tmp_ip, u_int32_t tmp_dst_seq);int append_unr_dst(struct rerrhdr *tmp_rerrhdr, u_int32_t tmp_ip,u_int32_t tmp_dst_seq);void free_rerrhdr(struct rerrhdr *tmp_rerrhdr);int send_rerr(struct rerrhdr *tmp_rerrhdr, u_int32_t sent_to);void route_expiry(struct route_table_entry *tmp_rtentry);void print_rerrhdr(struct rerrhdr *new_rerrhdr);int host_unr(u_int32_t brk_dst_ip);#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -