OpenBSD CVS

CVS log for src/sbin/dhclient/dhcp.h


[BACK] Up to [local] / src / sbin / dhclient

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.21 / (download) - annotate - [select for diffs], Mon Jul 24 16:17:35 2017 UTC (6 years, 10 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, HEAD
Changes since 1.20: +5 -4 lines
Diff to previous 1.20 (colored)

Tweak some comments

Revision 1.20 / (download) - annotate - [select for diffs], Sat Jul 8 00:36:10 2017 UTC (6 years, 10 months ago) by krw
Branch: MAIN
Changes since 1.19: +16 -16 lines
Diff to previous 1.19 (colored)

Always use uintNN_t instead of sometimes u_intNN_t
and sometimes uintNN_t.

Revision 1.19 / (download) - annotate - [select for diffs], Fri Jul 7 16:58:45 2017 UTC (6 years, 10 months ago) by krw
Branch: MAIN
Changes since 1.18: +2 -1 lines
Diff to previous 1.18 (colored)

Replace the many occurances of '256' with a new #define
DHO_COUNT.

Revision 1.18 / (download) - annotate - [select for diffs], Mon Oct 26 16:32:33 2015 UTC (8 years, 7 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.17: +6 -1 lines
Diff to previous 1.17 (colored)

Give dhclient(8) the ability to use option 119, a.k.a. "Domain
Search" if supplied by the server.

Requested by a few. Original diff from Ray Lai via tech@.

Tested & ok claudio@

Revision 1.17 / (download) - annotate - [select for diffs], Tue Jan 21 03:07:50 2014 UTC (10 years, 4 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.16: +2 -1 lines
Diff to previous 1.16 (colored)

Add parsing for options 121 (classless-static-routes) and 249
(classless-ms-static-routes). dhcpd can now specify and serve
these options and dhclient can recognize and use supersede, etc.
statements on them.

Based on a diff from Stefan Rinke. Thanks!

Revision 1.16 / (download) - annotate - [select for diffs], Thu Dec 5 22:31:35 2013 UTC (10 years, 5 months ago) by krw
Branch: MAIN
Changes since 1.15: +1 -3 lines
Diff to previous 1.15 (colored)

Stop pretending we still support FDDI or token ring hardware types.

idea ok deraadt@ matthew@

Revision 1.15 / (download) - annotate - [select for diffs], Sun Jun 9 16:21:50 2013 UTC (10 years, 11 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.14: +2 -1 lines
Diff to previous 1.14 (colored)

Re-apply static route and classless static route support -- this time
passing the correct destination for the default route, '0.0.0.0', rather
than the new lease address.

Populating egress group works this time.

Problem found the hard way by Chris Smith.

Revision 1.14 / (download) - annotate - [select for diffs], Sun Jun 9 00:30:06 2013 UTC (10 years, 11 months ago) by krw
Branch: MAIN
Changes since 1.13: +1 -2 lines
Diff to previous 1.13 (colored)

Backout static/classless route handling and default route refactoring
since the former relies on the latter and the latter breaks 'egress'
group populating.

Revision 1.13 / (download) - annotate - [select for diffs], Tue Jun 4 21:04:52 2013 UTC (10 years, 11 months ago) by krw
Branch: MAIN
Changes since 1.12: +2 -1 lines
Diff to previous 1.12 (colored)

Add support for static routes option (33) and classless static
routes option (121).

ok sthen@

Revision 1.12 / (download) - annotate - [select for diffs], Thu May 2 16:35:27 2013 UTC (11 years, 1 month ago) by krw
Branch: MAIN
Changes since 1.11: +6 -6 lines
Diff to previous 1.11 (colored)

Bunch of comment/whitespace cleanup. Eliminate some misleading or
pointless ones, make multiline comments readable, nuke '...' in
favour of '.', etc.

Revision 1.11 / (download) - annotate - [select for diffs], Sun Jan 13 18:38:02 2013 UTC (11 years, 4 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE, OPENBSD_5_3
Changes since 1.10: +12 -5 lines
Diff to previous 1.10 (colored)

Tweak whitespace, add missing #defines, use DHO_RELAY_AGENT_INFORMATION
rather than DHO_DHCP_AGENT_OPTIONS. Makes these files identical again.

Revision 1.10 / (download) - annotate - [select for diffs], Sun Jan 13 18:11:34 2013 UTC (11 years, 4 months ago) by krw
Branch: MAIN
Changes since 1.9: +20 -1 lines
Diff to previous 1.9 (colored)

Add DHO_ defines for all known options. Use same names as ISC where
available. No functional change.

Revision 1.9 / (download) - annotate - [select for diffs], Wed May 11 14:38:36 2011 UTC (13 years ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0
Changes since 1.8: +3 -2 lines
Diff to previous 1.8 (colored)

Make dhclient more friendly to sequential option processing by
always starting DHCP packet options with DHO_DHCP_MESSAGE_TYPE. Now
DHCP-specific options always come after the option identifying the
packet as DHCP rather than BOOTP. Makes at least Nortel NetIP DHCP
server happier. Clean up some code and parameter passing.

Closes PR#6543, as confirmed by original submitter and patch
tester Len Zaifman. Thanks!

ok matthew@ (who hates the ISC-like code)

Revision 1.8 / (download) - annotate - [select for diffs], Fri Oct 15 09:51:15 2010 UTC (13 years, 7 months ago) by jsg
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE, OPENBSD_4_9
Changes since 1.7: +2 -1 lines
Diff to previous 1.7 (colored)

Add and ignore DHCP option 66/0x42 TFTP server name.
ok krw@ phessler@

Revision 1.7 / (download) - annotate - [select for diffs], Thu Feb 1 22:39:43 2007 UTC (17 years, 4 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.6: +2 -3 lines
Diff to previous 1.6 (colored)

Don't count ethernet as overhead for UDP packet constuction. Gives
14 more bytes of option space! A change ISC made a long time ago.

ok stevesk@ (DHCP) canacar@ (bpf)

Revision 1.6 / (download) - annotate - [select for diffs], Thu Jan 11 01:51:59 2007 UTC (17 years, 4 months ago) by stevesk
Branch: MAIN
Changes since 1.5: +1 -2 lines
Diff to previous 1.5 (colored)

remove unused #define DHCP_MIN_LEN

Revision 1.5 / (download) - annotate - [select for diffs], Tue May 4 15:49:49 2004 UTC (20 years, 1 month ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.4: +4 -4 lines
Diff to previous 1.4 (colored)

zap some spaces

Revision 1.4 / (download) - annotate - [select for diffs], Sat Feb 7 13:59:45 2004 UTC (20 years, 3 months ago) by henning
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

KNF

Revision 1.3 / (download) - annotate - [select for diffs], Sat Feb 7 13:26:35 2004 UTC (20 years, 3 months ago) by henning
Branch: MAIN
Changes since 1.2: +8 -8 lines
Diff to previous 1.2 (colored)

more KNF From: Emil Mikulic <emikulic@dmr.ath.cx>
great job.
no binary change.

Revision 1.2 / (download) - annotate - [select for diffs], Wed Feb 4 12:16:56 2004 UTC (20 years, 4 months ago) by henning
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

$OpenBSD$, tedu

Revision 1.1 / (download) - annotate - [select for diffs], Sun Jan 18 01:26:20 2004 UTC (20 years, 4 months ago) by deraadt
Branch: MAIN

this is where dhclient will start surgery

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.