/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/lapb/ |
H A D | lapb_timer.c | 35 #include <net/lapb.h> 40 void lapb_start_t1timer(struct lapb_cb *lapb) argument 42 del_timer(&lapb->t1timer); 44 lapb->t1timer.data = (unsigned long)lapb; 45 lapb->t1timer.function = &lapb_t1timer_expiry; 46 lapb->t1timer.expires = jiffies + lapb->t1; 48 add_timer(&lapb->t1timer); 51 void lapb_start_t2timer(struct lapb_cb *lapb) argument 62 lapb_stop_t1timer(struct lapb_cb *lapb) argument 67 lapb_stop_t2timer(struct lapb_cb *lapb) argument 72 lapb_t1timer_running(struct lapb_cb *lapb) argument 79 struct lapb_cb *lapb = (struct lapb_cb *)param; local 89 struct lapb_cb *lapb = (struct lapb_cb *)param; local [all...] |
H A D | lapb_in.c | 36 #include <net/lapb.h> 42 static void lapb_state0_machine(struct lapb_cb *lapb, struct sk_buff *skb, argument 48 printk(KERN_DEBUG "lapb: (%p) S0 RX SABM(%d)\n", 49 lapb->dev, frame->pf); 51 if (lapb->mode & LAPB_EXTENDED) { 53 printk(KERN_DEBUG "lapb: (%p) S0 TX DM(%d)\n", 54 lapb->dev, frame->pf); 56 lapb_send_control(lapb, LAPB_DM, frame->pf, 60 printk(KERN_DEBUG "lapb: (%p) S0 TX UA(%d)\n", 61 lapb 138 lapb_state1_machine(struct lapb_cb *lapb, struct sk_buff *skb, struct lapb_frame *frame) argument 245 lapb_state2_machine(struct lapb_cb *lapb, struct sk_buff *skb, struct lapb_frame *frame) argument 330 lapb_state3_machine(struct lapb_cb *lapb, struct sk_buff *skb, struct lapb_frame *frame) argument 619 lapb_state4_machine(struct lapb_cb *lapb, struct sk_buff *skb, struct lapb_frame *frame) argument 700 lapb_data_input(struct lapb_cb *lapb, struct sk_buff *skb) argument [all...] |
H A D | lapb_iface.c | 40 #include <net/lapb.h> 46 * Free an allocated lapb control block. 48 static void lapb_free_cb(struct lapb_cb *lapb) argument 50 kfree(lapb); 53 static __inline__ void lapb_hold(struct lapb_cb *lapb) argument 55 atomic_inc(&lapb->refcnt); 58 static __inline__ void lapb_put(struct lapb_cb *lapb) argument 60 if (atomic_dec_and_test(&lapb->refcnt)) 61 lapb_free_cb(lapb); 67 static void __lapb_remove_cb(struct lapb_cb *lapb) argument 78 __lapb_insert_cb(struct lapb_cb *lapb) argument 87 struct lapb_cb *lapb, *use = NULL; local 118 struct lapb_cb *lapb = kzalloc(sizeof(*lapb), GFP_ATOMIC); local 143 struct lapb_cb *lapb; local 174 struct lapb_cb *lapb; local 199 struct lapb_cb *lapb = lapb_devtostruct(dev); local 231 struct lapb_cb *lapb = lapb_devtostruct(dev); local 265 struct lapb_cb *lapb = lapb_devtostruct(dev); local 295 struct lapb_cb *lapb = lapb_devtostruct(dev); local 347 struct lapb_cb *lapb = lapb_devtostruct(dev); local 368 struct lapb_cb *lapb = lapb_devtostruct(dev); local 380 lapb_connect_confirmation(struct lapb_cb *lapb, int reason) argument 386 lapb_connect_indication(struct lapb_cb *lapb, int reason) argument 392 lapb_disconnect_confirmation(struct lapb_cb *lapb, int reason) argument 398 lapb_disconnect_indication(struct lapb_cb *lapb, int reason) argument 404 lapb_data_indication(struct lapb_cb *lapb, struct sk_buff *skb) argument 413 lapb_data_transmit(struct lapb_cb *lapb, struct sk_buff *skb) argument [all...] |
H A D | lapb_out.c | 34 #include <net/lapb.h> 40 static void lapb_send_iframe(struct lapb_cb *lapb, struct sk_buff *skb, int poll_bit) argument 47 if (lapb->mode & LAPB_EXTENDED) { 51 frame[0] |= lapb->vs << 1; 53 frame[1] |= lapb->vr << 1; 59 *frame |= lapb->vr << 5; 60 *frame |= lapb->vs << 1; 64 printk(KERN_DEBUG "lapb: (%p) S%d TX I(%d) S%d R%d\n", 65 lapb->dev, lapb 71 lapb_kick(struct lapb_cb *lapb) argument 119 lapb_transmit_buffer(struct lapb_cb *lapb, struct sk_buff *skb, int type) argument 161 lapb_establish_data_link(struct lapb_cb *lapb) argument 184 lapb_enquiry_response(struct lapb_cb *lapb) argument 196 lapb_timeout_response(struct lapb_cb *lapb) argument 207 lapb_check_iframes_acked(struct lapb_cb *lapb, unsigned short nr) argument 219 lapb_check_need_response(struct lapb_cb *lapb, int type, int pf) argument [all...] |
H A D | Makefile | 5 obj-$(CONFIG_LAPB) += lapb.o 7 lapb-objs := lapb_in.o lapb_out.o lapb_subr.o lapb_timer.o lapb_iface.o
|
H A D | lapb_subr.c | 33 #include <net/lapb.h> 38 void lapb_clear_queues(struct lapb_cb *lapb) argument 40 skb_queue_purge(&lapb->write_queue); 41 skb_queue_purge(&lapb->ack_queue); 49 void lapb_frames_acked(struct lapb_cb *lapb, unsigned short nr) argument 54 modulus = (lapb->mode & LAPB_EXTENDED) ? LAPB_EMODULUS : LAPB_SMODULUS; 59 if (lapb->va != nr) 60 while (skb_peek(&lapb->ack_queue) && lapb->va != nr) { 61 skb = skb_dequeue(&lapb 67 lapb_requeue_frames(struct lapb_cb *lapb) argument 89 lapb_validate_nr(struct lapb_cb *lapb, unsigned short nr) argument 109 lapb_decode(struct lapb_cb *lapb, struct sk_buff *skb, struct lapb_frame *frame) argument 228 lapb_send_control(struct lapb_cb *lapb, int frametype, int poll_bit, int type) argument 265 lapb_transmit_frmr(struct lapb_cb *lapb) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/net/ |
H A D | lapb.h | 3 #include <linux/lapb.h> 108 extern void lapb_connect_confirmation(struct lapb_cb *lapb, int); 109 extern void lapb_connect_indication(struct lapb_cb *lapb, int); 110 extern void lapb_disconnect_confirmation(struct lapb_cb *lapb, int); 111 extern void lapb_disconnect_indication(struct lapb_cb *lapb, int); 112 extern int lapb_data_indication(struct lapb_cb *lapb, struct sk_buff *); 113 extern int lapb_data_transmit(struct lapb_cb *lapb, struct sk_buff *); 116 extern void lapb_data_input(struct lapb_cb *lapb, struct sk_buff *); 119 extern void lapb_kick(struct lapb_cb *lapb); 120 extern void lapb_transmit_buffer(struct lapb_cb *lapb, struc [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ |
H A D | Makefile | 33 obj-$(CONFIG_LAPB) += lapb/
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/wan/ |
H A D | hdlc_raw.c | 22 #include <linux/lapb.h>
|
H A D | hdlc_ppp.c | 22 #include <linux/lapb.h>
|
H A D | hdlc_raw_eth.c | 23 #include <linux/lapb.h>
|
H A D | hdlc_x25.c | 22 #include <linux/lapb.h>
|
H A D | hdlc.c | 35 #include <linux/lapb.h>
|
H A D | lapbether.c | 43 #include <linux/lapb.h> 57 struct net_device *axdev; /* lapbeth device (lapb#) */ 343 ndev = alloc_netdev(sizeof(*lapbeth), "lapb%d", 374 * Free a lapb network device.
|
H A D | hdlc_cisco.c | 22 #include <linux/lapb.h>
|
H A D | x25_asy.c | 33 #include <linux/lapb.h> 370 * perhaps lapb should allow us to bounce this ?
|
H A D | hdlc_fr.c | 47 #include <linux/lapb.h>
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iproute2/lib/ |
H A D | ll_types.c | 75 __PF(LAPB,lapb)
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/networking/libiproute/ |
H A D | ll_types.c | 60 __PF(LAPB,lapb)
|