Home | History | Annotate | Download | only in wps

Lines Matching refs:hdr

72 	char hdr[HTTPREAD_HEADER_MAX_SIZE+1];   /* headers stored here */
92 int chunk_start; /* offset in body of chunk hdr or data */
93 int chunk_size; /* data of chunk (not hdr or ending CRLF)*/
206 char *hbp = h->hdr; /* pointer into h->hdr */
425 hbp = h->hdr + h->hdr_nbytes;
452 wpa_printf(MSG_DEBUG, "httpread bad hdr(%p)", h);
458 "httpread no body hdr end(%p)", h);
473 if (!os_strncasecmp(h->hdr, "SUBSCRIBE", 9) ||
474 !os_strncasecmp(h->hdr, "UNSUBSCRIBE", 11) ||
475 !os_strncasecmp(h->hdr, "HEAD", 4) ||
476 !os_strncasecmp(h->hdr, "GET", 3)) {
529 /* end of chunk hdr line */
530 /* hdr line consists solely
793 return h->hdr;
808 char *hdr = h->hdr;
809 hdr = os_strchr(hdr, '\n');
810 if (hdr == NULL)
812 hdr++;
814 if (!os_strncasecmp(hdr, tag, tag_len)) {
815 hdr += tag_len;
816 while (*hdr == ' ' || *hdr == '\t')
817 hdr++;
818 return hdr;
820 hdr = os_strchr(hdr, '\n');
821 if (hdr == NULL)
823 hdr++;