Lines Matching refs:caller

78 void vsw_switch_frame_nop(vsw_t *vswp, mblk_t *mp, int caller,
84 static void vsw_switch_l2_frame_mac_client(vsw_t *vswp, mblk_t *mp, int caller,
86 static void vsw_switch_l2_frame(vsw_t *vswp, mblk_t *mp, int caller,
88 static void vsw_switch_l3_frame(vsw_t *vswp, mblk_t *mp, int caller,
91 int caller, vsw_port_t *port);
93 int caller, vsw_port_t *port);
102 boolean_t vsw_frame_lookup_vid(void *arg, int caller, struct ether_header *ehp,
410 vsw_switch_frame_nop(vsw_t *vswp, mblk_t *mp, int caller, vsw_port_t *port, in vsw_switch_frame_nop() argument
420 vsw_switch_l2_frame_mac_client(vsw_t *vswp, mblk_t *mp, int caller, in vsw_switch_l2_frame_mac_client() argument
432 ASSERT((caller == VSW_VNETPORT) || (caller == VSW_LOCALDEV)); in vsw_switch_l2_frame_mac_client()
434 if ((ret_m = vsw_tx_msg(vswp, mp, caller, port)) != NULL) { in vsw_switch_l2_frame_mac_client()
456 vsw_switch_l2_frame(vsw_t *vswp, mblk_t *mp, int caller, in vsw_switch_l2_frame() argument
463 D1(vswp, "%s: enter (caller %d)", __func__, caller); in vsw_switch_l2_frame()
488 if (caller != VSW_LOCALDEV) { in vsw_switch_l2_frame()
531 (void) vsw_forward_all(vswp, mp, caller, arg); in vsw_switch_l2_frame()
534 (void) vsw_forward_grp(vswp, mp, caller, arg); in vsw_switch_l2_frame()
551 if (caller == VSW_VNETPORT) { in vsw_switch_l2_frame()
558 caller, arg)) != NULL) { in vsw_switch_l2_frame()
564 } else if (caller == VSW_PHYSDEV) { in vsw_switch_l2_frame()
574 } else if (caller == VSW_LOCALDEV) { in vsw_switch_l2_frame()
580 caller, NULL)) != NULL) { in vsw_switch_l2_frame()
601 vsw_switch_l3_frame(vsw_t *vswp, mblk_t *mp, int caller, in vsw_switch_l3_frame() argument
608 D1(vswp, "%s: enter (caller %d)", __func__, caller); in vsw_switch_l3_frame()
615 if ((caller != VSW_LOCALDEV) && (caller != VSW_VNETPORT)) { in vsw_switch_l3_frame()
616 DERR(vswp, "%s: unexpected caller (%d)", __func__, caller); in vsw_switch_l3_frame()
654 (void) vsw_forward_all(vswp, mp, caller, arg); in vsw_switch_l3_frame()
657 (void) vsw_forward_grp(vswp, mp, caller, arg); in vsw_switch_l3_frame()
665 if (caller == VSW_VNETPORT) { in vsw_switch_l3_frame()
710 vsw_forward_all(vsw_t *vswp, mblk_t *mp, int caller, vsw_port_t *arg) in vsw_forward_all() argument
725 ((caller == VSW_LOCALDEV) || (caller == VSW_VNETPORT))) { in vsw_forward_all()
729 if ((ret_m = vsw_tx_msg(vswp, nmp, caller, arg)) in vsw_forward_all()
739 if (caller == VSW_VNETPORT) in vsw_forward_all()
746 if ((caller == VSW_PHYSDEV) || (caller == VSW_VNETPORT)) { in vsw_forward_all()
788 vsw_forward_grp(vsw_t *vswp, mblk_t *mp, int caller, vsw_port_t *arg) in vsw_forward_grp() argument
813 ((caller == VSW_VNETPORT) || (caller == VSW_LOCALDEV))) { in vsw_forward_grp()
816 if ((ret_m = vsw_tx_msg(vswp, nmp, caller, arg)) in vsw_forward_grp()
838 if ((caller == VSW_VNETPORT) && in vsw_forward_grp()
845 } else if ((caller == VSW_LOCALDEV) && in vsw_forward_grp()
885 ((caller == VSW_VNETPORT) || (caller == VSW_PHYSDEV))) { in vsw_forward_grp()
1476 vsw_frame_lookup_vid(void *arg, int caller, struct ether_header *ehp, in vsw_frame_lookup_vid() argument
1492 switch (caller) { in vsw_frame_lookup_vid()