Linux Kernel
3.7.1
|
#include "main.h"
#include "sysfs.h"
#include "gateway_client.h"
#include "gateway_common.h"
#include "hard-interface.h"
#include "originator.h"
#include "translation-table.h"
#include "routing.h"
#include <linux/ip.h>
#include <linux/ipv6.h>
#include <linux/udp.h>
#include <linux/if_vlan.h>
Go to the source code of this file.
Macros | |
#define | BATADV_DHCP_OPTIONS_OFFSET 240 |
#define | BATADV_DHCP_REQUEST 3 |
Functions | |
struct batadv_orig_node * | batadv_gw_get_selected_orig (struct batadv_priv *bat_priv) |
void | batadv_gw_deselect (struct batadv_priv *bat_priv) |
void | batadv_gw_election (struct batadv_priv *bat_priv) |
void | batadv_gw_check_election (struct batadv_priv *bat_priv, struct batadv_orig_node *orig_node) |
void | batadv_gw_node_update (struct batadv_priv *bat_priv, struct batadv_orig_node *orig_node, uint8_t new_gwflags) |
void | batadv_gw_node_delete (struct batadv_priv *bat_priv, struct batadv_orig_node *orig_node) |
void | batadv_gw_node_purge (struct batadv_priv *bat_priv) |
int | batadv_gw_client_seq_print_text (struct seq_file *seq, void *offset) |
bool | batadv_gw_is_dhcp_target (struct sk_buff *skb, unsigned int *header_len) |
bool | batadv_gw_out_of_range (struct batadv_priv *bat_priv, struct sk_buff *skb, struct ethhdr *ethhdr) |
#define BATADV_DHCP_OPTIONS_OFFSET 240 |
Definition at line 36 of file gateway_client.c.
#define BATADV_DHCP_REQUEST 3 |
Definition at line 37 of file gateway_client.c.
void batadv_gw_check_election | ( | struct batadv_priv * | bat_priv, |
struct batadv_orig_node * | orig_node | ||
) |
Definition at line 260 of file gateway_client.c.
Definition at line 473 of file gateway_client.c.
void batadv_gw_deselect | ( | struct batadv_priv * | bat_priv | ) |
Definition at line 108 of file gateway_client.c.
void batadv_gw_election | ( | struct batadv_priv * | bat_priv | ) |
Definition at line 194 of file gateway_client.c.
|
read |
Definition at line 64 of file gateway_client.c.
Definition at line 585 of file gateway_client.c.
void batadv_gw_node_delete | ( | struct batadv_priv * | bat_priv, |
struct batadv_orig_node * | orig_node | ||
) |
Definition at line 397 of file gateway_client.c.
void batadv_gw_node_purge | ( | struct batadv_priv * | bat_priv | ) |
Definition at line 403 of file gateway_client.c.
void batadv_gw_node_update | ( | struct batadv_priv * | bat_priv, |
struct batadv_orig_node * | orig_node, | ||
uint8_t | new_gwflags | ||
) |
Definition at line 343 of file gateway_client.c.
bool batadv_gw_out_of_range | ( | struct batadv_priv * | bat_priv, |
struct sk_buff * | skb, | ||
struct ethhdr * | ethhdr | ||
) |
Definition at line 651 of file gateway_client.c.