blib/lib/Net/DHCP/Packet/OrderOptions.pm untested

filter: Statementstmt 0.0% 0 / 23 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 30 CC 1 SCAR 6.9
CC
1
Cov
0%
optionsorder
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 #!/bin/false
2 # PODNAME: Net::DHCP::Packet::OrderOptions
3 # ABSTRACT: Option ordering logic for Net::DHCP
4 use strict;
5 use warnings;
6 use 5.8.0;
7  
8 package Net::DHCP::Packet::OrderOptions;
9 $Net::DHCP::Packet::OrderOptions::VERSION = '0.7';
10 # standard module declaration
11 our ( @ISA, @EXPORT, @EXPORT_OK, %EXPORT_TAGS );
12 use Exporter;
13 @ISA = qw(Exporter);
14 @EXPORT = qw( );
15 @EXPORT_OK = qw(
16 );
17 %EXPORT_TAGS = ( all => \@EXPORT_OK );
18  
19 use Carp qw/ carp /;
20  
21 my @order = (
22  
23 # taken from isc-dhcp... i think its wrong though
24 53, # message type
25 54, # server id
26 51, # lease time
27 58, # renewal time
28 59, # rebinding time
29 56, # message
30 50, # requested address
31 92, # associated ip
32 118, # subnet selection
33 61, # client id
34 81, # fqdn
35 1, # subnet mask
36 3, # routers
37 6, # domain name servers
38 12, # host name
39  
40 2,
41 4,
42 5,
43 7,
44 8,
45 9,
46 10,
47 11,
48 13,
49 14,
50 15,
51 16,
52 17,
53 18,
54 19,
55 20,
56 21,
57 22,
58 23,
59 24,
60 25,
61 26,
62 27,
63 28,
64 29,
65 30,
66 31,
67 32,
68 33,
69 34,
70 35,
71 36,
72 37,
73 38,
74 39,
75 40,
76 41,
77 42,
78 44,
79 45,
80 46,
81 47,
82 48,
83 49,
84 52,
85 55,
86 57,
87 60,
88 62,
89 63,
90 64,
91 65,
92 66,
93 67,
94 68,
95 69,
96 70,
97 71,
98 72,
99 73,
100 74,
101 75,
102 76,
103 77,
104 78,
105 79,
106 80,
107 83,
108 84,
109 85,
110 86,
111 87,
112 88,
113 89,
114 90,
115 91,
116 93,
117 94,
118 95,
119 96,
120 97,
121 98,
122 99,
123 100,
124 101,
125 102,
126 103,
127 104,
128 105,
129 106,
130 107,
131 108,
132 109,
133 110,
134 111,
135 112,
136 113,
137 114,
138 115,
139 116,
140 117,
141 119,
142 120,
143 121,
144 122,
145 123,
146 124,
147 125,
148 126,
149 127,
150 128,
151 129,
152 130,
153 131,
154 132,
155 133,
156 134,
157 135,
158 136,
159 137,
160 138,
161 139,
162 140,
163 141,
164 142,
165 143,
166 144,
167 145,
168 146,
169 147,
170 148,
171 149,
172 150,
173 151,
174 152,
175 153,
176 154,
177 155,
178 156,
179 157,
180 158,
181 159,
182 160,
183 161,
184 162,
185 163,
186 164,
187 165,
188 166,
189 167,
190 168,
191 169,
192 170,
193 171,
194 172,
195 173,
196 174,
197 175,
198 176,
199 177,
200 178,
201 179,
202 180,
203 181,
204 182,
205 183,
206 184,
207 185,
208 186,
209 187,
210 188,
211 189,
212 190,
213 191,
214 192,
215 193,
216 194,
217 195,
218 196,
219 197,
220 198,
221 199,
222 200,
223 201,
224 202,
225 203,
226 204,
227 205,
228 206,
229 207,
230 208,
231 209,
232 210,
233 211,
234 212,
235 213,
236 214,
237 215,
238 216,
239 217,
240 218,
241 219,
242 220,
243 221,
244 222,
245 223,
246 224,
247 225,
248 226,
249 227,
250 228,
251 229,
252 230,
253 231,
254 232,
255 233,
256 234,
257 235,
258 236,
259 237,
260 238,
261 239,
262 240,
263 241,
264 242,
265 243,
266 244,
267 245,
268 246,
269 247,
270 248,
271 249,
272 250,
273 251,
274 252,
275 253,
276 254,
277  
278 # intel pxe really wants 60 before 43
279 43,
280  
281 # Cablelabs really really wants 82 at the end
282 82,
283  
284 );
285  
286 #=======================================================================
287 # comment attribute : enables transaction number identification
288 #
289 #
290  
291 sub optionsorder {
292  
293  
294  
295 }
296  
297 #=======================================================================
298  
299 1;
300  
301 __END__