Lines Matching defs:broadcast
897 int broadcast = 1;
909 /* Set broadcast flag on socket */
912 (sockfd, SOL_SOCKET, SO_BROADCAST, (const char *) &broadcast,
913 sizeof (broadcast)) != 0)
955 * Prepare a socket for broadcast or multicast
959 * broadcast_sa: broadcast address to use, if NULL we use all hosts
960 * dest_sa: (write) where to return destination address of broadcast
995 /* send broadcasts to the broadcast address of the interface */
999 /* we fill port when we send the broadcast */
1004 PDBG (bjnp_dbg (LOG_INFO, "prepare_socket: %s is IPv4 capable, sending broadcast, socket = %d\n",
1033 /* We fill port when we send the broadcast */
1039 PDBG (bjnp_dbg (LOG_INFO, "prepare_socket: %s is IPv6 capable, sending broadcast, socket = %d\n",
1066 /* set address to send packet to broadcast address of interface, */
2137 /* we have no easy way to find interfaces with their broadcast addresses. */
2138 /* use global broadcast and all-hosts instead */
2199 /* wait for some time between broadcast packets */