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

Lines Matching refs:bptr

771 	char *bptr;
820 if ((bptr = (char *)strstr(m->m_data, "ORT")) != NULL) {
824 x = sscanf(bptr, "ORT %u,%u,%u,%u,%u,%u\r\n%256[^\177]",
847 m->m_len = bptr - m->m_data; /* Adjust length */
848 m->m_len += snprintf(bptr, m->m_hdr.mh_size - m->m_len,
852 } else if ((bptr = (char *)strstr(m->m_data, "27 Entering")) != NULL) {
856 x = sscanf(bptr, "27 Entering Passive Mode (%u,%u,%u,%u,%u,%u)\r\n%256[^\177]",
879 m->m_len = bptr - m->m_data; /* Adjust length */
880 m->m_len += snprintf(bptr, m->m_hdr.mh_size - m->m_len,
914 if ((bptr = (char *)strstr(m->m_data, "DCC")) == NULL)
918 if (sscanf(bptr, "DCC CHAT %256s %u %u", buff, &laddr, &lport) == 3) {
922 m->m_len = bptr - m->m_data; /* Adjust length */
923 m->m_len += snprintf(bptr, m->m_hdr.mh_size,
927 } else if (sscanf(bptr, "DCC SEND %256s %u %u %u", buff, &laddr, &lport, &n1) == 4) {
931 m->m_len = bptr - m->m_data; /* Adjust length */
932 m->m_len += snprintf(bptr, m->m_hdr.mh_size,
935 } else if (sscanf(bptr, "DCC MOVE %256s %u %u %u", buff, &laddr, &lport, &n1) == 4) {
939 m->m_len = bptr - m->m_data; /* Adjust length */
940 m->m_len += snprintf(bptr, m->m_hdr.mh_size,
984 bptr = m->m_data;
985 while (bptr < m->m_data + m->m_len) {
999 if (*bptr++ != ra_tbl[ra]) {
1009 if (*bptr == 0x50) {
1011 bptr++;
1013 } else if (*bptr++ != ra_tbl[ra]) {
1023 bptr++;
1032 if (*(bptr + 1) == 0x02)
1033 bptr += 8;
1035 bptr += 4;
1042 lport = (((u_char*)bptr)[0] << 8)
1043 + ((u_char *)bptr)[1];
1060 *(u_char *)bptr++ = (p >> 8) & 0xff;
1061 *(u_char *)bptr++ = p & 0xff;