Home
last modified time | relevance | path

Searched refs:pppdev (Results 1 – 11 of 11) sorted by relevance

/linux-2.4.37.9/drivers/net/wan/
Dhdlc_ppp.c34 hdlc->state.ppp.syncppp_ptr = &hdlc->state.ppp.pppdev; in ppp_open()
35 hdlc->state.ppp.pppdev.dev = dev; in ppp_open()
39 sppp_attach(&hdlc->state.ppp.pppdev); in ppp_open()
42 hdlc->state.ppp.pppdev.sppp.pp_flags &= ~PP_CISCO; in ppp_open()
Dcomx-proto-ppp.c201 struct ppp_device *pppdev = (struct ppp_device *)ch->if_ptr; in syncppp_init() local
207 pppdev->dev = dev; in syncppp_init()
208 sppp_attach(pppdev); in syncppp_init()
211 pppdev->sppp.pp_flags |= PP_CISCO; in syncppp_init()
214 pppdev->sppp.pp_flags &= ~PP_CISCO; in syncppp_init()
Dcosa.c141 struct ppp_device pppdev; member
580 chan->if_ptr = &chan->pppdev; in sppp_channel_init()
581 chan->pppdev.dev = kmalloc(sizeof(struct net_device), GFP_KERNEL); in sppp_channel_init()
582 memset(chan->pppdev.dev, 0, sizeof(struct net_device)); in sppp_channel_init()
583 sppp_attach(&chan->pppdev); in sppp_channel_init()
584 d=chan->pppdev.dev; in sppp_channel_init()
600 sppp_detach(chan->pppdev.dev); in sppp_channel_init()
607 sppp_detach(chan->pppdev.dev); in sppp_channel_delete()
608 unregister_netdev(chan->pppdev.dev); in sppp_channel_delete()
722 chan->pppdev.dev->trans_start = jiffies; in sppp_setup_rx()
[all …]
Dwanpipe_multppp.c542 struct ppp_device *pppdev = (struct ppp_device *)pdev; in new_if() local
600 chdlc_priv_area->if_ptr = pppdev; in new_if()
622 sppp_attach(pppdev); in new_if()
624 dev = pppdev->dev; in new_if()
626 dev = &pppdev->dev; in new_if()
628 sp = &pppdev->sppp; in new_if()
Dpc300.h262 struct ppp_device pppdev; member
Dpc300_drv.c2964 d->if_ptr = &hdlc->state.ppp.pppdev; in cpc_open()
/linux-2.4.37.9/net/wanrouter/
Dwanmain.c757 struct ppp_device *pppdev=NULL; in device_new_if() local
783 pppdev = kmalloc(sizeof(struct ppp_device), GFP_KERNEL); in device_new_if()
784 if (pppdev == NULL){ in device_new_if()
787 memset(pppdev, 0, sizeof(struct ppp_device)); in device_new_if()
790 pppdev->dev = kmalloc(sizeof(netdevice_t), GFP_KERNEL); in device_new_if()
791 if (pppdev->dev == NULL){ in device_new_if()
792 kfree(pppdev); in device_new_if()
795 memset(pppdev->dev, 0, sizeof(netdevice_t)); in device_new_if()
798 err = wandev->new_if(wandev, (netdevice_t *)pppdev, &conf); in device_new_if()
801 dev = pppdev->dev; in device_new_if()
[all …]
/linux-2.4.37.9/include/linux/
Dhdlc.h153 struct ppp_device pppdev; member
/linux-2.4.37.9/drivers/char/pcmcia/
Dsynclink_cs.c256 struct ppp_device pppdev; member
4386 info->if_ptr = &info->pppdev; in mgslpc_sppp_init()
4387 info->netdev = info->pppdev.dev = &info->netdevice; in mgslpc_sppp_init()
4389 sppp_attach(&info->pppdev); in mgslpc_sppp_init()
/linux-2.4.37.9/drivers/char/
Dsynclinkmp.c295 struct ppp_device pppdev; member
1709 info->if_ptr = &info->pppdev; in sppp_init()
1710 info->netdev = info->pppdev.dev = &info->netdevice; in sppp_init()
1712 sppp_attach(&info->pppdev); in sppp_init()
Dsynclink.c337 struct ppp_device pppdev; member
8014 info->if_ptr = &info->pppdev; in mgsl_sppp_init()
8015 info->netdev = info->pppdev.dev = &info->netdevice; in mgsl_sppp_init()
8017 sppp_attach(&info->pppdev); in mgsl_sppp_init()