Searched refs:pii_probe_sock (Results 1 – 4 of 4) sorted by relevance
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/in.mpathd/ |
H A D | mpd_tables.c | 442 pii->pii_probe_sock = -1; in phyint_inst_create() 834 if (pii->pii_probe_sock != -1) in phyint_inst_sockinit() 857 if (success && (poll_add(pii->pii_probe_sock) == 0)) in phyint_inst_sockinit() 861 if (pii->pii_probe_sock != -1) in phyint_inst_sockinit() 892 pii->pii_probe_sock = socket(pii->pii_af, SOCK_RAW, IPPROTO_ICMPV6); in phyint_inst_v6_sockinit() 893 if (pii->pii_probe_sock < 0) { in phyint_inst_v6_sockinit() 901 if ((flags = fcntl(pii->pii_probe_sock, F_GETFL, 0)) == -1) { in phyint_inst_v6_sockinit() 906 if (fcntl(pii->pii_probe_sock, F_SETFL, in phyint_inst_v6_sockinit() 918 if (bind(pii->pii_probe_sock, (struct sockaddr *)&testaddr, in phyint_inst_v6_sockinit() 924 if (setsockopt(pii->pii_probe_sock, IPPROTO_IPV6, IPV6_MULTICAST_IF, in phyint_inst_v6_sockinit() [all …]
|
H A D | mpd_tables.h | 86 (((pii) != NULL) && ((pii)->pii_probe_sock != -1) && \ 235 int pii_probe_sock; /* Socket for ICMP Probe packets */ member
|
H A D | mpd_main.c | 532 if (pii->pii_probe_sock != -1) in stop_probing() 539 if (pii->pii_probe_sock != -1) in stop_probing() 676 if (pii->pii_probe_sock != -1) in select_test_ifs() 2155 if (pollfds[i].fd == pii->pii_probe_sock) { in main() 2805 (void) poll_remove(pii->pii_probe_sock); in close_probe_socket() 2806 (void) close(pii->pii_probe_sock); in close_probe_socket() 2807 pii->pii_probe_sock = -1; in close_probe_socket()
|
H A D | mpd_probe.c | 231 assert(pii->pii_probe_sock != -1); in probe() 300 rval = sendto(pii->pii_probe_sock, &probe_pkt, sizeof (probe_pkt), 0, in probe() 400 if ((len = recvmsg(pii->pii_probe_sock, &msg, 0)) < 0) { in in_data() 524 if ((len = recvmsg(pii->pii_probe_sock, &msg, 0)) < 0) { in in6_data()
|