mn_data Struct Reference

#include <mn.h>

Collaboration diagram for mn_data:

Collaboration graph
[legend]

Detailed Description

Definition at line 347 of file mn.h.

Data Fields

int tunnel_up
int opt_connect
int registration_socket
interface_data iface [MAX_INTERFACES]
int device_count
int api_ro_socket
int api_rw_socket
int rtnetlink_socket
int dev_info_sock
sockaddr_un dev_info_addr
__u32 registration_id [2]
__u32 last_nonce
int clock_correction
current_route_info cur_route_info
timeval last_reg_send_time
in_addr local_addr
in_addr co_addr
in_addr force_fa_addr
__u16 req_lifetime
unsigned char * session_key
unsigned int session_key_len
enum mobile_state state
in_addr fa_addr
int expire_check
agent_adv_dynamics fa_dynamics_ext
agentadv_datacurrent_adv
int ha_error_count
__u8 last_reply_code
time_t last_reply_rcvd
time_t last_request_sent
in_addr tunnel_addr
int tunnel_mode
int use_auth_alg
hashtable * agentadv
char start_default_device [IFNAMSIZ]
char * info_str
char * warn_str
int prev_req_replied
fa_nai_ext * last_req_FA_NAI
unsigned long discarded_msgs
int HA_reg_retry_time
challenge_ext * last_challenge_ext
timeval last_challenge_time
int try_to_fix_sec_assoc
in_addr dynamic_home_addr
char dynamic_home_addr_dev [IFNAMSIZ]
int aaa_rekey
int home_net_route_set_via_fa
timeval last_scheduled_solicitation
int policy_bits
pid_t pcap_capturer


Field Documentation

int mn_data::tunnel_up

Definition at line 349 of file mn.h.

Referenced by connected(), find_agent(), mn_init(), request_tunnel(), restart_tunneling(), start_tunneling(), and stop_tunneling().

int mn_data::opt_connect

Definition at line 351 of file mn.h.

Referenced by mn_init(), and mn_parse_command_line().

int mn_data::registration_socket

Definition at line 352 of file mn.h.

Referenced by clean_up(), mn_init(), and send_registration().

struct interface_data mn_data::iface[MAX_INTERFACES]

Definition at line 354 of file mn.h.

Referenced by clean_up(), device_up(), handle_api(), handle_icmp(), mn_init(), and monitor_poll_ap_addresses().

int mn_data::device_count

Definition at line 355 of file mn.h.

Referenced by find_agent().

int mn_data::api_ro_socket

Definition at line 357 of file mn.h.

Referenced by clean_up(), and mn_init().

int mn_data::api_rw_socket

Definition at line 357 of file mn.h.

Referenced by clean_up(), mn_init(), and reply_waiting_api().

int mn_data::rtnetlink_socket

Definition at line 358 of file mn.h.

Referenced by clean_up(), and mn_init().

int mn_data::dev_info_sock

Definition at line 359 of file mn.h.

struct sockaddr_un mn_data::dev_info_addr

Definition at line 360 of file mn.h.

Referenced by mn_init().

__u32 mn_data::registration_id[2]

Definition at line 361 of file mn.h.

Referenced by mn_init(), and send_registration().

__u32 mn_data::last_nonce

Definition at line 363 of file mn.h.

Referenced by handle_registration(), and mn_init().

int mn_data::clock_correction

Definition at line 364 of file mn.h.

Referenced by mn_init().

struct current_route_info mn_data::cur_route_info

Definition at line 365 of file mn.h.

Referenced by disconnect(), mn_init(), and update_fa_decaps_routes().

struct timeval mn_data::last_reg_send_time

Definition at line 366 of file mn.h.

Referenced by handle_api(), mn_init(), request_tunnel(), and send_registration().

struct in_addr mn_data::local_addr

Definition at line 369 of file mn.h.

Referenced by close_for_home(), find_agent(), handle_api(), mn_init(), and mn_remove_dynamic_home_addr().

struct in_addr mn_data::co_addr

Definition at line 370 of file mn.h.

Referenced by close_for_home(), create_mobile(), find_agent(), and handle_api().

struct in_addr mn_data::force_fa_addr

Definition at line 371 of file mn.h.

Referenced by adv_ok_fa(), handle_icmp(), and mn_init().

__u16 mn_data::req_lifetime

Definition at line 373 of file mn.h.

Referenced by find_agent(), and send_messages().

unsigned char* mn_data::session_key

Definition at line 376 of file mn.h.

Referenced by clean_up(), close_for_home(), disconnect(), and mn_init().

