rerr.c

#include "rerr.h"

ソースコードを見る。

関数

void free_rerrhdr (struct rerrhdr *tmp_rerrhdr)
int send_rerr (struct rerrhdr *tmp_rerrhdr, u_int32_t sent_to)
int link_break (u_int32_t brk_dst_ip)
void route_expiry (struct route_table_entry *tmp_entry)
int host_unr (u_int32_t brk_dst_ip)
int recv_rerr (struct event_queue_entry *working_packet)
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 print_rerrhdr (struct rerrhdr *new_rerrhdr)

変数

u_int32_t g_broadcast_ip
u_int32_t g_my_ip


関数

int append_unr_dst (  struct rerrhdr *  tmp_rerrhdr,
u_int32_t  tmp_ip,
u_int32_t  tmp_dst_seq
) 
 

rerr.c の 341 行で定義されています。

参照先 rerrhdr::dst_count・rerr_unr_dst::next・rerrhdr::unr_dst・rerr_unr_dst::unr_dst_ip・rerr_unr_dst::unr_dst_seq.

参照元 link_break()・recv_rerr().

struct rerrhdr* create_rerrhdr (  u_int32_t  tmp_ip,
u_int32_t  tmp_dst_seq
) 
 

rerr.c の 295 行で定義されています。

参照先 rerrhdr::dst_count・rerr_unr_dst::next・rerrhdr::type・rerrhdr::unr_dst・rerr_unr_dst::unr_dst_ip・rerr_unr_dst::unr_dst_seq.

参照元 host_unr()・link_break()・recv_rerr().

void free_rerrhdr (  struct rerrhdr *  tmp_rerrhdr  ) 
 

rerr.c の 371 行で定義されています。

参照先 rerr_unr_dst::next・rerrhdr::unr_dst.

参照元 host_unr().

int host_unr (  u_int32_t  brk_dst_ip  ) 
 

rerr.c の 172 行で定義されています。

参照先 create_rerrhdr()・find_route_table_entry()・free_rerrhdr()・g_broadcast_ip・send_rerr().

参照元 packet_in().

int link_break (  u_int32_t  brk_dst_ip  ) 
 

rerr.c の 57 行で定義されています。

参照先 append_unr_dst()・create_rerrhdr()・delete_precursor_entry_from_route_table()・route_table_entry::dst_ip・route_table_entry::dst_seq・get_first_route_table_entry()・inet_ntoa()・precursor_entry::ip・precursor_entry::next・route_table_entry::next_hop・route_table_entry::precursors・route_expiry()・route_table_entry::route_valid.

参照元 find_inactive_route_table_entries().

void print_rerrhdr (  struct rerrhdr *  new_rerrhdr  ) 
 

rerr.c の 461 行で定義されています。

参照先 rerrhdr::dst_count・inet_ntoa()・rerr_unr_dst::next・rerrhdr::type・rerrhdr::unr_dst.

int recv_rerr (  struct event_queue_entry *  working_packet  ) 
 

rerr.c の 198 行で定義されています。

参照先 append_unr_dst()・create_rerrhdr()・event_queue_entry::data・delete_kernel_route_entry()・DELETE_PERIOD・event_queue_entry::dev・rerr::dst_count・route_table_entry::dst_ip・route_table_entry::dst_seq・FALSE・find_interface_by_dev()・find_route_table_entry()・getcurrtime()・inet_ntoa()・route_table_entry::lifetime・route_table_entry::next_hop・route_table_entry::precursors・route_table_entry::route_valid・route_table_entry::self_route・event_queue_entry::src_ip・rerrdst::unr_dst_ip・rerrdst::unr_dst_seq.

参照元 aodv().

void route_expiry (  struct route_table_entry *  tmp_entry  ) 
 

rerr.c の 151 行で定義されています。

参照先 delete_kernel_route_entry()・DELETE_PERIOD・route_table_entry::dst_ip・route_table_entry::dst_seq・FALSE・getcurrtime()・route_table_entry::lifetime・route_table_entry::next_hop・route_table_entry::route_valid.

参照元 find_inactive_route_table_entries()・link_break().

int send_rerr (  struct rerrhdr *  tmp_rerrhdr,
u_int32_t  sent_to
) 
 

rerr.c の 399 行で定義されています。

参照先 rerr::dst_count・rerrhdr::dst_count・inet_ntoa()・rerr_unr_dst::next・rerr::type・rerrhdr::unr_dst・rerr_unr_dst::unr_dst_ip・rerrdst::unr_dst_ip・rerr_unr_dst::unr_dst_seq・rerrdst::unr_dst_seq.

参照元 host_unr().


変数

u_int32_t g_broadcast_ip
 

module.c の 48 行で定義されています。

u_int32_t g_my_ip
 

module.c の 47 行で定義されています。


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