Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
routing.c File Reference
#include "main.h"
#include "routing.h"
#include "send.h"
#include "soft-interface.h"
#include "hard-interface.h"
#include "icmp_socket.h"
#include "translation-table.h"
#include "originator.h"
#include "vis.h"
#include "unicast.h"
#include "bridge_loop_avoidance.h"

Go to the source code of this file.

Functions

void batadv_slide_own_bcast_window (struct batadv_hard_iface *hard_iface)
 
void batadv_update_route (struct batadv_priv *bat_priv, struct batadv_orig_node *orig_node, struct batadv_neigh_node *neigh_node)
 
void batadv_bonding_candidate_del (struct batadv_orig_node *orig_node, struct batadv_neigh_node *neigh_node)
 
void batadv_bonding_candidate_add (struct batadv_orig_node *orig_node, struct batadv_neigh_node *neigh_node)
 
void batadv_bonding_save_primary (const struct batadv_orig_node *orig_node, struct batadv_orig_node *orig_neigh_node, const struct batadv_ogm_packet *batman_ogm_packet)
 
int batadv_window_protected (struct batadv_priv *bat_priv, int32_t seq_num_diff, unsigned long *last_reset)
 
bool batadv_check_management_packet (struct sk_buff *skb, struct batadv_hard_iface *hard_iface, int header_len)
 
int batadv_recv_icmp_packet (struct sk_buff *skb, struct batadv_hard_iface *recv_if)
 
int batadv_recv_tt_query (struct sk_buff *skb, struct batadv_hard_iface *recv_if)
 
int batadv_recv_roam_adv (struct sk_buff *skb, struct batadv_hard_iface *recv_if)
 
struct batadv_neigh_nodebatadv_find_router (struct batadv_priv *bat_priv, struct batadv_orig_node *orig_node, const struct batadv_hard_iface *recv_if)
 
int batadv_recv_unicast_packet (struct sk_buff *skb, struct batadv_hard_iface *recv_if)
 
int batadv_recv_ucast_frag_packet (struct sk_buff *skb, struct batadv_hard_iface *recv_if)
 
int batadv_recv_bcast_packet (struct sk_buff *skb, struct batadv_hard_iface *recv_if)
 
int batadv_recv_vis_packet (struct sk_buff *skb, struct batadv_hard_iface *recv_if)
 

Function Documentation

void batadv_bonding_candidate_add ( struct batadv_orig_node orig_node,
struct batadv_neigh_node neigh_node 
)

Definition at line 146 of file routing.c.

void batadv_bonding_candidate_del ( struct batadv_orig_node orig_node,
struct batadv_neigh_node neigh_node 
)

Definition at line 130 of file routing.c.

void batadv_bonding_save_primary ( const struct batadv_orig_node orig_node,
struct batadv_orig_node orig_neigh_node,
const struct batadv_ogm_packet batman_ogm_packet 
)

Definition at line 219 of file routing.c.

bool batadv_check_management_packet ( struct sk_buff skb,
struct batadv_hard_iface hard_iface,
int  header_len 
)

Definition at line 251 of file routing.c.

struct batadv_neigh_node* batadv_find_router ( struct batadv_priv bat_priv,
struct batadv_orig_node orig_node,
const struct batadv_hard_iface recv_if 
)
read

Definition at line 750 of file routing.c.

int batadv_recv_bcast_packet ( struct sk_buff skb,
struct batadv_hard_iface recv_if 
)

Definition at line 1062 of file routing.c.

int batadv_recv_icmp_packet ( struct sk_buff skb,
struct batadv_hard_iface recv_if 
)

Definition at line 393 of file routing.c.

int batadv_recv_roam_adv ( struct sk_buff skb,
struct batadv_hard_iface recv_if 
)

Definition at line 685 of file routing.c.

int batadv_recv_tt_query ( struct sk_buff skb,
struct batadv_hard_iface recv_if 
)

Definition at line 607 of file routing.c.

int batadv_recv_ucast_frag_packet ( struct sk_buff skb,
struct batadv_hard_iface recv_if 
)

Definition at line 1024 of file routing.c.

int batadv_recv_unicast_packet ( struct sk_buff skb,
struct batadv_hard_iface recv_if 
)

Definition at line 998 of file routing.c.

int batadv_recv_vis_packet ( struct sk_buff skb,
struct batadv_hard_iface recv_if 
)

Definition at line 1160 of file routing.c.

void batadv_slide_own_bcast_window ( struct batadv_hard_iface hard_iface)

Definition at line 35 of file routing.c.

void batadv_update_route ( struct batadv_priv bat_priv,
struct batadv_orig_node orig_node,
struct batadv_neigh_node neigh_node 
)

Definition at line 110 of file routing.c.

int batadv_window_protected ( struct batadv_priv bat_priv,
int32_t  seq_num_diff,
unsigned long last_reset 
)

Definition at line 234 of file routing.c.