/foundation/systemabilitymgr/samgr_lite/communication/broadcast/source/ |
H A D | pub_sub_implement.c | 53 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 D | pub_sub_feature.c | 71 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 D | udp_extra_options.cpp | 21 void UDPExtraOptions::SetBroadcast(bool broadcast) in SetBroadcast() argument 23 broadcast_ = broadcast; in SetBroadcast()
|
/foundation/communication/netstack/frameworks/js/napi/socket/options/include/ |
H A D | udp_extra_options.h | 28 void SetBroadcast(bool broadcast);
|
/foundation/communication/dhcp/services/dhcp_server/src/ |
H A D | address_utils.cpp | 55 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 D | dhcp_config.cpp | 48 } 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 D | dhcp_s_server.cpp | 1862 srvIns->broadCastFlagEnable = static_cast<int>(config->broadcast); in InitServerContext()
|
/foundation/communication/dhcp/services/dhcp_server/include/ |
H A D | dhcp_config.h | 38 uint32_t broadcast; /* Broadcast flags enable [0|1]: 0-no, 1-yes(default). */ member
|
/foundation/communication/dhcp/services/dhcp_client/src/ |
H A D | dhcp_socket.cpp | 140 /* 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 D | dhcp_s_server_test.cpp | 95 config->broadcast = 1; in InitServerConfig()
|
/foundation/multimedia/media_foundation/test/scenetest/ |
H A D | test_single_player_fast.h | 243 PTEST((std::string url), Test hls audio broadcast) in FIXTURE() argument
|
/foundation/communication/netstack/frameworks/js/napi/socket/socket_exec/src/ |
H A D | socket_exec.cpp | 1346 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()
|