Home
last modified time | relevance | path

Searched refs:lapb (Results 1 – 14 of 14) sorted by relevance

/linux/net/lapb/
A Dlapb_in.c60 lapb->n2count = 0; in lapb_state0_machine()
61 lapb->vs = 0; in lapb_state0_machine()
62 lapb->vr = 0; in lapb_state0_machine()
63 lapb->va = 0; in lapb_state0_machine()
80 lapb->n2count = 0; in lapb_state0_machine()
81 lapb->vs = 0; in lapb_state0_machine()
82 lapb->vr = 0; in lapb_state0_machine()
83 lapb->va = 0; in lapb_state0_machine()
415 lapb->vr = (lapb->vr + 1) % modulus; in lapb_state3_machine()
432 lapb->dev, frame->pf, lapb->vr); in lapb_state3_machine()
[all …]
A Dlapb_iface.c47 kfree(lapb); in lapb_free_cb()
115 if (!lapb) in lapb_create_cb()
148 if (lapb) { in lapb_register()
155 if (!lapb) in lapb_register()
179 if (!lapb) in lapb_unregister()
215 if (!lapb) in lapb_getparms()
251 if (!lapb) in lapb_setparms()
290 if (!lapb) in lapb_connect_request()
353 if (!lapb) in lapb_disconnect_request()
372 if (!lapb) in lapb_data_request()
[all …]
A Dlapb_timer.c41 lapb->t1timer.expires = jiffies + lapb->t1; in lapb_start_t1timer()
52 lapb->t2timer.expires = jiffies + lapb->t2; in lapb_start_t2timer()
77 struct lapb_cb *lapb = from_timer(lapb, t, t2timer); in lapb_t2timer_expiry() local
97 struct lapb_cb *lapb = from_timer(lapb, t, t1timer); in lapb_t1timer_expiry() local
113 lapb->n2count != lapb->n2) { in lapb_t1timer_expiry()
126 if (lapb->n2count == lapb->n2) { in lapb_t1timer_expiry()
137 lapb->dev); in lapb_t1timer_expiry()
141 lapb->dev); in lapb_t1timer_expiry()
151 if (lapb->n2count == lapb->n2) { in lapb_t1timer_expiry()
169 if (lapb->n2count == lapb->n2) { in lapb_t1timer_expiry()
[all …]
A Dlapb_out.c61 lapb->dev, lapb->state, poll_bit, lapb->vs, lapb->vr); in lapb_send_iframe()
72 start = !skb_peek(&lapb->ack_queue) ? lapb->va : lapb->vs; in lapb_kick()
73 end = (lapb->va + lapb->window) % modulus; in lapb_kick()
77 lapb->vs = start; in lapb_kick()
99 lapb->vs = (lapb->vs + 1) % modulus; in lapb_kick()
147 lapb_dbg(2, "(%p) S%d TX %3ph\n", lapb->dev, lapb->state, skb->data); in lapb_transmit_buffer()
159 lapb_dbg(1, "(%p) S%d TX SABME(1)\n", lapb->dev, lapb->state); in lapb_establish_data_link()
162 lapb_dbg(1, "(%p) S%d TX SABM(1)\n", lapb->dev, lapb->state); in lapb_establish_data_link()
173 lapb->dev, lapb->state, lapb->vr); in lapb_enquiry_response()
183 lapb->dev, lapb->state, lapb->vr); in lapb_timeout_response()
[all …]
A Dlapb_subr.c56 if (lapb->va != nr) in lapb_frames_acked()
57 while (skb_peek(&lapb->ack_queue) && lapb->va != nr) { in lapb_frames_acked()
60 lapb->va = (lapb->va + 1) % modulus; in lapb_frames_acked()
88 unsigned short vc = lapb->va; in lapb_validate_nr()
93 while (vc != lapb->vs) { in lapb_validate_nr()
99 return nr == lapb->vs; in lapb_validate_nr()
111 lapb_dbg(2, "(%p) S%d RX %3ph\n", lapb->dev, lapb->state, skb->data); in lapb_decode()
119 if (lapb->mode & LAPB_MLP) { in lapb_decode()
248 *dptr |= (lapb->vr << 5); in lapb_send_control()
281 lapb->dev, lapb->state, in lapb_transmit_frmr()
[all …]
A DMakefile6 obj-$(CONFIG_LAPB) += lapb.o
8 lapb-y := lapb_in.o lapb_out.o lapb_subr.o lapb_timer.o lapb_iface.o
A DKconfig18 <file:Documentation/networking/lapb-module.rst> for technical
22 module will be called lapb. If unsure, say N.
/linux/include/net/
A Dlapb.h123 void lapb_kick(struct lapb_cb *lapb);
126 void lapb_enquiry_response(struct lapb_cb *lapb);
127 void lapb_timeout_response(struct lapb_cb *lapb);
132 void lapb_clear_queues(struct lapb_cb *lapb);
134 void lapb_requeue_frames(struct lapb_cb *lapb);
138 void lapb_transmit_frmr(struct lapb_cb *lapb);
141 void lapb_start_t1timer(struct lapb_cb *lapb);
142 void lapb_start_t2timer(struct lapb_cb *lapb);
143 void lapb_stop_t1timer(struct lapb_cb *lapb);
144 void lapb_stop_t2timer(struct lapb_cb *lapb);
[all …]
/linux/Documentation/networking/
A Dindex.rst70 lapb-module
A Dlapb-module.rst33 file, <linux/lapb.h>. The header file <net/lapb.h> is internal to the LAPB
/linux/net/
A DMakefile29 obj-$(CONFIG_LAPB) += lapb/
A DKconfig228 source "net/lapb/Kconfig"
/linux/include/config/
A Dauto.conf.cmd1306 net/lapb/Kconfig \
/linux/
A DMAINTAINERS20646 F: Documentation/networking/lapb-module.rst
20650 F: include/*/lapb.h
20653 F: net/lapb/

Completed in 39 milliseconds