Home | History | Annotate | Download | only in pppd

Lines Matching refs:opt_len

310     u_char type, opt_len, delay, addr_type;
320 GETCHAR(opt_len, pckt);
321 if (opt_len < 2 || opt_len > len)
324 if (opt_len > 2)
336 if (opt_len > 4) {
338 memcpy(address, pckt, opt_len - 4);
339 address[opt_len - 4] = 0;
352 len -= opt_len;
452 int opt_len;
457 GETCHAR(opt_len, pckt);
458 if (opt_len >= 2 && opt_len <= len) {
460 if (opt_len > 2)
463 if (opt_len > 4) {
465 memcpy(address, pckt, opt_len - 4);
466 address[opt_len - 4] = 0;