Skip to contentSkip to conversation

who calls eth_header_cache_update

DISCUSSION cranium 2003 2 participants 2 messages Jan 31, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hello,
Who need to call following function in linux kernel?
void eth_header_cache_update(struct hh_cache *hh, struct net_device *dev, unsigned char * haddr)

{
        memcpy(((u8*)hh->hh_data) + HH_DATA_OFF(sizeof(struct ethhdr)),
               haddr, dev->addr_len);
}

regards,
cranium

#1 lore raw

Check neigh_update_hss()....

- KK

             cranium 2003                                              
             <cranium.2003@gma                                         
             il.com>                                                    To
             Sent by:                  [email protected],             
             netdev-bounce@oss         [email protected]        
             .sgi.com                                                   cc
                                                                       
                                                                   Subject
             01/31/2005 05:57          who calls eth_header_cache_update
             PM                                                        
                                                                       
                                                                       
             Please respond to                                         
               cranium 2003                                            

Hello,
Who need to call following function in linux kernel?
void eth_header_cache_update(struct hh_cache *hh, struct net_device *dev, unsigned char * haddr)

{
        memcpy(((u8*)hh->hh_data) + HH_DATA_OFF(sizeof(struct ethhdr)),
               haddr, dev->addr_len);
}

regards,
cranium