diff options
author | Thomas Osterried <thomas@osterried.de> | 2005-10-30 10:31:40 +0000 |
---|---|---|
committer | Thomas Osterried <thomas@osterried.de> | 2005-10-30 10:31:40 +0000 |
commit | f3a4c67e9091c98596c19784040b88ad446a87cf (patch) | |
tree | d200e4c73346a29e72452a2a62e7263b8cdecbeb /ax25ipd/ax25ipd.h | |
parent | 20a2c84a1c4488ae730bcb8c0ae52a12624c1848 (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.h | 9 |
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 */ |