taglinefilesource code
hh39include/linux/etherdevice.hextern void eth_header_cache_update(struct hh_cache *hh, struct device *dev, unsigned char * haddr);
hh189include/linux/netdevice.hvoid        (*header_cache_update)(struct hh_cache *hh, struct device *dev, unsigned char *  haddr);
hh16include/net/arp.hextern int  arp_update_cache(struct hh_cache * hh);
hh230net/ethernet/eth.cstruct hh_cache *hh;
hh239net/ethernet/eth.cif ((hh=*hhp) != NULL)
hh241net/ethernet/eth.cmemcpy(hh->hh_data+6, dev->dev_addr, ETH_ALEN);
hh242net/ethernet/eth.chh->hh_data[12] = htype>>8;
hh243net/ethernet/eth.chh->hh_data[13] = htype&0xFF;
hh251net/ethernet/eth.cvoid eth_header_cache_update(struct hh_cache *hh, struct device *dev, unsigned char * haddr)
hh253net/ethernet/eth.cif (hh->hh_type != ETH_P_IP)
hh255net/ethernet/eth.cprintk("eth_header_cache_update: %04x cache is not implemented\n", hh->hh_type);
hh258net/ethernet/eth.cmemcpy(hh->hh_data, haddr, ETH_ALEN);
hh259net/ethernet/eth.chh->hh_uptodate = 1;
hh135net/ipv4/arp.cstruct hh_cache      *hh;
hh324net/ipv4/arp.cstruct hh_cache *hh, *next;
hh332net/ipv4/arp.cfor (hh = entry->hh; hh; hh = next)
hh334net/ipv4/arp.cnext = hh->hh_next;
hh335net/ipv4/arp.chh->hh_arp = NULL;
hh336net/ipv4/arp.chh->hh_uptodate = 0;
hh337net/ipv4/arp.cif (!--hh->hh_refcnt)
hh338net/ipv4/arp.ckfree_s(hh, sizeof(struct(struct hh_cache)));
hh352net/ipv4/arp.cstruct hh_cache *hh, **hhp;
hh355net/ipv4/arp.chhp = &entry->hh;
hh356net/ipv4/arp.cwhile ((hh=*hhp) != NULL)
hh358net/ipv4/arp.cif (hh->hh_refcnt == 1)
hh360net/ipv4/arp.c*hhp = hh->hh_next;
hh361net/ipv4/arp.ckfree_s(hh, sizeof(struct hh_cache));
hh364net/ipv4/arp.ccount += hh->hh_refcnt-1;
hh365net/ipv4/arp.chhp = &hh->hh_next;
hh377net/ipv4/arp.cstruct hh_cache *hh;
hh379net/ipv4/arp.cfor (hh=entry->hh; hh; hh=hh->hh_next)
hh380net/ipv4/arp.chh->hh_uptodate = 0;
hh389net/ipv4/arp.cstruct hh_cache *hh;
hh391net/ipv4/arp.cfor (hh=entry->hh; hh; hh=hh->hh_next)
hh392net/ipv4/arp.centry->dev->header_cache_update(hh, entry->dev, entry->ha);
hh1057net/ipv4/arp.centry->hh    = NULL;
hh1290net/ipv4/arp.centry->hh    = NULL;
hh1401net/ipv4/arp.centry->hh ? entry->hh->hh_refcnt : -1,
hh1402net/ipv4/arp.centry->hh ? entry->hh->hh_uptodate : 0);
hh1429net/ipv4/arp.cstruct hh_cache *hh = *hhp;
hh1433net/ipv4/arp.cif (hh)
hh1439net/ipv4/arp.cif (hh)
hh1441net/ipv4/arp.chh = kmalloc(sizeof(struct hh_cache), GFP_ATOMIC);
hh1442net/ipv4/arp.cif (!hh)
hh1445net/ipv4/arp.chh->hh_uptodate = 0;
hh1446net/ipv4/arp.chh->hh_refcnt = 1;
hh1447net/ipv4/arp.chh->hh_arp = NULL;
hh1448net/ipv4/arp.chh->hh_next = NULL;
hh1449net/ipv4/arp.chh->hh_type = htype;
hh1450net/ipv4/arp.c*hhp = hh;
hh1451net/ipv4/arp.cdev->header_cache_update(hh, dev, haddr);
hh1464net/ipv4/arp.cfor (hh = entry->hh; hh; hh=hh->hh_next)
hh1465net/ipv4/arp.cif (hh->hh_type == htype)
hh1467net/ipv4/arp.cif (hh)
hh1469net/ipv4/arp.chh->hh_refcnt++;
hh1470net/ipv4/arp.c*hhp = hh;
hh1478net/ipv4/arp.chh = kmalloc(sizeof(struct hh_cache), GFP_ATOMIC);
hh1479net/ipv4/arp.cif (!hh)
hh1485net/ipv4/arp.chh->hh_uptodate = 0;
hh1486net/ipv4/arp.chh->hh_refcnt = 1;
hh1487net/ipv4/arp.chh->hh_arp = NULL;
hh1488net/ipv4/arp.chh->hh_next = NULL;
hh1489net/ipv4/arp.chh->hh_type = htype;
hh1493net/ipv4/arp.cdev->header_cache_update(hh, dev, entry->ha);
hh1494net/ipv4/arp.c*hhp = hh;
hh1496net/ipv4/arp.chh->hh_arp = (void*)entry;
hh1497net/ipv4/arp.centry->hh = hh;
hh1498net/ipv4/arp.chh->hh_refcnt++;
hh1514net/ipv4/arp.ckfree_s(hh, sizeof(struct hh_cache));
hh1525net/ipv4/arp.centry->hh = hh;
hh1526net/ipv4/arp.cATOMIC_INCR(&hh->hh_refcnt);
hh1539net/ipv4/arp.chh->hh_arp = (void*)entry;
hh1554net/ipv4/arp.c*hhp = hh;
hh1563net/ipv4/arp.cstruct hh_cache *hh;
hh1593net/ipv4/arp.cfor (hh=entry->hh; hh; hh=hh->hh_next)
hh1594net/ipv4/arp.chh->hh_arp = (void*)entry;
hh1614net/ipv4/arp.cfor (hh=entry->hh; hh; hh=next)
hh1616net/ipv4/arp.cnext = hh->hh_next;
hh1617net/ipv4/arp.chh->hh_next = entry1->hh;
hh1618net/ipv4/arp.centry1->hh = hh;
hh1619net/ipv4/arp.chh->hh_arp = (void*)entry1;
hh1621net/ipv4/arp.centry->hh = NULL;
hh1755net/ipv4/arp.centry->hh = NULL;
hh96net/ipv4/ip_forward.cstruct hh_cache *hh = NULL;
hh204net/ipv4/ip_forward.chh = rt->rt_hh;
hh326net/ipv4/ip_forward.cif (hh)
hh328net/ipv4/ip_forward.cmemcpy(skb_push(skb, dev2->hard_header_len), hh->hh_data, dev2->hard_header_len);
hh329net/ipv4/ip_forward.cif (!hh->hh_uptodate)
hh584net/ipv4/ip_output.cstruct hh_cache * hh=NULL;
hh618net/ipv4/ip_output.chh = rt->rt_hh;
hh664net/ipv4/ip_output.cif (hh)
hh667net/ipv4/ip_output.cmemcpy(skb_push(skb,dev->hard_header_len),hh->hh_data,dev->hard_header_len);
hh668net/ipv4/ip_output.cif (!hh->hh_uptodate)
hh840net/ipv4/ip_output.cif (hh)
hh843net/ipv4/ip_output.cmemcpy(skb_push(skb,dev->hard_header_len),hh->hh_data,dev->hard_header_len);
hh844net/ipv4/ip_output.cif (!hh->hh_uptodate)
hh961net/ipv4/route.cstruct hh_cache * hh = rt->rt_hh;
hh963net/ipv4/route.cif (hh && !--hh->hh_refcnt)
hh966net/ipv4/route.ckfree_s(hh, sizeof(struct hh_cache));
hh996net/ipv4/route.cstruct hh_cache * hh = rt->rt_hh;
hh1002net/ipv4/route.cif (hh && !--hh->hh_refcnt)
hh1005net/ipv4/route.ckfree_s(hh, sizeof(struct hh_cache));