Home | History | Annotate | Download | only in slirp-android

Lines Matching defs:optlen

507 /*	int opt, optlen, cnt, off, code, type = ICMP_PARAMPROB, forward = 0; */
508 int opt, optlen, cnt, off, code, type, forward = 0;
516 for (; cnt > 0; cnt -= optlen, cp += optlen) {
521 optlen = 1;
523 optlen = cp[IPOPT_OLEN];
524 if (optlen <= 0 || optlen > cnt) {
565 if (off > optlen - sizeof(struct in_addr)) {
608 if (off > optlen - sizeof(struct in_addr))