Home
last modified time | relevance | path

Searched refs:otl (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/lib/varpd/libvarpd/common/
H A Dlibvarpd_arp.c64 varpd_query_handle_t *vqh, const overlay_targ_lookup_t *otl) in libvarpd_plugin_proxy_arp() argument
78 if (otl->otl_sap != ETHERTYPE_ARP) { in libvarpd_plugin_proxy_arp()
90 if (otl->otl_hdrsize + otl->otl_pktsize > vaq->vaq_bsize || in libvarpd_plugin_proxy_arp()
91 otl->otl_pktsize < sizeof (struct ether_arp) || in libvarpd_plugin_proxy_arp()
92 otl->otl_hdrsize < sizeof (struct ether_header)) { in libvarpd_plugin_proxy_arp()
98 if (libvarpd_overlay_packet(inst->vri_impl, otl, vaq->vaq_buf, in libvarpd_plugin_proxy_arp()
105 if (otl->otl_hdrsize + otl->otl_pktsize < vaq->vaq_bsize) { in libvarpd_plugin_proxy_arp()
111 ea = (void *)((uintptr_t)vaq->vaq_buf + (uintptr_t)otl->otl_hdrsize); in libvarpd_plugin_proxy_arp()
146 vaq->vaq_otl = otl; in libvarpd_plugin_proxy_arp()
232 varpd_query_handle_t *vqh, const overlay_targ_lookup_t *otl) in libvarpd_plugin_proxy_ndp() argument
[all …]
H A Dlibvarpd_overlay.c145 libvarpd_overlay_packet(varpd_impl_t *vip, const overlay_targ_lookup_t *otl, in libvarpd_overlay_packet() argument
152 otp.otp_reqid = otl->otl_reqid; in libvarpd_overlay_packet()
172 const overlay_targ_lookup_t *otl, void *buf, size_t buflen, int cmd) in libvarpd_overlay_inject_common() argument
177 if (otl == NULL) { in libvarpd_overlay_inject_common()
182 otp.otp_reqid = otl->otl_reqid; in libvarpd_overlay_inject_common()
199 libvarpd_overlay_inject(varpd_impl_t *vip, const overlay_targ_lookup_t *otl, in libvarpd_overlay_inject() argument
202 return (libvarpd_overlay_inject_common(vip, NULL, otl, buf, buflen, in libvarpd_overlay_inject()
215 libvarpd_overlay_resend(varpd_impl_t *vip, const overlay_targ_lookup_t *otl, in libvarpd_overlay_resend() argument
218 return (libvarpd_overlay_inject_common(vip, NULL, otl, buf, buflen, in libvarpd_overlay_resend()
224 const overlay_targ_lookup_t *otl, overlay_targ_resp_t *otr, int cmd) in libvarpd_overlay_lookup_reply() argument
[all …]
/illumos-gate/usr/src/lib/varpd/files/common/
H A Dlibvarpd_files.c227 const overlay_targ_lookup_t *otl, overlay_target_point_t *otp) in varpd_files_lookup() argument
236 if (otl == NULL) { in varpd_files_lookup()
241 if (otl->otl_sap == ETHERTYPE_ARP) { in varpd_files_lookup()
242 libvarpd_plugin_proxy_arp(vaf->vaf_hdl, qh, otl); in varpd_files_lookup()
246 if (otl->otl_sap == ETHERTYPE_IPV6 && in varpd_files_lookup()
247 otl->otl_dstaddr[0] == 0x33 && in varpd_files_lookup()
248 otl->otl_dstaddr[1] == 0x33) { in varpd_files_lookup()
249 libvarpd_plugin_proxy_ndp(vaf->vaf_hdl, qh, otl); in varpd_files_lookup()
253 if (otl->otl_sap == ETHERTYPE_IP && in varpd_files_lookup()
254 bcmp(otl->otl_dstaddr, bcast, ETHERADDRL) == 0) { in varpd_files_lookup()
[all …]
/illumos-gate/usr/src/uts/common/io/overlay/
H A Doverlay_target.c585 overlay_targ_lookup_t *otl = arg; in overlay_target_lookup_request() local
633 otl->otl_dlid = entry->ote_odd->odd_linkid; in overlay_target_lookup_request()
634 otl->otl_reqid = (uintptr_t)entry; in overlay_target_lookup_request()
635 otl->otl_varpdid = entry->ote_ott->ott_id; in overlay_target_lookup_request()
636 otl->otl_vnetid = entry->ote_odd->odd_vid; in overlay_target_lookup_request()
638 otl->otl_hdrsize = mhi.mhi_hdrsize; in overlay_target_lookup_request()
639 otl->otl_pktsize = msgsize(entry->ote_chead) - otl->otl_hdrsize; in overlay_target_lookup_request()
640 bcopy(mhi.mhi_daddr, otl->otl_dstaddr, ETHERADDRL); in overlay_target_lookup_request()
641 bcopy(mhi.mhi_saddr, otl->otl_srcaddr, ETHERADDRL); in overlay_target_lookup_request()
642 otl->otl_dsttype = mhi.mhi_dsttype; in overlay_target_lookup_request()
[all …]