Home
last modified time | relevance | path

Searched refs:SOCK_DGRAM (Results 1 – 25 of 86) sorted by relevance

1234

/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/unix/udp/
H A Dsocket.rs18 use libc::{c_int, AF_INET, AF_INET6, SOCK_DGRAM};
31 UdpSock::create_socket(AF_INET, SOCK_DGRAM) in new_socket()
33 UdpSock::create_socket(AF_INET6, SOCK_DGRAM) in new_socket()
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/windows/udp/
H A Dsocket.rs21 INVALID_SOCKET, SOCKET, SOCKET_ERROR, SOCK_DGRAM,
35 Self::create_socket(AF_INET, SOCK_DGRAM) in new_socket()
37 Self::create_socket(AF_INET6, SOCK_DGRAM) in new_socket()
/ohos5.0/drivers/peripheral/wlan/chip/hdi_service/
H A Diface_tool.cpp63 UniqueFd sock(socket(PF_INET, SOCK_DGRAM | SOCK_CLOEXEC, 0)); in GetUpState()
77 UniqueFd sock(socket(PF_INET, SOCK_DGRAM | SOCK_CLOEXEC, 0)); in SetUpState()
117 UniqueFd sock(socket(PF_INET, SOCK_DGRAM | SOCK_CLOEXEC, 0)); in SetMacAddress()
/ohos5.0/base/hiviewdfx/hilog/frameworks/libhilog/socket/include/
H A Ddgram_socket_client.h32 : SocketClient(serverPath, SOCK_DGRAM), fdHandler(-1) in DgramSocketClient()
35 SetType(SOCK_DGRAM | socketType); in DgramSocketClient()
H A Ddgram_socket_server.h31 : SocketServer(socketName, SOCK_DGRAM), maxPacketLength(maxLength) {} in DgramSocketServer()
/ohos5.0/foundation/communication/netmanager_base/services/netmanagernative/src/manager/
H A Dinterface_manager.cpp125 int32_t sockfd = socket(AF_INET, SOCK_DGRAM, 0); in SetMtu()
298 int fd = socket(AF_INET, SOCK_DGRAM | SOCK_CLOEXEC, 0); in GetIfaceConfig()
332 int fd = socket(AF_INET, SOCK_DGRAM | SOCK_CLOEXEC, 0); in SetIfaceConfig()
393 int32_t inetSocket = socket(AF_INET, SOCK_DGRAM, 0); in SetIpAddress()
418 int32_t inetSocket = socket(AF_INET, SOCK_DGRAM, 0); in SetIffUp()
438 int32_t inetSocket = socket(AF_INET, SOCK_DGRAM, 0); in AddStaticArp()
458 int32_t inetSocket = socket(AF_INET, SOCK_DGRAM, 0); in DelStaticArp()
H A Dvnic_manager.cpp55 net4Sock_ = socket(AF_INET, SOCK_DGRAM, 0); in GetNetSock()
60 net6Sock_ = socket(AF_INET6, SOCK_DGRAM, 0); in GetNetSock()
90 net4Sock_ = socket(AF_INET, SOCK_DGRAM, 0); in CreateVnicInterface()
94 net6Sock_ = socket(AF_INET6, SOCK_DGRAM, 0); in CreateVnicInterface()
H A Dvpn_manager.cpp72 net4Sock_ = socket(AF_INET, SOCK_DGRAM, 0); in CreateVpnInterface()
76 net6Sock_ = socket(AF_INET6, SOCK_DGRAM, 0); in CreateVpnInterface()
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/src/
H A Dcheck_gso_support.c55 FILLP_INT fd = socket(AF_INET, SOCK_DGRAM, 0); in SendUdpSegment()
111 fd = socket(AF_INET, SOCK_DGRAM, 0); in CheckGSOSupport()
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/unix/uds/
H A Dsocket.rs53 let socket = socket_new(AF_UNIX, libc::SOCK_DGRAM)?; in unbound()
74 pair(libc::SOCK_DGRAM) in datagram_pair()
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/net_helper/
H A Dif_config.cpp132 int fd = socket(AF_INET, SOCK_DGRAM, 0); in FlushIpAddr()
183 int fd = socket(AF_INET, SOCK_DGRAM, 0); in AddIpAddr()
264 int fd = socket(AF_INET, SOCK_DGRAM, 0); in GetIpAddr()
399 int fd = socket(AF_INET, SOCK_DGRAM, 0); in AddIpv4Route()
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/unittest/
H A Dnet_buscenter_test.cpp126 sockFd = socket(AF_INET, SOCK_DGRAM, 0); in SetIpaddr()
169 sockFd = socket(AF_INET, SOCK_DGRAM, 0); in SetIpDown()
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/core/coap_discover/
H A Dcoap_client.c76 hints.ai_socktype = SOCK_DGRAM; in CoapResolveAddress()
155 hints->ai_socktype = SOCK_DGRAM; /* Coap uses UDP */ in InitAddrinfo()
301 … hints.ai_socktype = COAP_PROTO_RELIABLE(proto) ? SOCK_STREAM : SOCK_DGRAM; /* Coap uses UDP */ in CoapGetSessionEx()
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_util/platform/unix/
H A Dsys_socket.c124 int32_t fd = socket(AF_INET, SOCK_DGRAM, 0); in SendUdpSegment()
192 fd = socket(AF_INET, SOCK_DGRAM, 0); in CheckGSOSupport()
/ohos5.0/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/dnsresolv/
H A Ddns_proxy_listen.cpp66 socketFd = socket(AF_INET, SOCK_DGRAM | SOCK_CLOEXEC | SOCK_NONBLOCK, IPPROTO_UDP); in DnsParseBySocket()
68 socketFd = socket(AF_INET6, SOCK_DGRAM | SOCK_CLOEXEC | SOCK_NONBLOCK, IPPROTO_UDP); in DnsParseBySocket()
282 proxySockFd_ = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); in InitListenForIpv4()
304 proxySockFd6_ = socket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP); in InitListenForIpv6()
/ohos5.0/base/startup/init/services/etc/
H A Dueventd.cfg10 "type" : "SOCK_DGRAM",
/ohos5.0/foundation/communication/netmanager_ext/services/mdnsmanager/src/
H A Dmdns_socket_listener.cpp294 int sock = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); in OpenSocketV4()
326 int sock = socket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP); in OpenSocketV6()
349 int sock = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); in OpenSocketForDefault()
359 int sock6 = socket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP); in OpenSocketForDefault()
/ohos5.0/base/startup/init/test/exec_test/
H A Dclient.c33 int sockFd = socket(PF_UNIX, SOCK_DGRAM, 0); in main()
/ohos5.0/drivers/peripheral/display/hal/default_standard/src/display_device/core/
H A Dhdi_netlink_monitor.cpp36 fd = socket(PF_NETLINK, SOCK_DGRAM, NETLINK_KOBJECT_UEVENT); in Init()
/ohos5.0/foundation/communication/dsoftbus/adapter/common/include/OS_adapter_define/linux/
H A Dsoftbus_adapter_define.h47 #define SOFTBUS_SOCK_DGRAM_ SOCK_DGRAM
/ohos5.0/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/
H A Dclat_utils.cpp53 int s = socket(AF_INET, SOCK_DGRAM | SOCK_CLOEXEC, 0); in IsIpv4AddressFree()
180 int s = socket(AF_INET6, SOCK_DGRAM | SOCK_CLOEXEC, 0); in GetSuitableIpv6Address()
422 int socketfd = socket(AF_INET, SOCK_DGRAM, 0); in SetTunInterfaceAddress()
/ohos5.0/base/hiviewdfx/hilog/services/hilogd/etc/
H A Dhilogd.cfg27 "type" : "SOCK_DGRAM",
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/netlink/src/
H A Dnetlink_manager.cpp53 socketFd_ = socket(PF_NETLINK, SOCK_DGRAM | SOCK_CLOEXEC, NETLINK_KOBJECT_UEVENT); in Start()
/ohos5.0/base/startup/init/ueventd/
H A Dueventd_socket.c42 …int sockfd = socket(PF_NETLINK, SOCK_DGRAM | SOCK_CLOEXEC | SOCK_NONBLOCK, NETLINK_KOBJECT_UEVENT); in UeventdSocketInit()
/ohos5.0/foundation/communication/dsoftbus/adapter/common/kernel/posix/
H A Dlnn_ip_utils_adapter.c66 int32_t fd = socket(AF_INET, SOCK_DGRAM, 0); in GetNetworkIpByIfName()

1234