Searched refs:s1_p2 (Results 1 - 1 of 1) sorted by relevance

/freebsd-11.0-release/contrib/libpcap/
H A Dpcap-sita.c498 char *s1_p2, *s2_p2; local
503 if ((s1_p2 = strchr(s1, '_'))) { /* if an underscore is found... */
504 s1_p1_len = s1_p2 - s1; /* the prefix length is the difference in pointers */
505 s1_p2++; /* the suffix actually starts _after_ the underscore */
508 s1_p2 = 0; /* and there is no suffix */
521 return strcmp(s1_p2, s2_p2); /* otherwise we return the result of comparing the 2nd half of the string */

Completed in 52 milliseconds