From f3a4c67e9091c98596c19784040b88ad446a87cf Mon Sep 17 00:00:00 2001 From: Thomas Osterried Date: Sun, 30 Oct 2005 10:31:40 +0000 Subject: - tun/tap support for ax25ipd - fclose() fix in config.c description of tun/tap: added a new fast and efficient link to the linux kernel ax25 stack, via the ethertap interface. ax25 goes directly to the bpqether interface in the kernel via ethertap/tuntap interfaces, which is a much better way than traditional kissattach to a ttyp/ptyp pair. --- ax25ipd/ax25ipd.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'ax25ipd/ax25ipd.h') diff --git a/ax25ipd/ax25ipd.h b/ax25ipd/ax25ipd.h index de845b8..818cd50 100644 --- a/ax25ipd/ax25ipd.h +++ b/ax25ipd/ax25ipd.h @@ -180,6 +180,15 @@ void usr1_handler(int); void int_handler(int); void term_handler(int); +/* io.c */ +extern int ttyfd_bpq; + +/* bpqether.c */ +int send_bpq(unsigned char *buf, int len); +int receive_bpq(unsigned char *buf, int l); +int open_ethertap(char *ifname); +int set_bpq_dev_call_and_up(char *ethertap_name); + /* * end */ -- cgit v1.2.3