diff options
author | David S. Miller <davem@davemloft.net> | 2011-11-26 14:26:24 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-11-26 14:26:24 -0500 |
commit | d6f03f29f7cdf064289f941bf0b838348e996e65 (patch) | |
tree | f8e75089e5690d27c271ca382f25a3386db76f14 /net/batman-adv/gateway_client.h | |
parent | 6f39da2c5eab64921f92a9ff4a48f3d14a8db24c (diff) | |
parent | 76e8d7b0d1b0091929e8cd18551a87b6bb6ef2c1 (diff) |
Merge branch 'for_david' of git://git.open-mesh.org/linux-merge
Diffstat (limited to 'net/batman-adv/gateway_client.h')
-rw-r--r-- | net/batman-adv/gateway_client.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/batman-adv/gateway_client.h b/net/batman-adv/gateway_client.h index b9b983c07fe..e1edba08eb1 100644 --- a/net/batman-adv/gateway_client.h +++ b/net/batman-adv/gateway_client.h @@ -31,7 +31,8 @@ void gw_node_update(struct bat_priv *bat_priv, void gw_node_delete(struct bat_priv *bat_priv, struct orig_node *orig_node); void gw_node_purge(struct bat_priv *bat_priv); int gw_client_seq_print_text(struct seq_file *seq, void *offset); -int gw_is_target(struct bat_priv *bat_priv, struct sk_buff *skb, - struct orig_node *old_gw); +bool gw_is_dhcp_target(struct sk_buff *skb, unsigned int *header_len); +bool gw_out_of_range(struct bat_priv *bat_priv, + struct sk_buff *skb, struct ethhdr *ethhdr); #endif /* _NET_BATMAN_ADV_GATEWAY_CLIENT_H_ */ |