Home
last modified time | relevance | path

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

/freebsd-13.1/sys/netgraph/
H A Dng_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()
/freebsd-13.1/sys/dev/ce/
H A Dif_ce.c70 #ifndef IFP2SP
71 #define IFP2SP(ifp) ((struct sppp*)ifp) macro
574 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 …]
/freebsd-13.1/sys/dev/cp/
H A Dif_cp.c512 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 …]
/freebsd-13.1/sys/net/
H A Dif_sppp.h206 #define IFP2SP(ifp) ((struct sppp *)(ifp)->if_l2com) macro
H A Dif_spppsubr.c512 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 …]