/[pxelator]/lib/Net/DHCP/Constants.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /lib/Net/DHCP/Constants.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 26 by dpavlin, Wed Jul 29 00:01:38 2009 UTC revision 27 by dpavlin, Wed Jul 29 00:46:29 2009 UTC
# Line 8  use 5.8.0; Line 8  use 5.8.0;
8  use strict;  use strict;
9  our (@ISA, @EXPORT, @EXPORT_OK, %EXPORT_TAGS, $VERSION);  our (@ISA, @EXPORT, @EXPORT_OK, %EXPORT_TAGS, $VERSION);
10  use Exporter;  use Exporter;
11  $VERSION = 0.66;  $VERSION = 0.67;
12  @ISA = qw(Exporter);  @ISA = qw(Exporter);
13    
14  @EXPORT = qw(MAGIC_COOKIE);  @EXPORT = qw(MAGIC_COOKIE);
# Line 50  use constant MAGIC_COOKIE => "\x63\x82\x Line 50  use constant MAGIC_COOKIE => "\x63\x82\x
50  use constant DHCP_UDP_OVERHEAD => (14 + 20 + 8);  # Ethernet + IP + UDP  use constant DHCP_UDP_OVERHEAD => (14 + 20 + 8);  # Ethernet + IP + UDP
51  use constant DHCP_MAX_MTU => 1500;  use constant DHCP_MAX_MTU => 1500;
52  use constant BOOTP_ABSOLUTE_MIN_LEN => 236;  use constant BOOTP_ABSOLUTE_MIN_LEN => 236;
53  use constant BOOTP_MIN_LEN => 300;  use constant BOOTP_MIN_LEN => 271; # dpavlin - Linux bootp is smaller than 300
54  use constant DHCP_MIN_LEN => 548;  use constant DHCP_MIN_LEN => 548;
55    
56  BEGIN {  BEGIN {

Legend:
Removed from v.26  
changed lines
  Added in v.27

  ViewVC Help
Powered by ViewVC 1.1.26