Home
last modified time | relevance | path

Searched refs:IFP2SP (Results 1 – 7 of 7) sorted by relevance

/NextBSD/sys/netgraph/
HDng_sppp.c255 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()
/NextBSD/sys/dev/ce/
HDif_ce.c86 #ifndef IFP2SP
87 #define IFP2SP(ifp) ((struct sppp*)ifp) macro
721 IFP2SP(d->ifp)->pp_tlf = ce_tlf; in ce_attach()
722 IFP2SP(d->ifp)->pp_tls = ce_tls; in ce_attach()
1265 strcpy ((char*)data, (IFP2SP(d->ifp)->pp_flags & PP_FR) ? "fr" : in ce_ioctl()
1288 IFP2SP(d->ifp)->pp_flags &= ~(PP_FR); in ce_ioctl()
1289 IFP2SP(d->ifp)->pp_flags |= PP_KEEPALIVE; in ce_ioctl()
1294 IFP2SP(d->ifp)->pp_flags |= PP_FR | PP_KEEPALIVE; in ce_ioctl()
1297 IFP2SP(d->ifp)->pp_flags &= ~PP_FR; in ce_ioctl()
1298 IFP2SP(d->ifp)->pp_flags &= ~PP_KEEPALIVE; in ce_ioctl()
[all …]
/NextBSD/sys/dev/cp/
HDif_cp.c513 IFP2SP(d->ifp)->pp_tlf = cp_tlf; in cp_attach()
514 IFP2SP(d->ifp)->pp_tls = cp_tls; in cp_attach()
1023 strcpy ((char*)data, (IFP2SP(d->ifp)->pp_flags & PP_FR) ? "fr" : in cp_ioctl()
1036 IFP2SP(d->ifp)->pp_flags &= ~(PP_FR); in cp_ioctl()
1037 IFP2SP(d->ifp)->pp_flags |= PP_KEEPALIVE; in cp_ioctl()
1042 IFP2SP(d->ifp)->pp_flags |= PP_FR | PP_KEEPALIVE; in cp_ioctl()
1045 IFP2SP(d->ifp)->pp_flags &= ~PP_FR; in cp_ioctl()
1046 IFP2SP(d->ifp)->pp_flags &= ~PP_KEEPALIVE; in cp_ioctl()
1054 if ((IFP2SP(d->ifp)->pp_flags & PP_FR) || in cp_ioctl()
1057 *(int*)data = (IFP2SP(d->ifp)->pp_flags & PP_KEEPALIVE) ? 1 : 0; in cp_ioctl()
[all …]
/NextBSD/sys/dev/cx/
HDif_cx.c844 IFP2SP(d->ifp)->pp_tlf = cx_tlf; in cx_attach()
845 IFP2SP(d->ifp)->pp_tls = cx_tls; in cx_attach()
1022 if (!(IFP2SP(d->ifp)->pp_flags & PP_FR) && !(d->ifp->if_flags & PP_CISCO)) in cx_tlf()
1031 if (!(IFP2SP(d->ifp)->pp_flags & PP_FR) && !(d->ifp->if_flags & PP_CISCO)) in cx_tls()
1615 (IFP2SP(d->ifp)->pp_flags & PP_FR) ? "fr" : in cx_ioctl()
1632 IFP2SP(d->ifp)->pp_flags &= ~(PP_FR); in cx_ioctl()
1633 IFP2SP(d->ifp)->pp_flags |= PP_KEEPALIVE; in cx_ioctl()
1637 IFP2SP(d->ifp)->pp_flags |= PP_FR | PP_KEEPALIVE; in cx_ioctl()
1639 IFP2SP(d->ifp)->pp_flags &= ~(PP_FR | PP_KEEPALIVE); in cx_ioctl()
1647 if ((IFP2SP(d->ifp)->pp_flags & PP_FR) || in cx_ioctl()
[all …]
/NextBSD/sys/dev/ctau/
HDif_ct.c734 IFP2SP(d->ifp)->pp_tlf = ct_tlf; in ct_attach()
735 IFP2SP(d->ifp)->pp_tls = ct_tls; in ct_attach()
1252 strcpy ((char*)data, (IFP2SP(d->ifp)->pp_flags & PP_FR) ? "fr" : in ct_ioctl()
1264 IFP2SP(d->ifp)->pp_flags &= ~(PP_FR); in ct_ioctl()
1265 IFP2SP(d->ifp)->pp_flags |= PP_KEEPALIVE; in ct_ioctl()
1269 IFP2SP(d->ifp)->pp_flags |= PP_FR | PP_KEEPALIVE; in ct_ioctl()
1271 IFP2SP(d->ifp)->pp_flags &= ~(PP_FR | PP_KEEPALIVE); in ct_ioctl()
1278 if ((IFP2SP(d->ifp)->pp_flags & PP_FR) || in ct_ioctl()
1281 *(int*)data = (IFP2SP(d->ifp)->pp_flags & PP_KEEPALIVE) ? 1 : 0; in ct_ioctl()
1289 if ((IFP2SP(d->ifp)->pp_flags & PP_FR) || in ct_ioctl()
[all …]
/NextBSD/sys/net/
HDif_sppp.h206 #define IFP2SP(ifp) ((struct sppp *)(ifp)->if_l2com) macro
HDif_spppsubr.c511 struct sppp *sp = IFP2SP(ifp); in sppp_input()
755 struct sppp *sp = IFP2SP(ifp); in sppp_ifstart()
774 struct sppp *sp = IFP2SP(ifp); in sppp_output()
1004 struct sppp *sp = IFP2SP(ifp); in sppp_attach()
1057 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 …]