Searched refs:x25 (Results 1 – 11 of 11) sorted by relevance
/net/x25/ |
D | x25_in.c | 38 struct x25_sock *x25 = x25_sk(sk); in x25_queue_rx_frame() local 41 x25->fraglen += skb->len; in x25_queue_rx_frame() 42 skb_queue_tail(&x25->fragment_queue, skb); in x25_queue_rx_frame() 47 if (!more && x25->fraglen > 0) { /* End of fragment */ in x25_queue_rx_frame() 48 int len = x25->fraglen + skb->len; in x25_queue_rx_frame() 55 skb_queue_tail(&x25->fragment_queue, skb); in x25_queue_rx_frame() 59 skbo = skb_dequeue(&x25->fragment_queue); in x25_queue_rx_frame() 65 skb_dequeue(&x25->fragment_queue)) != NULL) { in x25_queue_rx_frame() 66 skb_pull(skbo, (x25->neighbour->extended) ? in x25_queue_rx_frame() 74 x25->fraglen = 0; in x25_queue_rx_frame() [all …]
|
D | x25_subr.c | 39 struct x25_sock *x25 = x25_sk(sk); in x25_clear_queues() local 42 skb_queue_purge(&x25->ack_queue); in x25_clear_queues() 43 skb_queue_purge(&x25->interrupt_in_queue); in x25_clear_queues() 44 skb_queue_purge(&x25->interrupt_out_queue); in x25_clear_queues() 45 skb_queue_purge(&x25->fragment_queue); in x25_clear_queues() 57 struct x25_sock *x25 = x25_sk(sk); in x25_frames_acked() local 58 int modulus = x25->neighbour->extended ? X25_EMODULUS : X25_SMODULUS; in x25_frames_acked() 63 if (x25->va != nr) in x25_frames_acked() 64 while (skb_peek(&x25->ack_queue) && x25->va != nr) { in x25_frames_acked() 65 skb = skb_dequeue(&x25->ack_queue); in x25_frames_acked() [all …]
|
D | x25_out.c | 58 struct x25_sock *x25 = x25_sk(sk); in x25_output() local 59 int header_len = x25->neighbour->extended ? X25_EXT_MIN_LEN : in x25_output() 61 int max_len = x25_pacsize_to_bytes(x25->facilities.pacsize_out); in x25_output() 99 if (x25->neighbour->extended) in x25_output() 123 struct x25_sock *x25 = x25_sk(sk); in x25_send_iframe() local 128 if (x25->neighbour->extended) { in x25_send_iframe() 129 skb->data[2] = (x25->vs << 1) & 0xFE; in x25_send_iframe() 131 skb->data[3] |= (x25->vr << 1) & 0xFE; in x25_send_iframe() 134 skb->data[2] |= (x25->vs << 1) & 0x0E; in x25_send_iframe() 135 skb->data[2] |= (x25->vr << 5) & 0xE0; in x25_send_iframe() [all …]
|
D | x25_timer.c | 34 struct x25_sock *x25 = x25_sk(sk); in x25_init_timers() local 36 setup_timer(&x25->timer, x25_timer_expiry, (unsigned long)sk); in x25_init_timers() 55 struct x25_sock *x25 = x25_sk(sk); in x25_start_t2timer() local 57 mod_timer(&x25->timer, jiffies + x25->t2); in x25_start_t2timer() 62 struct x25_sock *x25 = x25_sk(sk); in x25_start_t21timer() local 64 mod_timer(&x25->timer, jiffies + x25->t21); in x25_start_t21timer() 69 struct x25_sock *x25 = x25_sk(sk); in x25_start_t22timer() local 71 mod_timer(&x25->timer, jiffies + x25->t22); in x25_start_t22timer() 76 struct x25_sock *x25 = x25_sk(sk); in x25_start_t23timer() local 78 mod_timer(&x25->timer, jiffies + x25->t23); in x25_start_t23timer() [all …]
|
D | af_x25.c | 518 struct x25_sock *x25; in x25_alloc_socket() local 526 x25 = x25_sk(sk); in x25_alloc_socket() 527 skb_queue_head_init(&x25->ack_queue); in x25_alloc_socket() 528 skb_queue_head_init(&x25->fragment_queue); in x25_alloc_socket() 529 skb_queue_head_init(&x25->interrupt_in_queue); in x25_alloc_socket() 530 skb_queue_head_init(&x25->interrupt_out_queue); in x25_alloc_socket() 539 struct x25_sock *x25; in x25_create() local 557 x25 = x25_sk(sk); in x25_create() 567 x25->t21 = sysctl_x25_call_request_timeout; in x25_create() 568 x25->t22 = sysctl_x25_reset_request_timeout; in x25_create() [all …]
|
D | x25_proc.c | 86 struct x25_sock *x25; in x25_seq_socket_show() local 97 x25 = x25_sk(s); in x25_seq_socket_show() 99 if (!x25->neighbour || (dev = x25->neighbour->dev) == NULL) in x25_seq_socket_show() 102 devname = x25->neighbour->dev->name; in x25_seq_socket_show() 106 !x25->dest_addr.x25_addr[0] ? "*" : x25->dest_addr.x25_addr, in x25_seq_socket_show() 107 !x25->source_addr.x25_addr[0] ? "*" : x25->source_addr.x25_addr, in x25_seq_socket_show() 108 devname, x25->lci & 0x0FFF, x25->state, x25->vs, x25->vr, in x25_seq_socket_show() 109 x25->va, x25_display_timer(s) / HZ, x25->t2 / HZ, in x25_seq_socket_show() 110 x25->t21 / HZ, x25->t22 / HZ, x25->t23 / HZ, in x25_seq_socket_show()
|
D | Makefile | 5 obj-$(CONFIG_X25) += x25.o 7 x25-y := af_x25.o x25_dev.o x25_facilities.o x25_in.o \ 10 x25-$(CONFIG_SYSCTL) += sysctl_net_x25.o
|
D | Kconfig | 19 You can read more about X.25 at <http://www.sangoma.com/x25.htm> and 22 <file:Documentation/networking/x25.txt> and 23 <file:Documentation/networking/x25-iface.txt>. 33 will be called x25. If unsure, say N.
|
D | x25_facilities.c | 267 struct x25_sock *x25 = x25_sk(sk); in x25_negotiate_facilities() local 268 struct x25_facilities *ours = &x25->facilities; in x25_negotiate_facilities() 275 len = x25_parse_facilities(skb, &theirs, dte, &x25->vc_facil_mask); in x25_negotiate_facilities()
|
/net/ |
D | Makefile | 29 obj-$(CONFIG_X25) += x25/
|
D | Kconfig | 223 source "net/x25/Kconfig"
|