Lines Matching defs:have_v6
273 int have_v4 = 1, have_v6 = 1;
289 if (scan_interfaces(&have_v4, &have_v6) == -1) {
303 (have_v6 == 0 && v6 == 1) ||
305 (have_v6 == 0 && af == AF_INET6)) {
330 if (have_v6 && af == AF_INET6) {
475 * Scan the interface table and set have_v4 and have_v6 depending
508 scan_interfaces6(int *have_v4, int *have_v6) {
560 (*have_v4 == 0 || *have_v6 == 0) && cp < cplim;
602 if (*have_v6 == 0) {
613 *have_v6 = 1;
621 /* printf("scan interface -> 4=%d 6=%d\n", *have_v4, *have_v6); */
628 /* printf("scan interface -> 4=%d 6=%d\n", *have_v4, *have_v6); */
642 scan_linux6(int *have_v6) {
654 *have_v6 = 1;
661 scan_interfaces(int *have_v4, int *have_v6) {
675 *have_v4 = *have_v6 = 0;
682 scan_interfaces6(have_v4, have_v6);
683 if (*have_v4 != 0 && *have_v6 != 0)
687 scan_linux6(have_v6);
739 (*have_v4 == 0 || *have_v6 == 0) && cp < cplim;
783 if (*have_v6 == 0) {
795 *have_v6 = 1;
803 /* printf("scan interface -> 4=%d 6=%d\n", *have_v4, *have_v6); */
810 /* printf("scan interface -> 4=%d 6=%d\n", *have_v4, *have_v6); */