Home
last modified time | relevance | path

Searched refs:broadcast (Results 1 - 12 of 12) sorted by relevance

/foundation/systemabilitymgr/samgr_lite/communication/broadcast/source/
H A Dpub_sub_implement.c53 PubSubImplement *broadcast = GET_OBJECT(iUnknown, PubSubImplement, iUnknown); in AddTopic() local
54 if (broadcast->feature == NULL || broadcast->feature->GetRelation == NULL) { in AddTopic()
58 if (broadcast->feature->GetRelation(broadcast->feature, topic) != NULL) { in AddTopic()
62 Relation *head = &broadcast->feature->relations; in AddTopic()
71 MUTEX_Lock(broadcast->feature->mutex); in AddTopic()
73 MUTEX_Unlock(broadcast->feature->mutex); in AddTopic()
83 PubSubImplement *broadcast = GET_OBJECT(iUnknown, PubSubImplement, iUnknown); in Subscribe() local
84 if (broadcast in Subscribe()
122 PubSubImplement *broadcast = GET_OBJECT(iUnknown, PubSubImplement, iUnknown); ModifyConsumer() local
152 PubSubImplement *broadcast = GET_OBJECT(iUnknown, PubSubImplement, iUnknown); Unsubscribe() local
180 PubSubImplement *broadcast = GET_OBJECT(iUnknown, PubSubImplement, iUnknown); Publish() local
[all...]
H A Dpub_sub_feature.c71 PubSubFeature *broadcast = (PubSubFeature *)feature; in OnMessage() local
75 Relation *relation = broadcast->GetRelation(broadcast, &topic); in OnMessage()
79 MUTEX_Lock(broadcast->mutex); in OnMessage()
86 MUTEX_Unlock(broadcast->mutex); in OnMessage()
/foundation/communication/netstack/frameworks/js/napi/socket/options/src/
H A Dudp_extra_options.cpp21 void UDPExtraOptions::SetBroadcast(bool broadcast) in SetBroadcast() argument
23 broadcast_ = broadcast; in SetBroadcast()
/foundation/communication/netstack/frameworks/js/napi/socket/options/include/
H A Dudp_extra_options.h28 void SetBroadcast(bool broadcast);
/foundation/communication/dhcp/services/dhcp_server/src/
H A Daddress_utils.cpp55 uint32_t broadcast = BroadCastAddress(currIp, netmask); in NextIpAddress() local
59 if (currIp == lastIp || currIp == broadcast) { in NextIpAddress()
121 uint32_t broadcast = htonl(network) + HostTotal(netmask); in BroadCastAddress() local
122 return htonl(broadcast); in BroadCastAddress()
H A Ddhcp_config.cpp48 } else if (strcmp(pKey, "broadcast") == 0) { in SetEnableConfigInfo()
49 dhcpConfig->broadcast = uValue; in SetEnableConfigInfo()
208 } else if ((strcmp(pTok, "distribution") == 0) || (strcmp(pTok, "broadcast") == 0)) { in SetDhcpConfig()
297 config->broadcast = 1; in LoadConfig()
H A Ddhcp_s_server.cpp1862 srvIns->broadCastFlagEnable = static_cast<int>(config->broadcast); in InitServerContext()
/foundation/communication/dhcp/services/dhcp_server/include/
H A Ddhcp_config.h38 uint32_t broadcast; /* Broadcast flags enable [0|1]: 0-no, 1-yes(default). */ member
/foundation/communication/dhcp/services/dhcp_client/src/
H A Ddhcp_socket.cpp140 /* Set the broadcast feature of the data sent by the socket. */ in BindKernelSocket()
142 int broadcast = 1; in BindKernelSocket() local
143 if (setsockopt(sockFd, SOL_SOCKET, SO_BROADCAST, (const char *)&broadcast, sizeof(int)) == -1) { in BindKernelSocket()
/foundation/communication/dhcp/test/unittest/services/dhcp_server/unittest/
H A Ddhcp_s_server_test.cpp95 config->broadcast = 1; in InitServerConfig()
/foundation/multimedia/media_foundation/test/scenetest/
H A Dtest_single_player_fast.h243 PTEST((std::string url), Test hls audio broadcast) in FIXTURE() argument
/foundation/communication/netstack/frameworks/js/napi/socket/socket_exec/src/
H A Dsocket_exec.cpp1346 int broadcast = static_cast<int>(context->options.IsBroadcast()); in ExecUdpSetExtraOptions() local
1347 if (setsockopt(context->GetSocketFd(), SOL_SOCKET, SO_BROADCAST, &broadcast, sizeof(broadcast)) < 0) { in ExecUdpSetExtraOptions()

Completed in 11 milliseconds