rrep2.c

#include "rrep.h"

ソースコードを見る。

関数

int recv_hello (struct event_queue_entry *working_packet)
void convert_rrep_to_host (struct rrep *tmp_rrep)
void convert_rrep_to_network (struct rrep *tmp_rrep)
int recv_rrep (struct event_queue_entry *working_packet)
int gen_rrep (u_int32_t src_ip, u_int32_t dst_ip, u_int32_t packet_src_ip, u_int32_t dst_seq, int grat_rrep)

変数

route_table_entry * g_my_entry
u_int32_t g_my_ip
u_int32_t g_broadcast_ip


関数

void convert_rrep_to_host (  struct rrep *  tmp_rrep  ) 
 

rrep2.c の 102 行で定義されています。

参照先 rrep::dst_seq・rrep::lifetime.

void convert_rrep_to_network (  struct rrep *  tmp_rrep  ) 
 

rrep2.c の 109 行で定義されています。

参照先 rrep::dst_seq・rrep::lifetime.

int gen_rrep (  u_int32_t  src_ip,
u_int32_t  dst_ip,
u_int32_t  packet_src_ip,
u_int32_t  dst_seq,
int  grat_rrep
) 
 

rrep2.c の 224 行で定義されています。

参照先 route_table_entry::dev・route_table_entry::dst_ip・rrep::dst_ip・route_table_entry::dst_seq・rrep::dst_seq・find_interface_by_dev()・find_route_table_entry()・g_broadcast_ip・getcurrtime()・route_table_entry::hop_count・rrep::hop_count・inet_ntoa()・insert_precursor_entry()・interface_list_entry::ip・route_table_entry::lifetime・rrep::lifetime・MY_ROUTE_TIMEOUT・NET_DIAMETER・route_table_entry::next_hop・send_message()・seq_greater()・rrep::src_ip・rrep::type.

int recv_hello (  struct event_queue_entry *  working_packet  ) 
 

rrep2.c の 38 行で定義されています。

参照先 create_neighbor_list_entry()・create_route_table_entry()・event_queue_entry::data・delete_kernel_route_entry()・delete_timer_queue_entry_of_id()・route_table_entry::dev・event_queue_entry::dev・neighbor_list_entry::dev・route_table_entry::dst_ip・rrep::dst_ip・rrep::dst_seq・route_table_entry::dst_seq・EVENT_NEIGHBOR・FALSE・find_neighbor_list_entry()・find_route_table_entry()・getcurrtime()・rrep::hop_count・route_table_entry::hop_count・neighbor_list_entry::hw_addr・insert_kernel_route_entry()・insert_timer_queue_entry()・neighbor_list_entry::ip・route_table_entry::lifetime・rrep::lifetime・MAX・route_table_entry::next_hop・neighbor_list_entry::route_entry・route_table_entry::route_seq_valid・route_table_entry::route_valid・event_queue_entry::src_hw_addr・event_queue_entry::src_ip・TRUE・update_timer_queue().

int recv_rrep (  struct event_queue_entry *  working_packet  ) 
 

rrep2.c の 122 行で定義されています。

参照先 ACTIVE_ROUTE_TIMEOUT・convert_rrep_to_host()・convert_rrep_to_network()・event_queue_entry::data・delete_timer_queue_entry_of_id()・event_queue_entry::dev・rrep::dst_ip・rrep::dst_seq・EVENT_RREQ・find_interface_by_dev()・find_route_table_entry()・rrep::hop_count・inet_ntoa()・insert_precursor_entry()・interface_list_entry::ip・NET_DIAMETER・route_table_entry::next_hop・recv_hello()・send_message()・event_queue_entry::size・rrep::src_ip・event_queue_entry::src_ip・update_route_entry().


変数

u_int32_t g_broadcast_ip
 

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

struct route_table_entry* g_my_entry
 

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

u_int32_t g_my_ip
 

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


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