Home
last modified time | relevance | path

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

/linux-6.1.9/include/linux/
Dppp_channel.h25 struct ppp_channel;
30 int (*start_xmit)(struct ppp_channel *, struct sk_buff *);
32 int (*ioctl)(struct ppp_channel *, unsigned int, unsigned long);
35 const struct ppp_channel *);
38 struct ppp_channel { struct
51 extern void ppp_output_wakeup(struct ppp_channel *); argument
55 extern void ppp_input(struct ppp_channel *, struct sk_buff *);
59 extern void ppp_input_error(struct ppp_channel *, int code);
62 extern int ppp_register_net_channel(struct net *, struct ppp_channel *);
65 extern int ppp_register_channel(struct ppp_channel *);
[all …]
Dif_pppox.h45 struct ppp_channel chan;
/linux-6.1.9/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-6.1.9/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()
289 static int pppoatm_send(struct ppp_channel *chan, struct sk_buff *skb) in pppoatm_send()
370 static int pppoatm_devppp_ioctl(struct ppp_channel *chan, unsigned int cmd, in pppoatm_devppp_ioctl()
/linux-6.1.9/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,
395 ppp_sync_ioctl(struct ppp_channel *chan, unsigned int cmd, unsigned long arg) in ppp_sync_ioctl()
565 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,
402 ppp_async_ioctl(struct ppp_channel *chan, unsigned int cmd, unsigned long arg) in ppp_async_ioctl()
627 ppp_async_send(struct ppp_channel *chan, struct sk_buff *skb) in ppp_async_send()
Dppp_generic.c173 struct ppp_channel *chan; /* public channel data structure */
735 struct ppp_channel *chan; in ppp_ioctl()
1584 struct ppp_channel *chan; in ppp_fill_forward_path()
1928 struct ppp_channel *chan; in ppp_mp_explode()
2278 ppp_input(struct ppp_channel *chan, struct sk_buff *skb) in ppp_input()
2321 ppp_input_error(struct ppp_channel *chan, int code) in ppp_input_error()
2871 int ppp_register_channel(struct ppp_channel *chan) in ppp_register_channel()
2877 int ppp_register_net_channel(struct net *net, struct ppp_channel *chan) in ppp_register_net_channel()
2913 int ppp_channel_index(struct ppp_channel *chan) in ppp_channel_index()
2925 int ppp_unit_number(struct ppp_channel *chan) in ppp_unit_number()
[all …]
Dpptp.c131 static int pptp_xmit(struct ppp_channel *chan, struct sk_buff *skb) in pptp_xmit()
566 static int pptp_ppp_ioctl(struct ppp_channel *chan, unsigned int cmd, in pptp_ppp_ioctl()
Dpppoe.c969 static int pppoe_xmit(struct ppp_channel *chan, struct sk_buff *skb) in pppoe_xmit()
977 const struct ppp_channel *chan) in pppoe_fill_forward_path()
/linux-6.1.9/Documentation/networking/
Dppp_generic.rst45 See include/linux/ppp_channel.h for the declaration of the types and
50 via the ppp_channel.ops pointer:
127 The channel must provide an instance of a ppp_channel struct to
138 ppp_channel struct to the amount of headroom required. The generic
203 are required to provide the appropriate locking on the ppp_channel
206 the storage for the ppp_channel structure, and so the channel is
212 * The ppp_channel object must exist from the time that
/linux-6.1.9/net/l2tp/
Dl2tp_ppp.c125 static int pppol2tp_xmit(struct ppp_channel *chan, struct sk_buff *skb);
345 static int pppol2tp_xmit(struct ppp_channel *chan, struct sk_buff *skb) in pppol2tp_xmit()