OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:option_len
(Results
1 - 3
of
3
) sorted by null
/external/tcpdump/
print-ahcp.c
264
uint8_t option_no,
option_len
;
local
278
option_len
= *cp;
280
if (cp +
option_len
> ep)
284
if (data_decoders[option_no](ndo, cp, cp +
option_len
) < 0)
287
ND_PRINT((ndo, " (Length %u)",
option_len
));
288
ND_TCHECK2(*cp,
option_len
);
290
cp +=
option_len
;
print-ip.c
248
register u_int
option_len
;
local
251
for (; length > 0; cp +=
option_len
, length -=
option_len
) {
265
option_len
= 1;
269
option_len
= cp[1];
270
if (
option_len
< 2) {
271
ND_PRINT((ndo, " [bad length %u]",
option_len
));
276
if (
option_len
> length) {
277
ND_PRINT((ndo, " [bad length %u]",
option_len
));
281
ND_TCHECK2(*cp,
option_len
);
[
all
...]
/external/dnsmasq/src/
rfc2131.c
81
#define
option_len
(opt) ((int) (((unsigned char*) (opt))[1]))
macro
193
unsigned int total =
option_len
(opt) + 2;
202
if ((sopt = option_find1(option_ptr(opt, 0), option_ptr(opt,
option_len
(opt)),
207
if ((sopt = option_find1(option_ptr(opt, 0), option_ptr(opt,
option_len
(opt)),
224
if ((sopt = option_find1(option_ptr(opt, 0), option_ptr(opt,
option_len
(opt)),
226
vendor->len ==
option_len
(sopt) &&
241
clid_len =
option_len
(opt);
451
int len =
option_len
(opt);
485
int len =
option_len
(opt);
542
if (!(opt = option_find(mess, sz, o->opt, 1)) || o->len >
option_len
(opt)) continue
[
all
...]
Completed in 503 milliseconds