ovn/controller/pinctrl.c
static void
add_garp(const char *name, const struct eth_addr ea, ovs_be32 ip,
         uint32_t dp_key, uint32_t port_key)
{
    struct garp_data *garp = xmalloc(sizeof *garp);
    garp->ea = ea;
    garp->ipv4 = ip;
    garp->announce_time = time_msec() + 1000;
    garp->backoff = 1;
    garp->dp_key = dp_key;
    garp->port_key = port_key;
    shash_add(&send_garp_data, name, garp);

    /* Notify pinctrl_handler so that it can wakeup and process
     * these GARP requests. */
    notify_pinctrl_handler();
}
/* Runs with in the main ovn-controller thread context. */
Runs with in the main ovn-controller thread context.
Runs with in the main ovn - controller thread context .
static void
add_garp(const char *name, const struct eth_addr ea, ovs_be32 ip,
         uint32_t dp_key, uint32_t port_key)
{
    struct garp_data *garp = xmalloc(sizeof *garp);
    garp->ea = ea;
    garp->ipv4 = ip;
    garp->announce_time = time_msec() + 1000;
    garp->backoff = 1;
    garp->dp_key = dp_key;
    garp->port_key = port_key;
    shash_add(&send_garp_data, name, garp);
    notify_pinctrl_handler();
}
static void add_garp ( const char * name , const struct eth_addr ea , ovs_be32 ip , uint32_t dp_key , uint32_t port_key ) { struct garp_data * garp = xmalloc ( sizeof * garp ) ; garp -> ea = ea ; garp -> ipv4 = ip ; garp -> announce_time = time_msec ( ) + 1000 ; garp -> backoff = 1 ; garp -> dp_key = dp_key ; garp -> port_key = port_key ; shash_add ( & send_garp_data , name , garp ) ; notify_pinctrl_handler ( ) ; }
Runs with in the main ovn-controller thread context.
Runs with in the main ovn - controller thread context .
/* Notify pinctrl_handler so that it can wakeup and process
     * these GARP requests. */