Lines Matching refs:strcasecmp
25 #define strcasecmp _stricmp
311 if (strcasecmp((char *)ws->http_hdr,
324 if (strcasecmp((char *)ws->http_hdr, "Host:") == 0) {
330 } else if (strcasecmp((char *)ws->http_hdr, "Upgrade:") == 0) {
335 if (strcasecmp(value, "websocket") != 0) {
340 } else if (strcasecmp((char *)ws->http_hdr, "Connection:") == 0) {
345 if (strcasecmp(value, "Upgrade") != 0) {
350 } else if (strcasecmp((char *)ws->http_hdr, "Sec-WebSocket-Key:") == 0) {
365 } else if (strcasecmp((char *)ws->http_hdr, "Sec-WebSocket-Protocol:") == 0) {
370 if (strcasecmp(value, "coap") != 0) {
375 } else if (strcasecmp((char *)ws->http_hdr, "Sec-WebSocket-Version:") == 0) {
380 if (strcasecmp(value, "13") != 0) {
440 if (strcasecmp((char *)ws->http_hdr, "Upgrade:") == 0) {
445 if (strcasecmp(value, "websocket") != 0) {
450 } else if (strcasecmp((char *)ws->http_hdr, "Connection:") == 0) {
455 if (strcasecmp(value, "Upgrade") != 0) {
460 } else if (strcasecmp((char *)ws->http_hdr, "Sec-WebSocket-Accept:") == 0) {
474 } else if (strcasecmp((char *)ws->http_hdr, "Sec-WebSocket-Protocol:") == 0) {
479 if (strcasecmp(value, "coap") != 0) {