Lines Matching defs:recvbuf
68 uint8_t recvbuf[1500];
97 ret = ffurl_read(sap->ann_fd, recvbuf, sizeof(recvbuf) - 1);
102 recvbuf[ret] = '\0'; /* Null terminate for easier parsing */
108 if ((recvbuf[0] & 0xe0) != 0x20) {
114 if (recvbuf[0] & 0x04) {
119 addr_type = recvbuf[0] & 0x10;
120 auth_len = recvbuf[1];
121 sap->hash = AV_RB16(&recvbuf[2]);
133 if (strcmp(&recvbuf[pos], MIME) == 0) {
135 } else if (strncmp(&recvbuf[pos], "v=0\r\n", 5) == 0) {
139 &recvbuf[pos]);
143 sap->sdp = av_strdup(&recvbuf[pos]);
191 uint8_t recvbuf[1500];
200 ret = ffurl_read(sap->ann_fd, recvbuf, sizeof(recvbuf));
202 uint16_t hash = AV_RB16(&recvbuf[2]);
204 if (recvbuf[0] & 0x04 && hash == sap->hash) {