Ted Lemon
|
b607837f9a
|
Don't use ARHPRD_METRICOM or ARPHRD_LOOPBACK if they aren't defined
|
1997-03-29 01:39:38 +00:00 |
|
Ted Lemon
|
af361f2af5
|
Return the result of sends and receives
|
1997-03-29 01:26:08 +00:00 |
|
Ted Lemon
|
9557deb6da
|
Adjust indentation; fix up calling conventions
|
1997-03-29 01:25:32 +00:00 |
|
Ted Lemon
|
3951e13c3d
|
Add bnackoff-cutoff and initial-interval keywords
|
1997-03-29 01:25:10 +00:00 |
|
Ted Lemon
|
daffaf5e68
|
Allow users to specify vendor-encapsulated-options as a string of hex digits
|
1997-03-29 00:06:50 +00:00 |
|
Ted Lemon
|
5145810cfd
|
Ignore EHOSTUNREACH and ECONNREFUSED errors on Linux (for now).
|
1997-03-29 00:06:07 +00:00 |
|
Ted Lemon
|
9652af24d0
|
Skip dummy interfaces on Linux; lose vestigial and erroneous USE_FALLBACK code; timeout -> what, not timeout -> interface
|
1997-03-29 00:02:45 +00:00 |
|
Ted Lemon
|
a6bdf642ed
|
Fix stupid, stupid, stupid allocation size underrun
|
1997-03-29 00:01:18 +00:00 |
|
Ted Lemon
|
4a4d10a5ba
|
DNS Support code
|
1997-03-08 02:24:16 +00:00 |
|
Ted Lemon
|
e452b9fdc8
|
Use MAX_TIME for abandoned leases rather than an explicit constant (which was wrong).
|
1997-03-08 00:22:47 +00:00 |
|
Ted Lemon
|
6a1d7b36e0
|
raw reads include IP header before icmp header, so we have to skip over it.
|
1997-03-08 00:22:01 +00:00 |
|
Ted Lemon
|
7a08716481
|
If a lease is abandoned, write it out even though it doesn't appear to be assigned. When abandoning a lease, set hardware type to zero, not -1
|
1997-03-06 22:20:17 +00:00 |
|
Ted Lemon
|
a8b5839494
|
If a lease is abandoned, it's okay to supersede even if things don't quite match up.
|
1997-03-06 20:21:32 +00:00 |
|
Ted Lemon
|
804872dc5c
|
ABANDONED_LEASE is persistent, so set it in the lease structure, not in the supersede structure.
|
1997-03-06 19:45:20 +00:00 |
|
Ted Lemon
|
b0f9708dd0
|
Set ABANDONED_LEASE flag when abandoning a lease.
|
1997-03-06 19:28:18 +00:00 |
|
Ted Lemon
|
f4fb257d70
|
Add abandoned keyword
|
1997-03-06 19:27:57 +00:00 |
|
Ted Lemon
|
fa805637f0
|
Export checksum and wrapsum
|
1997-03-06 18:27:55 +00:00 |
|
Ted Lemon
|
7bbdb1df7d
|
Add informational message to abandon_lease.
|
1997-03-06 18:27:20 +00:00 |
|
Ted Lemon
|
e6c9e9b83a
|
Oops - didn't compile
|
1997-03-06 07:27:32 +00:00 |
|
Ted Lemon
|
4a3fd492b9
|
Support for ICMP Echo protocol
|
1997-03-06 07:08:00 +00:00 |
|
Ted Lemon
|
c800b2aa41
|
Traversal of interface list to weed out bad interfaces was broken when I added the dummy interface list - fix is to save the next pointer before weeding out interfaces.
|
1997-03-06 07:06:08 +00:00 |
|
Ted Lemon
|
c01f128585
|
Adjust declaration of fallback_discard so that it can be a protocol handler
|
1997-03-06 06:55:53 +00:00 |
|
Ted Lemon
|
17f4dab73c
|
Options whose format is X now print as colon-seperated hex, so that pretty_print output can be parsed. do_packet() moved here from dispatch.c
|
1997-03-06 06:55:06 +00:00 |
|
Ted Lemon
|
9d33ed7272
|
Check address ranges to see if they're on the right net (previously we just silently made them be on the right net, with interesting results). In supersede_leases, don't copy offered_expiry anymore since it's now in the state structure
|
1997-03-06 06:53:49 +00:00 |
|
Ted Lemon
|
e4749e754c
|
Make dispatch() run through a list of protocol structures to select against, rather than running through the interface list and then special casing other stuff. This simplifies things substantially. add_protocol() function allows new protocols to be selected against. Timeouts now pass a void * instead of a struct interface_info *. Move do_packet into options.c so that options.c isn't pulled into dhcrelay.
|
1997-03-06 06:52:30 +00:00 |
|
Ted Lemon
|
dd5804ad62
|
add allocator for lease state structure and protocol structure
|
1997-03-06 06:49:29 +00:00 |
|
Ted Lemon
|
4db0d31282
|
Add icmp.c
|
1997-03-06 06:48:49 +00:00 |
|
Ted Lemon
|
35a50d44e9
|
Back out back checksum changes
|
1997-03-05 20:06:03 +00:00 |
|
Ted Lemon
|
e7b9429fea
|
Oops - we're supposed to zero interfaces_invalidated at the end of the loop, not set it - this was causing the dispatcher to spin
|
1997-03-05 08:39:38 +00:00 |
|
Ted Lemon
|
5eead2781b
|
lose lease -> state; add lease -> uid_buf to eliminate mallocs when assigning uids to leases except with really big uids
|
1997-03-05 06:34:36 +00:00 |
|
Ted Lemon
|
6e9a647e94
|
Maintain a free list for tree_cache structs
|
1997-03-05 06:34:27 +00:00 |
|
Ted Lemon
|
296af24c10
|
Add REBOOT token
|
1997-03-05 06:33:36 +00:00 |
|
Ted Lemon
|
f73aedfc4e
|
remove lease -> state
|
1997-03-05 06:33:06 +00:00 |
|
Ted Lemon
|
f09bfe772e
|
New IP header checksum code supplied by Anatoli Logvinski
|
1997-03-05 06:15:00 +00:00 |
|
Ted Lemon
|
d5e5a87a48
|
Add upf.c
|
1997-03-05 06:13:07 +00:00 |
|
Ted Lemon
|
179f54abbc
|
Ultrix Packetfilter support
|
1997-03-05 06:09:04 +00:00 |
|
Ted Lemon
|
fb4693d230
|
Only supply prototypes where appropriate
|
1997-02-26 18:25:07 +00:00 |
|
Ted Lemon
|
8d929f2fa2
|
Remove if_enable()
|
1997-02-26 05:20:53 +00:00 |
|
Ted Lemon
|
de60690e73
|
Move some more parameters around
|
1997-02-22 14:44:56 +00:00 |
|
Ted Lemon
|
5f5d1ea2cf
|
Distributed Makefile
|
1997-02-22 14:12:34 +00:00 |
|
Ted Lemon
|
11777d4819
|
Add DISCOVER_RELAY state
|
1997-02-22 12:26:41 +00:00 |
|
Ted Lemon
|
006c74dade
|
Don't name dhcpd - this is used by dhclient and dhcrelay as well
|
1997-02-22 12:26:12 +00:00 |
|
Ted Lemon
|
f79e49f3ee
|
Add support for alias declaration
|
1997-02-22 12:25:32 +00:00 |
|
Ted Lemon
|
1f2d04e414
|
Fix up select version of dispatch to take parse argument
|
1997-02-22 10:55:40 +00:00 |
|
Ted Lemon
|
eb8c87b634
|
dispatch() now takes an argument indicating whether to decode the packet or just call relay(); save the first ip address we encounter for each interface as the primary address.
|
1997-02-22 08:34:16 +00:00 |
|
Ted Lemon
|
171c47a6cc
|
pretty_print_options now optionally seperates array elements with comma, and now encloses text strings in quotes
|
1997-02-22 08:32:05 +00:00 |
|
Ted Lemon
|
0c56f332ea
|
error() now logs a message simply indicating that it is exiting.
|
1997-02-22 08:30:13 +00:00 |
|
Ted Lemon
|
4660b5193b
|
Add some new tokens
|
1997-02-22 08:29:24 +00:00 |
|
Ted Lemon
|
29539f1aa4
|
Seperate array elements with commas when pretty-printing
|
1997-02-19 10:52:14 +00:00 |
|
Ted Lemon
|
c358521715
|
Restructure to allow interface reinitialization
|
1997-02-19 10:51:44 +00:00 |
|