1
0
mirror of https://github.com/PDP-10/klh10.git synced 2026-02-10 02:00:54 +00:00
Commit Graph

8 Commits

Author SHA1 Message Date
Olaf Seibert
ea4eb1adf6 Always include "cenv.h" or "klh10.h" as very first.
"klh10.h" includes "cenv.h".
This is possibly needed on systems that need some defines before
including system headers, for Long File Support.
I either moved an existing include line up or added #include "cenv.h"
where none of these was included before.

Note that most of the definitions in the "cenv.h" file are, or should be,
obsolete. Where still relevant, they should be detected by the
configure script.
2021-08-17 14:23:11 +02:00
Olaf Seibert
18f1e34ea6 Move some extern declarations to header files. 2016-02-17 20:44:40 +01:00
Olaf Seibert
e3e86227de Replace CENV_SYSF_BSDTIMEVAL with HAVE_SETITIMER and HAVE_GETTIMEOFDAY 2016-01-21 19:52:40 +01:00
Olaf Seibert
9312579251 clang-suggested changes, mostly wrt -Wparentheses
warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
2016-01-11 00:24:46 +01:00
Olaf Seibert
89be604190 Add libpcap for receiving and sending ethernet frames.
The goal is to retire KLH10_NET_BPF, _PFLT, _DLPI and _LNX as much as possible.
However where ethernet addresses are manipulated, such operating system dependent methods still need to be used, since libpcap does not handle that.

Code for the other packet filters is still included but most likely does not work.
To use the new code, add -DKLH10_NET_PCAP to the Makefile(s).
2015-12-20 17:56:51 +01:00
Olaf Seibert
79658f9bf8 Compiler suggested cleanups (mostly declarations). 2015-12-16 00:52:52 +01:00
Olaf Seibert
58b59dbaa1 Overlay panda-dist/klh10-2.0h
by the late MRC, Mark Crispin.
Source: probably the former http://panda.com/tops-20/ .
panda-dist.tar.gz dated Mar 30  2007.
2015-04-27 23:07:21 +02:00
Olaf Seibert
742b43d025 Initial import of klh10-2.0a.tgz
dated Nov 19  2001.
Source: http://klh10.trailing-edge.com/
2015-04-27 22:54:12 +02:00