Lines Matching refs:cache

376 	overlay_targ_cache_t cache;  in libvarpd_overlay_cache_flush()  local
379 bzero(&cache, sizeof (overlay_targ_cache_t)); in libvarpd_overlay_cache_flush()
380 cache.otc_linkid = inst->vri_linkid; in libvarpd_overlay_cache_flush()
382 ret = ioctl(vip->vdi_overlayfd, OVERLAY_TARG_CACHE_FLUSH, &cache); in libvarpd_overlay_cache_flush()
395 overlay_targ_cache_t cache; in libvarpd_overlay_cache_delete() local
398 bzero(&cache, sizeof (overlay_targ_cache_t)); in libvarpd_overlay_cache_delete()
399 cache.otc_linkid = inst->vri_linkid; in libvarpd_overlay_cache_delete()
400 bcopy(key, cache.otc_entry.otce_mac, ETHERADDRL); in libvarpd_overlay_cache_delete()
402 ret = ioctl(vip->vdi_overlayfd, OVERLAY_TARG_CACHE_REMOVE, &cache); in libvarpd_overlay_cache_delete()
417 overlay_targ_cache_t cache; in libvarpd_overlay_cache_get() local
420 bzero(&cache, sizeof (overlay_targ_cache_t)); in libvarpd_overlay_cache_get()
421 cache.otc_linkid = inst->vri_linkid; in libvarpd_overlay_cache_get()
422 bcopy(key, cache.otc_entry.otce_mac, ETHERADDRL); in libvarpd_overlay_cache_get()
424 ret = ioctl(vip->vdi_overlayfd, OVERLAY_TARG_CACHE_GET, &cache); in libvarpd_overlay_cache_get()
430 bcopy(cache.otc_entry.otce_dest.otp_mac, &entry->vcp_mac, ETHERADDRL); in libvarpd_overlay_cache_get()
431 entry->vcp_flags = cache.otc_entry.otce_flags; in libvarpd_overlay_cache_get()
432 entry->vcp_ip = cache.otc_entry.otce_dest.otp_ip; in libvarpd_overlay_cache_get()
433 entry->vcp_port = cache.otc_entry.otce_dest.otp_port; in libvarpd_overlay_cache_get()
443 overlay_targ_cache_t cache; in libvarpd_overlay_cache_set() local
446 bzero(&cache, sizeof (overlay_targ_cache_t)); in libvarpd_overlay_cache_set()
447 cache.otc_linkid = inst->vri_linkid; in libvarpd_overlay_cache_set()
448 bcopy(key, cache.otc_entry.otce_mac, ETHERADDRL); in libvarpd_overlay_cache_set()
449 bcopy(&entry->vcp_mac, cache.otc_entry.otce_dest.otp_mac, ETHERADDRL); in libvarpd_overlay_cache_set()
450 cache.otc_entry.otce_flags = entry->vcp_flags; in libvarpd_overlay_cache_set()
451 cache.otc_entry.otce_dest.otp_ip = entry->vcp_ip; in libvarpd_overlay_cache_set()
452 cache.otc_entry.otce_dest.otp_port = entry->vcp_port; in libvarpd_overlay_cache_set()
454 ret = ioctl(vip->vdi_overlayfd, OVERLAY_TARG_CACHE_SET, &cache); in libvarpd_overlay_cache_set()