Lines Matching refs:bcifs
344 struct bc_ifs bcifs; in slp_mc_send() local
351 if (make_mc_target(hp, sin, header, &pfd, &nfds, &bcifs) != SLP_OK) in slp_mc_send()
375 if (mc_sendmsg(pfd, msg, &bcifs) != SLP_OK) { in slp_mc_send()
396 if (bcifs.sin) free(bcifs.sin); in slp_mc_send()
702 struct bc_ifs *bcifs) { in make_mc_target() argument
717 bcifs->sin = NULL; in make_mc_target()
822 hp, given_ifs, num_givenifs, bcifs)) in make_mc_target()
900 int num_givenifs, struct bc_ifs *bcifs) { in make_bc_target() argument
905 &(bcifs->sin), &(bcifs->num_ifs))) in make_bc_target()
911 for (i = 0; i < bcifs->num_ifs; i++) { in make_bc_target()
912 bcifs->sin[i].sin_port = htons(SLP_PORT); in make_bc_target()
925 struct msghdr *msg, struct bc_ifs *bcifs) { in mc_sendmsg() argument
931 if (ifs && *ifs && bc_sendmsg(fds, msg, bcifs) == SLP_OK) { in mc_sendmsg()
966 struct bc_ifs *bcifs) { in bc_sendmsg() argument
970 for (i = 0; i < bcifs->num_ifs; i++) { in bc_sendmsg()
971 msg->msg_name = (caddr_t)&(bcifs->sin[i]); in bc_sendmsg()