Searched refs:bad_bytes (Results 1 - 12 of 12) sorted by relevance

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/accel-pptp/src/pppd/plugins/pptp/
H A Dpptp_ctrl.c581 size_t bad_bytes = 0; local
584 while ((conn->read_size-bad_bytes) >= sizeof(struct pptp_header)) {
586 header = (struct pptp_header *) (conn->read_buffer + bad_bytes);
594 if (ntoh16(header->length) > (conn->read_size-bad_bytes))
606 memcpy(*buf, conn->read_buffer + bad_bytes, *size);
608 conn->read_size -= (bad_bytes + *size);
609 memmove(conn->read_buffer, conn->read_buffer + bad_bytes + *size,
611 if (bad_bytes > 0)
612 log("%lu bad bytes thrown away.", (unsigned long) bad_bytes);
615 bad_bytes
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/accel-pptp/src/
H A Dpptp_ctrl.c581 size_t bad_bytes = 0; local
584 while ((conn->read_size-bad_bytes) >= sizeof(struct pptp_header)) {
586 header = (struct pptp_header *) (conn->read_buffer + bad_bytes);
594 if (ntoh16(header->length) > (conn->read_size-bad_bytes))
606 memcpy(*buf, conn->read_buffer + bad_bytes, *size);
608 conn->read_size -= (bad_bytes + *size);
609 memmove(conn->read_buffer, conn->read_buffer + bad_bytes + *size,
611 if (bad_bytes > 0)
612 log("%lu bad bytes thrown away.", (unsigned long) bad_bytes);
615 bad_bytes
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/accel-pptpd/pppd_plugin/src/
H A Dpptp_ctrl.c562 size_t bad_bytes = 0; local
565 while ((conn->read_size-bad_bytes) >= sizeof(struct pptp_header)) {
567 header = (struct pptp_header *) (conn->read_buffer + bad_bytes);
575 if (ntoh16(header->length) > (conn->read_size-bad_bytes))
587 memcpy(*buf, conn->read_buffer + bad_bytes, *size);
589 conn->read_size -= (bad_bytes + *size);
590 memmove(conn->read_buffer, conn->read_buffer + bad_bytes + *size,
592 if (bad_bytes > 0)
593 log("%lu bad bytes thrown away.", (unsigned long) bad_bytes);
596 bad_bytes
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/pppd/pppd/plugins/pptp/
H A Dpptp_ctrl.c581 size_t bad_bytes = 0; local
584 while ((conn->read_size-bad_bytes) >= sizeof(struct pptp_header)) {
586 header = (struct pptp_header *) (conn->read_buffer + bad_bytes);
594 if (ntoh16(header->length) > (conn->read_size-bad_bytes))
606 memcpy(*buf, conn->read_buffer + bad_bytes, *size);
608 conn->read_size -= (bad_bytes + *size);
609 memmove(conn->read_buffer, conn->read_buffer + bad_bytes + *size,
611 if (bad_bytes > 0)
612 log("%lu bad bytes thrown away.", (unsigned long) bad_bytes);
615 bad_bytes
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/accel-pptp/src/pppd/plugins/pptp/
H A Dpptp_ctrl.c581 size_t bad_bytes = 0; local
584 while ((conn->read_size-bad_bytes) >= sizeof(struct pptp_header)) {
586 header = (struct pptp_header *) (conn->read_buffer + bad_bytes);
594 if (ntoh16(header->length) > (conn->read_size-bad_bytes))
606 memcpy(*buf, conn->read_buffer + bad_bytes, *size);
608 conn->read_size -= (bad_bytes + *size);
609 memmove(conn->read_buffer, conn->read_buffer + bad_bytes + *size,
611 if (bad_bytes > 0)
612 log("%lu bad bytes thrown away.", (unsigned long) bad_bytes);
615 bad_bytes
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/accel-pptp/src/
H A Dpptp_ctrl.c581 size_t bad_bytes = 0; local
584 while ((conn->read_size-bad_bytes) >= sizeof(struct pptp_header)) {
586 header = (struct pptp_header *) (conn->read_buffer + bad_bytes);
594 if (ntoh16(header->length) > (conn->read_size-bad_bytes))
606 memcpy(*buf, conn->read_buffer + bad_bytes, *size);
608 conn->read_size -= (bad_bytes + *size);
609 memmove(conn->read_buffer, conn->read_buffer + bad_bytes + *size,
611 if (bad_bytes > 0)
612 log("%lu bad bytes thrown away.", (unsigned long) bad_bytes);
615 bad_bytes
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/accel-pptpd/pppd_plugin/src/
H A Dpptp_ctrl.c562 size_t bad_bytes = 0; local
565 while ((conn->read_size-bad_bytes) >= sizeof(struct pptp_header)) {
567 header = (struct pptp_header *) (conn->read_buffer + bad_bytes);
575 if (ntoh16(header->length) > (conn->read_size-bad_bytes))
587 memcpy(*buf, conn->read_buffer + bad_bytes, *size);
589 conn->read_size -= (bad_bytes + *size);
590 memmove(conn->read_buffer, conn->read_buffer + bad_bytes + *size,
592 if (bad_bytes > 0)
593 log("%lu bad bytes thrown away.", (unsigned long) bad_bytes);
596 bad_bytes
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/accel-pptp/src/pppd/plugins/pptp/
H A Dpptp_ctrl.c581 size_t bad_bytes = 0; local
584 while ((conn->read_size-bad_bytes) >= sizeof(struct pptp_header)) {
586 header = (struct pptp_header *) (conn->read_buffer + bad_bytes);
594 if (ntoh16(header->length) > (conn->read_size-bad_bytes))
606 memcpy(*buf, conn->read_buffer + bad_bytes, *size);
608 conn->read_size -= (bad_bytes + *size);
609 memmove(conn->read_buffer, conn->read_buffer + bad_bytes + *size,
611 if (bad_bytes > 0)
612 log("%lu bad bytes thrown away.", (unsigned long) bad_bytes);
615 bad_bytes
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/accel-pptp/src/
H A Dpptp_ctrl.c581 size_t bad_bytes = 0; local
584 while ((conn->read_size-bad_bytes) >= sizeof(struct pptp_header)) {
586 header = (struct pptp_header *) (conn->read_buffer + bad_bytes);
594 if (ntoh16(header->length) > (conn->read_size-bad_bytes))
606 memcpy(*buf, conn->read_buffer + bad_bytes, *size);
608 conn->read_size -= (bad_bytes + *size);
609 memmove(conn->read_buffer, conn->read_buffer + bad_bytes + *size,
611 if (bad_bytes > 0)
612 log("%lu bad bytes thrown away.", (unsigned long) bad_bytes);
615 bad_bytes
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/accel-pptpd/pppd_plugin/src/
H A Dpptp_ctrl.c562 size_t bad_bytes = 0; local
565 while ((conn->read_size-bad_bytes) >= sizeof(struct pptp_header)) {
567 header = (struct pptp_header *) (conn->read_buffer + bad_bytes);
575 if (ntoh16(header->length) > (conn->read_size-bad_bytes))
587 memcpy(*buf, conn->read_buffer + bad_bytes, *size);
589 conn->read_size -= (bad_bytes + *size);
590 memmove(conn->read_buffer, conn->read_buffer + bad_bytes + *size,
592 if (bad_bytes > 0)
593 log("%lu bad bytes thrown away.", (unsigned long) bad_bytes);
596 bad_bytes
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/pppd/pppd/plugins/pptp/
H A Dpptp_ctrl.c581 size_t bad_bytes = 0; local
584 while ((conn->read_size-bad_bytes) >= sizeof(struct pptp_header)) {
586 header = (struct pptp_header *) (conn->read_buffer + bad_bytes);
594 if (ntoh16(header->length) > (conn->read_size-bad_bytes))
606 memcpy(*buf, conn->read_buffer + bad_bytes, *size);
608 conn->read_size -= (bad_bytes + *size);
609 memmove(conn->read_buffer, conn->read_buffer + bad_bytes + *size,
611 if (bad_bytes > 0)
612 log("%lu bad bytes thrown away.", (unsigned long) bad_bytes);
615 bad_bytes
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/pppd/pppd/plugins/pptp/
H A Dpptp_ctrl.c581 size_t bad_bytes = 0; local
584 while ((conn->read_size-bad_bytes) >= sizeof(struct pptp_header)) {
586 header = (struct pptp_header *) (conn->read_buffer + bad_bytes);
594 if (ntoh16(header->length) > (conn->read_size-bad_bytes))
606 memcpy(*buf, conn->read_buffer + bad_bytes, *size);
608 conn->read_size -= (bad_bytes + *size);
609 memmove(conn->read_buffer, conn->read_buffer + bad_bytes + *size,
611 if (bad_bytes > 0)
612 log("%lu bad bytes thrown away.", (unsigned long) bad_bytes);
615 bad_bytes
[all...]

Completed in 103 milliseconds