unsigned int mn_data::session_key_len

Definition at line 377 of file mn.h.

Referenced by close_for_home(), disconnect(), and mn_init().

enum mobile_state mn_data::state

Definition at line 380 of file mn.h.

Referenced by at_home(), clean_up(), close_for_home(), connected(), disconnect(), find_agent(), handle_api(), mn_init(), passive_find(), and request_tunnel().

struct in_addr mn_data::fa_addr

Definition at line 381 of file mn.h.

Referenced by close_for_home(), connected(), find_agent(), mn_init(), request_tunnel(), send_registration(), and start_tunneling().

int mn_data::expire_check

Definition at line 383 of file mn.h.

struct agent_adv_dynamics mn_data::fa_dynamics_ext

Definition at line 388 of file mn.h.

struct agentadv_data* mn_data::current_adv

Definition at line 389 of file mn.h.

Referenced by clean_agentadv(), close_for_home(), connected(), degrade_current_fa_priority(), find_agent(), mn_init(), remove_fa_host_routes(), request_tunnel(), send_registration(), start_tunneling(), and stop_tunneling().

int mn_data::ha_error_count

Definition at line 392 of file mn.h.

Referenced by handle_api(), and mn_init().

__u8 mn_data::last_reply_code

Definition at line 393 of file mn.h.

Referenced by handle_registration().

time_t mn_data::last_reply_rcvd

Definition at line 394 of file mn.h.

Referenced by handle_registration().

time_t mn_data::last_request_sent

Definition at line 395 of file mn.h.

Referenced by send_registration().

struct in_addr mn_data::tunnel_addr

Definition at line 398 of file mn.h.

Referenced by connected(), restart_tunneling(), and start_tunneling().

int mn_data::tunnel_mode

Definition at line 399 of file mn.h.

Referenced by find_agent(), handle_api(), mn_init(), start_tunneling(), and stop_tunneling().

int mn_data::use_auth_alg

Definition at line 400 of file mn.h.

Referenced by mn_init().

struct hashtable* mn_data::agentadv

Definition at line 403 of file mn.h.

Referenced by check_expired_agent_advs(), clean_agentadv(), clean_up(), get_fa(), handle_icmp(), mn_init(), remove_fa_host_routes(), request_tunnel(), and send_registration().

char mn_data::start_default_device[IFNAMSIZ]

Definition at line 404 of file mn.h.

Referenced by mn_init().

char* mn_data::info_str

Definition at line 406 of file mn.h.

Referenced by connected(), and request_tunnel().

char* mn_data::warn_str

Definition at line 407 of file mn.h.

Referenced by connected(), and request_tunnel().

int mn_data::prev_req_replied

Definition at line 409 of file mn.h.

Referenced by handle_registration().

struct fa_nai_ext* mn_data::last_req_FA_NAI

Definition at line 411 of file mn.h.

Referenced by clean_up(), and mn_init().

unsigned long mn_data::discarded_msgs

Definition at line 412 of file mn.h.

Referenced by handle_registration().

int mn_data::HA_reg_retry_time

Definition at line 414 of file mn.h.

Referenced by close_for_home(), and request_tunnel().

struct challenge_ext* mn_data::last_challenge_ext

Definition at line 418 of file mn.h.

Referenced by handle_registration().

struct timeval mn_data::last_challenge_time

Definition at line 419 of file mn.h.

Referenced by handle_registration().

int mn_data::try_to_fix_sec_assoc

Definition at line 421 of file mn.h.

Referenced by handle_registration().

struct in_addr mn_data::dynamic_home_addr

Definition at line 426 of file mn.h.

Referenced by mn_remove_dynamic_home_addr().

char mn_data::dynamic_home_addr_dev[IFNAMSIZ]

Definition at line 427 of file mn.h.

Referenced by mn_remove_dynamic_home_addr().

int mn_data::aaa_rekey

Definition at line 429 of file mn.h.

int mn_data::home_net_route_set_via_fa

Definition at line 431 of file mn.h.

Referenced by update_fa_decaps_routes().

struct timeval mn_data::last_scheduled_solicitation

Definition at line 434 of file mn.h.

int mn_data::policy_bits

Definition at line 436 of file mn.h.

Referenced by mn_parse_command_line().

pid_t mn_data::pcap_capturer

Definition at line 438 of file mn.h.

Referenced by clean_up(), and mn_init().


The documentation for this struct was generated from the following file:
Generated on Tue Jan 15 08:50:55 2008 for Virtual foreign agent generator version 0.1 by  doxygen 1.5.1