Show
Ignore:
Timestamp:
01/09/10 15:44:01 (8 months ago)
Author:
marek
Message:

batman-adv: send DHCP requests directly to the chosen gw

If the gateway client mode is active batman-adv will send the broadcasted
DHCP requests via unicast to the currently selected best gateway. Therefore
attached clients can profit from batman's knowledge about the network
topology.

Signed-off-by: Marek Lindner <lindner_marek@…>

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/batman-adv-kernelland/gateway_client.h

    r1540 r1542  
    2222void gw_deselect(void); 
    2323void gw_election(void); 
     24void *gw_get_selected(void); 
    2425void gw_check_election(struct orig_node *orig_node); 
    2526void gw_node_update(struct orig_node *orig_node, uint8_t new_gwflags); 
     
    2829void gw_node_list_free(void); 
    2930int gw_client_fill_buffer_text(unsigned char *buff, int buff_len); 
     31bool gw_is_target(struct sk_buff *skb);