1060 rw_exit(&ppa->ppa_sib_lock);
1061 }
1062 DBGDLPI((CE_CONT, "/%d: promiscuous mode off\n", sps->sps_mn_id));
1063 dlokack(q, mp, DL_PROMISCOFF_REQ);
1064 }
1065
1066 /*
1067 * sppp_dlphyreq()
1068 *
1069 * MT-Perimeters:
1070 * shared inner, shared outer.
1071 *
1072 * Description:
1073 * Perform DL_PHYS_ADDR_REQ request, called by sppp_mproto. This doesn't
1074 * return anything useful, but it keeps ifconfig happy.
1075 */
1076 /* ARGSUSED */
1077 static int
1078 sppp_dlphyreq(queue_t *q, mblk_t *mp, spppstr_t *us)
1079 {
1080 static struct ether_addr addr = { 0 };
1081
1082 dlphysaddrack(q, mp, (char *)&addr, ETHERADDRL);
1083 return (0);
1084 }
1085
1086 /*
1087 * sppp_dladdether()
1088 *
1089 * Description:
1090 * Prepend an empty Ethernet header to msg for snoop, et al. Free
1091 * the original mblk if alloc fails. Only called for the purpose of sending
1092 * packets up the promiscous stream.
1093 */
1094 /* ARGSUSED */
1095 static mblk_t *
1096 sppp_dladdether(spppstr_t *sps, mblk_t *mp, t_scalar_t proto)
1097 {
1098 mblk_t *eh;
1099 t_scalar_t type;
1100
|
1060 rw_exit(&ppa->ppa_sib_lock);
1061 }
1062 DBGDLPI((CE_CONT, "/%d: promiscuous mode off\n", sps->sps_mn_id));
1063 dlokack(q, mp, DL_PROMISCOFF_REQ);
1064 }
1065
1066 /*
1067 * sppp_dlphyreq()
1068 *
1069 * MT-Perimeters:
1070 * shared inner, shared outer.
1071 *
1072 * Description:
1073 * Perform DL_PHYS_ADDR_REQ request, called by sppp_mproto. This doesn't
1074 * return anything useful, but it keeps ifconfig happy.
1075 */
1076 /* ARGSUSED */
1077 static int
1078 sppp_dlphyreq(queue_t *q, mblk_t *mp, spppstr_t *us)
1079 {
1080 static struct ether_addr addr = { {0} };
1081
1082 dlphysaddrack(q, mp, (char *)&addr, ETHERADDRL);
1083 return (0);
1084 }
1085
1086 /*
1087 * sppp_dladdether()
1088 *
1089 * Description:
1090 * Prepend an empty Ethernet header to msg for snoop, et al. Free
1091 * the original mblk if alloc fails. Only called for the purpose of sending
1092 * packets up the promiscous stream.
1093 */
1094 /* ARGSUSED */
1095 static mblk_t *
1096 sppp_dladdether(spppstr_t *sps, mblk_t *mp, t_scalar_t proto)
1097 {
1098 mblk_t *eh;
1099 t_scalar_t type;
1100
|