Home | History | Annotate | Download | only in wps

Lines Matching refs:hdr

80 	char hdr[HTTPREAD_HEADER_MAX_SIZE+1];   /* headers stored here */
100 int chunk_start; /* offset in body of chunk hdr or data */
101 int chunk_size; /* data of chunk (not hdr or ending CRLF)*/
232 char *hbp = h->hdr; /* pointer into h->hdr */
452 hbp = h->hdr + h->hdr_nbytes;
479 wpa_printf(MSG_DEBUG, "httpread bad hdr(%p)", h);
485 "httpread no body hdr end(%p)", h);
500 if (!os_strncasecmp(h->hdr, "SUBSCRIBE", 9) ||
501 !os_strncasecmp(h->hdr, "UNSUBSCRIBE", 11) ||
502 !os_strncasecmp(h->hdr, "HEAD", 4) ||
503 !os_strncasecmp(h->hdr, "GET", 3)) {
556 /* end of chunk hdr line */
557 /* hdr line consists solely
829 return h->hdr;
844 char *hdr = h->hdr;
845 hdr = os_strchr(hdr, '\n');
846 if (hdr == NULL)
848 hdr++;
850 if (!os_strncasecmp(hdr, tag, tag_len)) {
851 hdr += tag_len;
852 while (*hdr == ' ' || *hdr == '\t')
853 hdr++;
854 return hdr;
856 hdr = os_strchr(hdr, '\n');
857 if (hdr == NULL)
859 hdr++;