summaryrefslogtreecommitdiffstats
path: root/ax25ipd/ax25ipd.h
diff options
context:
space:
mode:
authorThomas Osterried <thomas@osterried.de>2005-10-30 10:31:40 +0000
committerThomas Osterried <thomas@osterried.de>2005-10-30 10:31:40 +0000
commitf3a4c67e9091c98596c19784040b88ad446a87cf (patch)
treed200e4c73346a29e72452a2a62e7263b8cdecbeb /ax25ipd/ax25ipd.h
parent20a2c84a1c4488ae730bcb8c0ae52a12624c1848 (diff)
- 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.
Diffstat (limited to 'ax25ipd/ax25ipd.h')
-rw-r--r--ax25ipd/ax25ipd.h9
1 files changed, 9 insertions, 0 deletions
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
*/