#ifndef _NETROM_H
#define _NETROM_H
#include <linux/netrom.h>
#include <linux/list.h>
#include <linux/slab.h>
#include <net/sock.h>
#include <linux/refcount.h>
#include <linux/seq_file.h>
#include <net/ax25.h>
#define NR_NETWORK_LEN …
#define NR_TRANSPORT_LEN …
#define NR_PROTO_IP …
#define NR_PROTOEXT …
#define NR_CONNREQ …
#define NR_CONNACK …
#define NR_DISCREQ …
#define NR_DISCACK …
#define NR_INFO …
#define NR_INFOACK …
#define NR_RESET …
#define NR_CHOKE_FLAG …
#define NR_NAK_FLAG …
#define NR_MORE_FLAG …
enum { … };
#define NR_COND_ACK_PENDING …
#define NR_COND_REJECT …
#define NR_COND_PEER_RX_BUSY …
#define NR_COND_OWN_RX_BUSY …
#define NR_DEFAULT_T1 …
#define NR_DEFAULT_T2 …
#define NR_DEFAULT_N2 …
#define NR_DEFAULT_T4 …
#define NR_DEFAULT_IDLE …
#define NR_DEFAULT_WINDOW …
#define NR_DEFAULT_OBS …
#define NR_DEFAULT_QUAL …
#define NR_DEFAULT_TTL …
#define NR_DEFAULT_ROUTING …
#define NR_DEFAULT_FAILS …
#define NR_DEFAULT_RESET …
#define NR_MODULUS …
#define NR_MAX_WINDOW_SIZE …
#define NR_MAX_PACKET_SIZE …
struct nr_sock { … };
#define nr_sk(sk) …
struct nr_neigh { … };
struct nr_route { … };
struct nr_node { … };
#define nr_node_hold(__nr_node) …
static __inline__ void nr_node_put(struct nr_node *nr_node)
{ … }
#define nr_neigh_hold(__nr_neigh) …
static __inline__ void nr_neigh_put(struct nr_neigh *nr_neigh)
{ … }
static __inline__ void nr_node_lock(struct nr_node *nr_node)
{ … }
static __inline__ void nr_node_unlock(struct nr_node *nr_node)
{ … }
#define nr_neigh_for_each(__nr_neigh, list) …
#define nr_neigh_for_each_safe(__nr_neigh, node2, list) …
#define nr_node_for_each(__nr_node, list) …
#define nr_node_for_each_safe(__nr_node, node2, list) …
extern int sysctl_netrom_default_path_quality;
extern int sysctl_netrom_obsolescence_count_initialiser;
extern int sysctl_netrom_network_ttl_initialiser;
extern int sysctl_netrom_transport_timeout;
extern int sysctl_netrom_transport_maximum_tries;
extern int sysctl_netrom_transport_acknowledge_delay;
extern int sysctl_netrom_transport_busy_delay;
extern int sysctl_netrom_transport_requested_window_size;
extern int sysctl_netrom_transport_no_activity_timeout;
extern int sysctl_netrom_routing_control;
extern int sysctl_netrom_link_fails_count;
extern int sysctl_netrom_reset_circuit;
int nr_rx_frame(struct sk_buff *, struct net_device *);
void nr_destroy_socket(struct sock *);
int nr_rx_ip(struct sk_buff *, struct net_device *);
void nr_setup(struct net_device *);
int nr_process_rx_frame(struct sock *, struct sk_buff *);
void nr_loopback_init(void);
void nr_loopback_clear(void);
int nr_loopback_queue(struct sk_buff *);
void nr_output(struct sock *, struct sk_buff *);
void nr_send_nak_frame(struct sock *);
void nr_kick(struct sock *);
void nr_transmit_buffer(struct sock *, struct sk_buff *);
void nr_establish_data_link(struct sock *);
void nr_enquiry_response(struct sock *);
void nr_check_iframes_acked(struct sock *, unsigned short);
void nr_rt_device_down(struct net_device *);
struct net_device *nr_dev_first(void);
struct net_device *nr_dev_get(ax25_address *);
int nr_rt_ioctl(unsigned int, void __user *);
void nr_link_failed(ax25_cb *, int);
int nr_route_frame(struct sk_buff *, ax25_cb *);
extern const struct seq_operations nr_node_seqops;
extern const struct seq_operations nr_neigh_seqops;
void nr_rt_free(void);
void nr_clear_queues(struct sock *);
void nr_frames_acked(struct sock *, unsigned short);
void nr_requeue_frames(struct sock *);
int nr_validate_nr(struct sock *, unsigned short);
int nr_in_rx_window(struct sock *, unsigned short);
void nr_write_internal(struct sock *, int);
void __nr_transmit_reply(struct sk_buff *skb, int mine, unsigned char cmdflags);
#define nr_transmit_refusal(skb, mine) …
#define nr_transmit_reset(skb, mine) …
void nr_disconnect(struct sock *, int);
void nr_init_timers(struct sock *sk);
void nr_start_heartbeat(struct sock *);
void nr_start_t1timer(struct sock *);
void nr_start_t2timer(struct sock *);
void nr_start_t4timer(struct sock *);
void nr_start_idletimer(struct sock *);
void nr_stop_heartbeat(struct sock *);
void nr_stop_t1timer(struct sock *);
void nr_stop_t2timer(struct sock *);
void nr_stop_t4timer(struct sock *);
void nr_stop_idletimer(struct sock *);
int nr_t1timer_running(struct sock *);
int nr_register_sysctl(void);
void nr_unregister_sysctl(void);
#endif