Home
last modified time | relevance | path

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

/Linux-v5.4/include/linux/
Dppp_channel.h23 struct ppp_channel;
28 int (*start_xmit)(struct ppp_channel *, struct sk_buff *);
30 int (*ioctl)(struct ppp_channel *, unsigned int, unsigned long);
33 struct ppp_channel { struct
46 extern void ppp_output_wakeup(struct ppp_channel *); argument
50 extern void ppp_input(struct ppp_channel *, struct sk_buff *);
54 extern void ppp_input_error(struct ppp_channel *, int code);
57 extern int ppp_register_net_channel(struct net *, struct ppp_channel *);
60 extern int ppp_register_channel(struct ppp_channel *);
63 extern void ppp_unregister_channel(struct ppp_channel *);
[all …]
Dif_pppox.h47 struct ppp_channel chan;
/Linux-v5.4/drivers/tty/ipwireless/
Dnetwork.c42 struct ppp_channel *ppp_channel; member
74 if (network->ppp_channel != NULL) { in notify_packet_sent()
78 ppp_output_wakeup(network->ppp_channel); in notify_packet_sent()
91 static int ipwireless_ppp_start_xmit(struct ppp_channel *ppp_channel, in ipwireless_ppp_start_xmit() argument
94 struct ipw_network *network = ppp_channel->private; in ipwireless_ppp_start_xmit()
156 static int ipwireless_ppp_ioctl(struct ppp_channel *ppp_channel, in ipwireless_ppp_ioctl() argument
159 struct ipw_network *network = ppp_channel->private; in ipwireless_ppp_ioctl()
256 if (!network->ppp_channel) { in do_go_online()
257 struct ppp_channel *channel; in do_go_online()
260 channel = kzalloc(sizeof(struct ppp_channel), GFP_KERNEL); in do_go_online()
[all …]
/Linux-v5.4/net/atm/
Dpppoatm.c67 struct ppp_channel chan; /* interface to generic ppp layer */
94 static inline struct pppoatm_vcc *chan_to_pvcc(const struct ppp_channel *chan) in chan_to_pvcc()
106 ppp_output_wakeup((struct ppp_channel *) arg); in pppoatm_wakeup_sender()
287 static int pppoatm_send(struct ppp_channel *chan, struct sk_buff *skb) in pppoatm_send()
368 static int pppoatm_devppp_ioctl(struct ppp_channel *chan, unsigned int cmd, in pppoatm_devppp_ioctl()
/Linux-v5.4/drivers/net/ppp/
Dppp_synctty.c74 struct ppp_channel chan; /* interface to generic ppp layer */
90 static int ppp_sync_send(struct ppp_channel *chan, struct sk_buff *skb);
91 static int ppp_sync_ioctl(struct ppp_channel *chan, unsigned int cmd,
396 ppp_sync_ioctl(struct ppp_channel *chan, unsigned int cmd, unsigned long arg) in ppp_sync_ioctl()
566 ppp_sync_send(struct ppp_channel *chan, struct sk_buff *skb) in ppp_sync_send()
Dppp_async.c70 struct ppp_channel chan; /* interface to generic ppp layer */
97 static int ppp_async_send(struct ppp_channel *chan, struct sk_buff *skb);
102 static int ppp_async_ioctl(struct ppp_channel *chan, unsigned int cmd,
403 ppp_async_ioctl(struct ppp_channel *chan, unsigned int cmd, unsigned long arg) in ppp_async_ioctl()
628 ppp_async_send(struct ppp_channel *chan, struct sk_buff *skb) in ppp_async_send()
Dppp_generic.c171 struct ppp_channel *chan; /* public channel data structure */
616 struct ppp_channel *chan; in ppp_ioctl()
1689 struct ppp_channel *chan; in ppp_mp_explode()
2005 ppp_input(struct ppp_channel *chan, struct sk_buff *skb) in ppp_input()
2044 ppp_input_error(struct ppp_channel *chan, int code) in ppp_input_error()
2594 int ppp_register_channel(struct ppp_channel *chan) in ppp_register_channel()
2600 int ppp_register_net_channel(struct net *net, struct ppp_channel *chan) in ppp_register_net_channel()
2636 int ppp_channel_index(struct ppp_channel *chan) in ppp_channel_index()
2648 int ppp_unit_number(struct ppp_channel *chan) in ppp_unit_number()
2665 char *ppp_dev_name(struct ppp_channel *chan) in ppp_dev_name()
[all …]
Dpptp.c131 static int pptp_xmit(struct ppp_channel *chan, struct sk_buff *skb) in pptp_xmit()
567 static int pptp_ppp_ioctl(struct ppp_channel *chan, unsigned int cmd, in pptp_ppp_ioctl()
Dpppoe.c968 static int pppoe_xmit(struct ppp_channel *chan, struct sk_buff *skb) in pppoe_xmit()
/Linux-v5.4/Documentation/networking/
Dppp_generic.txt41 See include/linux/ppp_channel.h for the declaration of the types and
46 via the ppp_channel.ops pointer:
123 The channel must provide an instance of a ppp_channel struct to
134 ppp_channel struct to the amount of headroom required. The generic
199 are required to provide the appropriate locking on the ppp_channel
202 the storage for the ppp_channel structure, and so the channel is
208 * The ppp_channel object must exist from the time that
/Linux-v5.4/net/l2tp/
Dl2tp_ppp.c126 static int pppol2tp_xmit(struct ppp_channel *chan, struct sk_buff *skb);
352 static int pppol2tp_xmit(struct ppp_channel *chan, struct sk_buff *skb) in pppol2tp_xmit()