2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-24 02:47:42 +00:00

80 Commits

Author SHA1 Message Date
Ted Lemon
c358521715 Restructure to allow interface reinitialization 1997-02-19 10:51:44 +00:00
Ted Lemon
6806c5ae3f Add support for timeouts; add support for scanning interfaces before they have addresses assigned. 1997-02-18 14:33:43 +00:00
Ted Lemon
469cf3a4b5 Initial merge of Poger dhclient and linux hacks 1997-01-02 12:00:19 +00:00
Ted Lemon
0b5d360d4b replace ARPHRD with HTYPE 1996-11-08 20:09:41 +00:00
Ted Lemon
3a2087ec92 discover_interfaces() needs to behave differently for client and server 1996-09-11 18:53:33 +00:00
Ted Lemon
688a235b8e dmalloc already zeros allocated memory 1996-09-11 06:35:16 +00:00
Ted Lemon
3be0647e2c buf doesn't need to be static 1996-09-11 05:53:32 +00:00
Ted Lemon
48d507a956 Fix opening comment; require a subnet decl for every interface; remove warning about missing aliases on shared networks 1996-09-05 23:55:39 +00:00
Ted Lemon
edba1c3639 Don't attach to unconfigured interfaces 1996-09-02 21:15:17 +00:00
Ted Lemon
4b9a05d414 Remove dead local vars 1996-08-30 23:41:07 +00:00
Ted Lemon
4593073fc8 Add code to check interface type and skip point-to-point and loopback interfaces; copy ifreq structure out of ifconf structure so as to avoid unaligned pointer dereferences 1996-08-28 01:37:06 +00:00
Ted Lemon
0c413cce74 Add support for weird linux interface alias renaming convention; fix poll interface so it doesn't spin; don't respond to BOOTREPLY packets; locate_network returns status 1996-08-27 09:48:40 +00:00
Ted Lemon
b304ef6ad9 Don't flame about missing interfaces if none were requested 1996-07-07 15:53:07 +00:00
Ted Lemon
d3f6c8b073 Weed out unrequested interfaces if some interfaces were specifically requested; crash and burn if an interface specified on the command line is now found. 1996-06-27 19:07:45 +00:00
Ted Lemon
e9c99838ed Set read bit, not write bit, on fallback interface 1996-06-24 20:35:40 +00:00
Ted Lemon
c5568eb50a Add code to read and discard incoming packets on fallback socket 1996-06-12 23:52:38 +00:00
Ted Lemon
0fe8b9ccd3 Delete unused automatic variables 1996-06-04 19:12:36 +00:00
Ted Lemon
7459d08685 Remember address of last interface so that we can delete the next one if necessary; don't drop packets from unknown networks 1996-05-23 02:32:02 +00:00
Ted Lemon
b09c7d6311 Fix type of poll timeout 1996-05-22 11:30:39 +00:00
Ted Lemon
accc789408 move do_packet to dispatch; move network locator into seperate function 1996-05-22 09:31:24 +00:00
Ted Lemon
da4b9831e8 Don't search the attached network if there isn't one. 1996-05-22 08:15:18 +00:00
Ted Lemon
f66058f1cd rewrite discover_interfaces to work with multiple addresses per interface and to support a fallback interface 1996-05-22 07:25:47 +00:00
Ted Lemon
0d88a8be37 SA_LEN instead of SIN_LEN 1996-05-20 00:10:34 +00:00
Ted Lemon
fcc09faa7c Add an else clause to avoid redundant test 1996-05-16 23:07:36 +00:00
Ted Lemon
64ed2d7cf9 Don't log the fact that a packet has arrived 1996-05-16 07:53:29 +00:00
Ted Lemon
cafcf586c8 Kludge hardware interface type 1996-05-16 07:37:18 +00:00
Ted Lemon
fd1dff9463 Don't need to include if_dl anymore 1996-05-16 07:34:24 +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
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
decf33c222 Initial interface discovery and input dispatch routines 1996-04-11 06:44:12 +00:00