Lines Matching +full:0 +full:x25
21 #include <net/x25.h>
57 return 0; in x25_seq_route_show()
81 struct x25_sock *x25; in x25_seq_socket_show() local
92 x25 = x25_sk(s); in x25_seq_socket_show()
94 if (!x25->neighbour || (dev = x25->neighbour->dev) == NULL) in x25_seq_socket_show()
97 devname = x25->neighbour->dev->name; in x25_seq_socket_show()
101 !x25->dest_addr.x25_addr[0] ? "*" : x25->dest_addr.x25_addr, in x25_seq_socket_show()
102 !x25->source_addr.x25_addr[0] ? "*" : x25->source_addr.x25_addr, in x25_seq_socket_show()
103 devname, x25->lci & 0x0FFF, x25->state, x25->vs, x25->vr, in x25_seq_socket_show()
104 x25->va, x25_display_timer(s) / HZ, x25->t2 / HZ, in x25_seq_socket_show()
105 x25->t21 / HZ, x25->t22 / HZ, x25->t23 / HZ, in x25_seq_socket_show()
108 s->sk_socket ? SOCK_INODE(s->sk_socket)->i_ino : 0L); in x25_seq_socket_show()
110 return 0; in x25_seq_socket_show()
145 return 0; in x25_seq_forward_show()
171 if (!proc_mkdir("x25", init_net.proc_net)) in x25_proc_init()
174 if (!proc_create_seq("x25/route", 0444, init_net.proc_net, in x25_proc_init()
178 if (!proc_create_seq("x25/socket", 0444, init_net.proc_net, in x25_proc_init()
182 if (!proc_create_seq("x25/forward", 0444, init_net.proc_net, in x25_proc_init()
185 return 0; in x25_proc_init()
188 remove_proc_subtree("x25", init_net.proc_net); in x25_proc_init()
194 remove_proc_subtree("x25", init_net.proc_net); in x25_proc_exit()
201 return 0; in x25_proc_init()