Lines Matching defs:p_str
1449 char *p_str;
1464 p_str = strstr (buf, dnsquery_src_ip); /* check whether the src_ip exist in the line */
1465 if(p_str)
1467 p_str = p_str + 41;
1468 strncpy(buf,p_str,17); /* get MAC 00:11:22:33:44:55 */
1514 char *p_str = NULL;
1520 p_str = strstr (opendns_tbl, "DEFAULT");
1521 if(p_str)
1524 p_str = p_str + strlen("DEFAULT") + 1;
1525 strncpy(id, p_str, 16);
1528 //p_str = strstr (opendns_tbl, src_mac);
1529 p_str = strcasestr (opendns_tbl, src_mac);
1530 if(p_str)
1533 p_str = p_str + strlen(src_mac) + 1;
1534 strncpy(id, p_str, 16);