Lines Matching refs:bcifs
342 struct bc_ifs bcifs; in slp_mc_send() local
349 if (make_mc_target(hp, sin, header, &pfd, &nfds, &bcifs) != SLP_OK) in slp_mc_send()
373 if (mc_sendmsg(pfd, msg, &bcifs) != SLP_OK) { in slp_mc_send()
394 if (bcifs.sin) free(bcifs.sin); in slp_mc_send()
703 struct bc_ifs *bcifs) { in make_mc_target() argument
718 bcifs->sin = NULL; in make_mc_target()
823 hp, given_ifs, num_givenifs, bcifs)) in make_mc_target()
901 int num_givenifs, struct bc_ifs *bcifs) { in make_bc_target() argument
906 &(bcifs->sin), &(bcifs->num_ifs))) in make_bc_target()
912 for (i = 0; i < bcifs->num_ifs; i++) { in make_bc_target()
913 bcifs->sin[i].sin_port = htons(SLP_PORT); in make_bc_target()
926 struct msghdr *msg, struct bc_ifs *bcifs) { in mc_sendmsg() argument
932 if (ifs && *ifs && bc_sendmsg(fds, msg, bcifs) == SLP_OK) { in mc_sendmsg()
967 struct bc_ifs *bcifs) { in bc_sendmsg() argument
971 for (i = 0; i < bcifs->num_ifs; i++) { in bc_sendmsg()
972 msg->msg_name = (caddr_t)&(bcifs->sin[i]); in bc_sendmsg()