Lines Matching defs:on
8 * See wps_upnp.c for more details on licensing and code history.
337 * Returns: 0 on success, -1 on failure
409 * Send it on the multicast socket to avoid having to set up another
475 /* Wait time depending on MX value */
733 int on = 1;
743 if (setsockopt(sd, SOL_SOCKET, SO_REUSEADDR, &on, sizeof(on)))
773 * Returns: 0 on success, -1 on failure
798 * Returns: 0 on success, -1 on failure
868 #if 0 /* maybe ok if we sometimes block on writes */
912 * TODO: What about IP_MULTICAST_LOOP? It seems to be on by default?
923 * Returns: 0 on success, -1 on failure