Searched refs:IFP2SP (Results 1 – 5 of 5) sorted by relevance
255 pp = IFP2SP(ifp); in ng_sppp_constructor()317 struct sppp *const pp = IFP2SP(priv->ifp); in ng_sppp_rcvmsg()355 struct sppp *const pp = IFP2SP(priv->ifp); in ng_sppp_rcvdata()
70 #ifndef IFP2SP71 #define IFP2SP(ifp) ((struct sppp*)ifp) macro574 IFP2SP(d->ifp)->pp_tlf = ce_tlf; in ce_attach()575 IFP2SP(d->ifp)->pp_tls = ce_tls; in ce_attach()1073 IFP2SP(d->ifp)->pp_flags &= ~(PP_FR); in ce_ioctl()1074 IFP2SP(d->ifp)->pp_flags |= PP_KEEPALIVE; in ce_ioctl()1082 IFP2SP(d->ifp)->pp_flags &= ~PP_FR; in ce_ioctl()1083 IFP2SP(d->ifp)->pp_flags &= ~PP_KEEPALIVE; in ce_ioctl()1091 if ((IFP2SP(d->ifp)->pp_flags & PP_FR) || in ce_ioctl()1103 if ((IFP2SP(d->ifp)->pp_flags & PP_FR) || in ce_ioctl()[all …]
512 IFP2SP(d->ifp)->pp_tlf = cp_tlf; in cp_attach()513 IFP2SP(d->ifp)->pp_tls = cp_tls; in cp_attach()1035 IFP2SP(d->ifp)->pp_flags &= ~(PP_FR); in cp_ioctl()1036 IFP2SP(d->ifp)->pp_flags |= PP_KEEPALIVE; in cp_ioctl()1041 IFP2SP(d->ifp)->pp_flags |= PP_FR | PP_KEEPALIVE; in cp_ioctl()1044 IFP2SP(d->ifp)->pp_flags &= ~PP_FR; in cp_ioctl()1045 IFP2SP(d->ifp)->pp_flags &= ~PP_KEEPALIVE; in cp_ioctl()1053 if ((IFP2SP(d->ifp)->pp_flags & PP_FR) || in cp_ioctl()1065 if ((IFP2SP(d->ifp)->pp_flags & PP_FR) || in cp_ioctl()1071 IFP2SP(d->ifp)->pp_flags |= PP_KEEPALIVE; in cp_ioctl()[all …]
206 #define IFP2SP(ifp) ((struct sppp *)(ifp)->if_l2com) macro
512 struct sppp *sp = IFP2SP(ifp); in sppp_input()756 struct sppp *sp = IFP2SP(ifp); in sppp_ifstart()775 struct sppp *sp = IFP2SP(ifp); in sppp_output()1006 struct sppp *sp = IFP2SP(ifp); in sppp_attach()1059 struct sppp *sp = IFP2SP(ifp); in sppp_detach()1083 struct sppp *sp = IFP2SP(ifp); in sppp_flush_unlocked()1093 struct sppp *sp = IFP2SP(ifp); in sppp_flush()1106 struct sppp *sp = IFP2SP(ifp); in sppp_isempty()1122 struct sppp *sp = IFP2SP(ifp); in sppp_dequeue()1150 struct sppp *sp = IFP2SP(ifp); in sppp_pick()[all …]