if ((strncmp("192.168", ipSrc, 7) == 0) || (ip_header->source_ip == sockAddr.sin_addr.s_addr))
{
printf("\n Source IP: %s", "0.0.0.0");
printf("\n Destination IP: %s", ipDest);
This may work, it just compares the first part of the IP address, (the 7 is the number of characters to compare, 192.168 is 7 characters long)