Lines Matching refs:sap
586 t_scalar_t sap; in sppp_dl_bind() local
601 sap = PPP_IP; in sppp_dl_bind()
603 sap = PPP_IPV6; in sppp_dl_bind()
605 sap = PPP_ALLSAP; in sppp_dl_bind()
614 if (sap != PPP_ALLSAP) { in sppp_dl_bind()
615 if ((sap == PPP_IP) && (ppa->ppa_ip_cache == NULL)) { in sppp_dl_bind()
620 } else if ((sap == PPP_IPV6) && (ppa->ppa_ip6_cache == NULL)) { in sppp_dl_bind()
626 DBGERROR((CE_CONT, "DLPI bind: bad SAP %x\n", sap)); in sppp_dl_bind()
640 ((sap == PPP_IP) ? "PPP_LINKSTAT_IPV4_BOUND" : in sppp_dl_bind()
646 sap, req_sap)); in sppp_dl_bind()
648 sps->sps_sap = sap; in sppp_dl_bind()
650 dlbindack(q, mp, req_sap, &sap, sizeof (int32_t), 0, 0); in sppp_dl_bind()
691 t_scalar_t sap; in sppp_dl_unbind() local
699 sap = sps->sps_sap; in sppp_dl_unbind()
700 ASSERT((sap == PPP_IP) || (sap == PPP_IPV6) || (sap == PPP_ALLSAP)); in sppp_dl_unbind()
712 if (sap == PPP_IP) { in sppp_dl_unbind()
716 } else if (sap == PPP_IPV6) { in sppp_dl_unbind()
724 ((sap == PPP_IP) ? "PPP_LINKSTAT_IPV4_UNBOUND" : in sppp_dl_unbind()