/* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * Copyright Jonathan Naylor G4KLX (g4klx@g4klx.demon.co.uk) * Copyright Alan Cox GW4PTS (alan@lxorguk.ukuu.org.uk) * Copyright Darryl Miles G7LED (dlm@g7led.demon.co.uk) */#include<linux/config.h>#include<linux/module.h>#include<linux/moduleparam.h>#include<linux/capability.h>#include<linux/errno.h>#include<linux/types.h>#include<linux/socket.h>#include<linux/in.h>#include<linux/kernel.h>#include<linux/sched.h>#include<linux/timer.h>#include<linux/string.h>#include<linux/sockios.h>#include<linux/net.h>#include<linux/stat.h>#include<net/ax25.h>#include<linux/inet.h>#include<linux/netdevice.h>#include<linux/if_arp.h>#include<linux/skbuff.h>#include<net/sock.h>#include<asm/uaccess.h>#include<asm/system.h>#include<linux/fcntl.h>#include<linux/termios.h> /* For TIOCINQ/OUTQ */#include<linux/mm.h>#include<linux/interrupt.h>#include<linux/notifier.h>#include<net/netrom.h>#include<linux/proc_fs.h>#include<linux/seq_file.h>#include<net/ip.h>#include<net/tcp_states.h>#include<net/arp.h>#include<linux/init.h>staticintnr_ndevs=4;intsysctl_netrom_default_path_quality=NR_DEFAULT_QUAL;intsysctl_netrom_obsolescence_count_initialiser=NR_DEFAULT_OBS;int