Lines Matching defs:ppp
102 struct ppp { struct
103 struct ppp_file file; /* stuff for read/write/poll 0 */ argument
104 struct file *owner; /* file that owns this unit 48 */
105 struct list_head channels; /* list of attached channels 4c */
106 int n_channels; /* how many channels are attached 54 */
107 spinlock_t rlock; /* lock for receive side 58 */
108 spinlock_t wlock; /* lock for transmit side 5c */
109 int mru; /* max receive unit 60 */
110 unsigned int flags; /* control bits 64 */
111 unsigned int xstate; /* transmit state bits 68 */
112 unsigned int rstate; /* receive state bits 6c */
113 int debug; /* debug flags 70 */
114 struct slcompress *vj; /* state for VJ header compression */
138 struct net *ppp_net; /* the net we belong to */ argument
162 struct ppp *ppp; /* ppp unit we're connected to */ member
348 #define ppp_xmit_lock(ppp) spin_lock_bh(&(ppp)->wlock) argument
349 #define ppp_xmit_unlock(ppp) spin_unlock_bh(&(ppp)->wlock) argument
350 #define ppp_recv_lock(ppp) spin_lock_bh(&(ppp)->rlock) argument
351 #define ppp_recv_unlock(ppp) spin_unlock_bh(&(ppp)->rlock) argument
352 #define ppp_lock(ppp) do { ppp_xmit_lock(ppp); \ argument
354 #define ppp_unlock(ppp) do { ppp_recv_unlock(ppp); \ argument
377 struct ppp *ppp; in ppp_release() local
428 struct ppp *ppp = PF_TO_PPP(pf); in ppp_read() local
516 struct ppp *ppp = PF_TO_PPP(pf); in ppp_poll() local
559 struct ppp *ppp; in ppp_ioctl() local
794 struct ppp *ppp; in ppp_unattached_ioctl() local
941 struct ppp *ppp = netdev_priv(dev); in ppp_start_xmit() local
985 struct ppp *ppp = netdev_priv(dev); in ppp_net_ioctl() local
1052 ppp_xmit_process(struct ppp *ppp) in ppp_xmit_process()
1071 pad_compress_skb(struct ppp *ppp, struct sk_buff *skb) in pad_compress_skb()
1126 ppp_send_frame(struct ppp *ppp, struct sk_buff *skb) in ppp_send_frame()
1244 ppp_push(struct ppp *ppp) in ppp_push()
1300 static int ppp_mp_explode(struct ppp *ppp, struct sk_buff *skb) in ppp_mp_explode()
1532 struct ppp *ppp; in ppp_channel_push() local
1570 ppp_do_recv(struct ppp *ppp, struct sk_buff *skb, struct channel *pch) in ppp_do_recv()
1645 ppp_receive_frame(struct ppp *ppp, struct sk_buff *skb, struct channel *pch) in ppp_receive_frame()
1663 ppp_receive_error(struct ppp *ppp) in ppp_receive_error()
1671 ppp_receive_nonmp_frame(struct ppp *ppp, struct sk_buff *skb) in ppp_receive_nonmp_frame()
1811 ppp_decompress_frame(struct ppp *ppp, struct sk_buff *skb) in ppp_decompress_frame()
1881 ppp_receive_mp_frame(struct ppp *ppp, struct sk_buff *skb, struct channel *pch) in ppp_receive_mp_frame()
1979 ppp_mp_insert(struct ppp *ppp, struct sk_buff *skb) in ppp_mp_insert()
2001 ppp_mp_reconstruct(struct ppp *ppp) in ppp_mp_reconstruct()
2303 ppp_set_compress(struct ppp *ppp, unsigned long arg) in ppp_set_compress()
2374 ppp_ccp_peek(struct ppp *ppp, struct sk_buff *skb, int inbound) in ppp_ccp_peek()
2459 ppp_ccp_closed(struct ppp *ppp) in ppp_ccp_closed()
2567 ppp_get_stats(struct ppp *ppp, struct ppp_stats *st) in ppp_get_stats()
2603 struct ppp *ppp; in ppp_create_interface() local
2707 static void ppp_shutdown_interface(struct ppp *ppp) in ppp_shutdown_interface()
2736 static void ppp_destroy_interface(struct ppp *ppp) in ppp_destroy_interface()
2814 struct ppp *ppp; in ppp_connect_channel() local
2856 struct ppp *ppp; in ppp_disconnect_channel() local