2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-29 13:28:14 +00:00

2505 Commits

Author SHA1 Message Date
Ted Lemon
0d37819ae0 Fix up pointer type incompatibility 1996-05-16 07:29:09 +00:00
Ted Lemon
70dfd63614 Traditionalize; change interface attach message 1996-05-16 07:28:40 +00:00
Ted Lemon
8bca1bc490 SunOS Network Interface Tap support 1996-05-16 07:27:58 +00:00
Ted Lemon
9ebbad6ee0 More informative interface attach message 1996-05-16 07:27:23 +00:00
Ted Lemon
7bb11ad5af Traditionalize ANSI-only constructs; lose if UDP checksum is bad; remove non-portable if_dl.h include; add userland packet filter (yuk); ARPHRD_ETHER - not ETHERTYPE_IP! 1996-05-16 07:26:52 +00:00
Ted Lemon
10e99bf10e Add struct-vs-array compatibility macros for jmp_buf and ether_[sd]host 1996-05-16 07:23:04 +00:00
Ted Lemon
0ef9f561ae Fix up pointer type mismatch 1996-05-16 07:22:00 +00:00
Ted Lemon
01ce583c6d Fix up array reference 1996-05-16 07:21:29 +00:00
Ted Lemon
cd05ee6b82 Add strerror() function if needed; account for lack of snprintf support 1996-05-16 07:20:51 +00:00
Ted Lemon
9c5225a562 Add support for SysV poll syscall; traditionalize ANSI-only construct 1996-05-16 07:20:15 +00:00
Ted Lemon
2f620dce9c Define cdefs before osdeps; macrofy a couple of prototypes 1996-05-16 07:18:45 +00:00
Ted Lemon
5fb85ad43c Change network range 1996-05-16 07:17:40 +00:00
Ted Lemon
fb93bab09d Unlink dhcpd.pid file before writing so that we don't leave garbage at the end 1996-05-16 07:17:23 +00:00
Ted Lemon
d3e5a8928c fix up char declarations; don't dump packets unless DEBUG_PACKET defined 1996-05-16 07:15:28 +00:00
Ted Lemon
31f26cd349 jmp_buf could be struct or array - macrofy references so that can be configurable; fix pointer incompatibilities 1996-05-16 07:12:57 +00:00
Ted Lemon
d64c88166a Move ifdefs so compiles on incompatible systems don't break; print more informative interface attach messages; snprintf lossage 1996-05-16 07:10:39 +00:00
Ted Lemon
5754c11556 Update object list; stop building dhclient; add LIBS variable 1996-05-16 07:08:59 +00:00
Ted Lemon
252cd87f28 Add NIT object; screw up dhclient build 1996-05-16 07:03:57 +00:00
Ted Lemon
60b60a2b69 Define default network API to use 1996-05-13 00:10:37 +00:00
Ted Lemon
e23c9055cc Rewrite socket code to support new network abstraction 1996-05-13 00:08:05 +00:00
Ted Lemon
62f52c1f15 Raw socket interface 1996-05-13 00:07:15 +00:00
Ted Lemon
096858eb14 Use note() to do raw dumps, not fprintf 1996-05-13 00:06:44 +00:00
Ted Lemon
d29ce0337d Complete rewrite of Archie Cobbs' low-level packet assembly code; add packet disassembly code 1996-05-13 00:06:06 +00:00
Ted Lemon
a04c50cd2e Include site.h file for choosing networking code; set default if none chosen in site.h; expand shorthand declarations 1996-05-13 00:05:01 +00:00
Ted Lemon
d5038b8417 Move interface_info struct to dhcpd.h 1996-05-13 00:03:48 +00:00
Ted Lemon
a033033207 Don't dereference null hash pointer (this may not be the right place to fix this 1996-05-13 00:03:27 +00:00
Ted Lemon
c27fba8ccc rearrange things to support new network abstraction, e.g. passing around hardware addresses and interface_info structs; if possible, discover hardware addresses of interfaces 1996-05-13 00:02:03 +00:00
Ted Lemon
17b95f417e Move interface_info struct here; add hardware_link struct; add interface info and hardware address to packet struct; fix send_packet and receive_packet declarations 1996-05-12 23:59:45 +00:00
Ted Lemon
aa31f5c6d6 Don't malloc packet structure - it's not persistent; lose pick_interfaces interface - this is determined by the receive_packet code now; move interface discovery into main startup code 1996-05-12 23:58:13 +00:00
Ted Lemon
fde927d2f5 Add support for hardware unicast; use send_packet instead of sendto; get interface address from packet rather than searching the list. 1996-05-12 23:55:27 +00:00
Ted Lemon
045820eec6 Complete rewrite of Archie Cobbs' bpf code 1996-05-12 23:53:55 +00:00
Ted Lemon
ace4a0ab38 Minor wording tweak 1996-05-12 23:51:02 +00:00
Ted Lemon
81e0b89677 Add dispatch.c, bpf.c, packet.c and raw.c 1996-05-12 23:50:22 +00:00
Ted Lemon
7aa340813d Define HAVE_SIN_LEN 1996-04-11 06:50:22 +00:00
Ted Lemon
98078fdb25 Add support for network API configuration 1996-04-11 06:50:03 +00:00
Ted Lemon
c857a7b6cb Socket.c now contains code for the standard UDP socket interface; bpf code has been moved to bpf.c; low-level packet assembly code to packet.c; dispatch and interface discovery code to dispatch.c 1996-04-11 06:49:21 +00:00
Ted Lemon
18909bef7c Add interface_info structure 1996-04-11 06:47:50 +00:00
Ted Lemon
6f10b1a41b Remove stale decls for dhcpd.c; add conditional decls for standard sockets, raw sockets, BPF and NIT; add decls for dispatch.c 1996-04-11 06:47:03 +00:00
Ted Lemon
f98c04d746 Remove code for handling multiple interfaces (it's been abstracted into other modules); remove code that knows about server's IP address, since it might have more than one 1996-04-11 06:45:53 +00:00
Ted Lemon
decf33c222 Initial interface discovery and input dispatch routines 1996-04-11 06:44:12 +00:00
Ted Lemon
8cb330986e Berkeley Packet Filter support 1996-04-11 06:42:50 +00:00
Ted Lemon
3f36808821 Packet assembly subroutines 1996-04-11 06:42:28 +00:00
Ted Lemon
58eeae403a TODO list 1996-04-09 23:58:28 +00:00
Ted Lemon
f76ebbfdcf Update documentation 1996-03-16 17:56:07 +00:00
Ted Lemon
a40f0e9058 FreeBSD configuration 1996-03-16 17:50:50 +00:00
Ted Lemon
a8b53b4220 Various user-provided patches 1996-03-16 17:50:30 +00:00
Ted Lemon
48695f7d76 New configurations and bug fixes from Jonathan 1996-03-07 21:08:11 +00:00
Ted Lemon
1521b59569 Add a blurb on creating a new port 1996-03-06 10:51:29 +00:00
Ted Lemon
e5d009f58c Doesn't describe the current design 1996-03-06 10:42:34 +00:00
Ted Lemon
c27ab6b82f Old-fashioned Makefile 1996-03-06 10:42:08 +00:00