summaryrefslogtreecommitdiffstats
path: root/ax25ipd/ax25ipd.h
Commit message (Collapse)AuthorAgeFilesLines
* ax25ipd: Make LOGx() macros bulletproof.Ralf Baechle2013-06-171-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The LOGL1..LOGL4 macros were defined like: Now consider an invocation like: if (condition) LOGL1(...); else something_different(); CPP will expand this like: if (condition) if (loglevel>0) syslog(LOG_DAEMON | LOG_WARNING, ...); else something_different(); That is the else would now be considered associated with the wrong if. Macro arguments may also not have been evaluated on every invocation making the use of these function-like looking macros not function like. For example: LOGL1("%d", i++); would be expanded to if (loglevel>0) syslog(LOG_DAEMON | LOG_WARNING, i++); That is depending on the value of loglevel i++ would only be incremented if syslog was actually being called. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Eleminate use of register keywordRalf Baechle2009-06-141-1/+1
| | | | | Any modern C compiler will just ignore register so it's just cluttering the screen.
* Added some includes. This fixes compilation problems in gentoo,Thomas Osterried2009-04-221-0/+1
| | | | and warnings.
* Better integration in unix98 PTY environments.Thomas Osterried2009-01-311-1/+1
| | | | | | Revised the getopt_long() part. Assured strcpy cases. Thanks to Christoph <dk2crn> for contribution.
* contact updateThomas Osterried2009-01-191-1/+1
|
* Support for unix98 ptys ("/dev/ptmx"). Thanks to dk2crn.Thomas Osterried2008-10-111-0/+1
|
* io.c: io_error(): patch from testing upstream version.Thomas Osterried2006-06-101-1/+1
| | | | fixes problem that it tends to terminate even if it need not to
* - tun/tap support for ax25ipdThomas Osterried2005-10-301-0/+9
| | | | | | | | | | | - 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.
* merged my changes with terry indent, daemon can now optionally not forkCraig Small2001-11-271-4/+4
|
* updated libtool, uniformly indented source, corrected small ax25mond ↵Terry Dawson VK2KTJ2001-09-121-0/+3
| | | | Makefile bug
* Import ax25-apps 0.0.1 from tarballax25-apps-0.0.1Ralf Baechle1999-06-071-0/+182