Home
last modified time | relevance | path

Searched refs:bind (Results 1 – 25 of 148) sorted by relevance

123456

/device/board/bearpi/bearpi_hm_nano/app/D4_iot_tcp_server/
DREADME.md15 ### bind()
17 bind(sockfd, (struct sockaddr*)&server_sock, sizeof(server_sock))
21 把一个本地协议地址和socket绑定,比如把本机的2222端口绑定到socket。注意:在客户端不需要调用bind函数,这是因为如果没有调用bind函数绑定一个端口的话,当调用connect函数时,…
65 2. 调用 `bind` 接口绑定socket和地址。
100 //调用bind函数绑定socket和地址
101 if (bind(sock_fd, (struct sockaddr *)&server_sock, sizeof(struct sockaddr)) == -1) {
Dtcp_server_demo.c62 if (bind(sock_fd, (struct sockaddr *)&server_sock, sizeof(struct sockaddr)) == -1) { in TCPServerTask()
/device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/rkwifi/bcmdhd/
Dwl_ext_genl.c67 bool bind; member
432 bool bind; in wl_ext_genl_bind() local
460 bind = TRUE; in wl_ext_genl_bind()
462 bind = FALSE; in wl_ext_genl_bind()
468 if (bind == zconf->bind) { in wl_ext_genl_bind()
469 AGENL_TRACE(dev->name, "Already %s\n", bind?"BIND":"UNBIND"); in wl_ext_genl_bind()
473 if (bind) { in wl_ext_genl_bind()
481 zconf->bind = TRUE; in wl_ext_genl_bind()
495 zconf->bind = FALSE; in wl_ext_genl_bind()
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
Dwl_ext_genl.c67 bool bind; member
432 bool bind; in wl_ext_genl_bind() local
460 bind = TRUE; in wl_ext_genl_bind()
462 bind = FALSE; in wl_ext_genl_bind()
468 if (bind == zconf->bind) { in wl_ext_genl_bind()
469 AGENL_TRACE(dev->name, "Already %s\n", bind?"BIND":"UNBIND"); in wl_ext_genl_bind()
473 if (bind) { in wl_ext_genl_bind()
481 zconf->bind = TRUE; in wl_ext_genl_bind()
495 zconf->bind = FALSE; in wl_ext_genl_bind()
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/bcmdhd/
Dwl_ext_genl.c70 bool bind; member
441 bool bind; in wl_ext_genl_bind() local
470 bind = TRUE; in wl_ext_genl_bind()
472 bind = FALSE; in wl_ext_genl_bind()
478 if (bind == zconf->bind) { in wl_ext_genl_bind()
479 AGENL_TRACE(dev->name, "Already %s\n", bind ? "BIND" : "UNBIND"); in wl_ext_genl_bind()
483 if (bind) { in wl_ext_genl_bind()
491 zconf->bind = TRUE; in wl_ext_genl_bind()
505 zconf->bind = FALSE; in wl_ext_genl_bind()
/device/soc/rockchip/rk3588/hardware/display/src/display_device/
Dhdi_netlink_monitor.cpp34 mThread = std::make_unique<std::thread>(std::bind(&HdiNetLinkMonitor::MonitorThread, this)); in Init()
66 ret = bind(fd, reinterpret_cast<struct sockaddr *>(&snl), sizeof(struct sockaddr_nl)); in ThreadInit()
/device/soc/rockchip/rk3568/hardware/display/src/display_device/
Dhdi_netlink_monitor.cpp34 mThread = std::make_unique<std::thread>(std::bind(&HdiNetLinkMonitor::MonitorThread, this)); in Init()
67 ret = bind(fd, reinterpret_cast<struct sockaddr *>(&snl), sizeof(struct sockaddr_nl)); in ThreadInit()
/device/soc/rockchip/common/hardware/display/src/display_device/
Dhdi_netlink_monitor.cpp39 … mThread = std::make_unique<std::thread>(std::bind(&HdiNetLinkMonitor::MonitorThread, this)); in Init()
72 ret = bind(fd, (struct sockaddr *)&snl, sizeof(struct sockaddr_nl)); in ThreadInit()
/device/soc/rockchip/rk3399/hardware/display/src/display_device/
Dhdi_netlink_monitor.cpp39 mThread = std::make_unique<std::thread>(std::bind(&HdiNetLinkMonitor::MonitorThread, this)); in Init()
72 ret = bind(fd, (struct sockaddr *)&snl, sizeof(struct sockaddr_nl)); in ThreadInit()
/device/soc/rockchip/rk3566/hardware/display/src/display_device/
Dhdi_netlink_monitor.cpp34 mThread = std::make_unique<std::thread>(std::bind(&HdiNetLinkMonitor::MonitorThread, this)); in Init()
67 ret = bind(fd, reinterpret_cast<struct sockaddr *>(&snl), sizeof(struct sockaddr_nl)); in ThreadInit()
/device/board/talkweb/niobe407/applications/302_network_tcpserver/
DREADME_zh.md13   3、绑定IP地址、端口等信息到socket上,用函数bind();
180 /* 为sockaddr_in结构体成员赋值,用于以下的bind绑定 */
188 if (bind(sock, (struct sockaddr *)&server_addr, sizeof(struct sockaddr)) == -1)
190 printf("Unable to bind\n");
Dtcp_server.c52 if (bind(sock, (struct sockaddr *)&server_addr, sizeof(struct sockaddr)) == -1) { in tcp_server()
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/doc/
D3.1.3.VPSS理论及实现方式.md238 #### 3.1.3.3 VI bind VPSS
246 **VI bind VPSS绑定VI和VPSS之间的关联关系,绑定后,数据源生成的数据将自动发送给接收者,调用的底层接口如下:**
286 vi bind vpss代码在ViVpssCreate()接口中的实现方式如下:
288 ![](./figures/hispark_taurus_helloworld_sample/122vi%20bind%20vpss%E4%BB%A3%E7%A0%81.png)
/device/soc/hisilicon/common/hal/display/source/display_device/src/core/
Dhdi_netlink_monitor.cpp39 ret = bind(fd, (struct sockaddr *)&snl, sizeof(struct sockaddr_nl)); in Init()
/device/soc/allwinner/t507/hardware/display/src/display_device/
Dhdi_netlink_monitor.cpp39 ret = bind(fd, (struct sockaddr *)&snl, sizeof(struct sockaddr_nl)); in Init()
/device/soc/amlogic/a311d/hardware/display/src/display_device/
Dhdi_netlink_monitor.cpp39 ret = bind(fd, (struct sockaddr *)&snl, sizeof(struct sockaddr_nl)); in Init()
/device/soc/nxp/hardware/display/src/display_device/core/
Dhdi_netlink_monitor.cpp42 ret = bind(fd, (struct sockaddr *)&snl, sizeof(struct sockaddr_nl)); in Init()
/device/soc/rockchip/rk3588/kernel/include/linux/usb/
Dcomposite.h211 int (*bind)(struct usb_configuration *, member
395 int (*bind)(struct usb_composite_dev *cdev); member
/device/soc/rockchip/common/sdk_linux/include/linux/usb/
Dcomposite.h211 int (*bind)(struct usb_configuration *, struct usb_function *); member
381 int (*bind)(struct usb_composite_dev *cdev); member
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/csf/
Dmali_kbase_csf.h250 int kbase_csf_queue_bind(struct kbase_context *kctx, union kbase_ioctl_cs_queue_bind *bind);
/device/soc/rockchip/common/sdk_linux/drivers/thermal/
Dthermal_core.c1054 if (!pos->tzp && !pos->ops->bind) { in bind_cdev()
1058 if (pos->ops->bind) { in bind_cdev()
1059 ret = pos->ops->bind(pos, cdev); in bind_cdev()
1332 if (!tzp && !tz->ops->bind) { in bind_tz()
1339 if (tz->ops->bind) { in bind_tz()
1342 ret = tz->ops->bind(tz, pos); in bind_tz()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/csf/
Dmali_kbase_csf.h150 union kbase_ioctl_cs_queue_bind *bind);
Dmali_kbase_csf.c694 int kbase_csf_queue_bind(struct kbase_context *kctx, union kbase_ioctl_cs_queue_bind *bind) in kbase_csf_queue_bind() argument
703 group = find_queue_group(kctx, bind->in.group_handle); in kbase_csf_queue_bind()
704 queue = find_queue(kctx, bind->in.buffer_gpu_addr); in kbase_csf_queue_bind()
714 if (bind->in.csi_index >= max_streams) in kbase_csf_queue_bind()
720 if (queue->group || group->bound_queues[bind->in.csi_index]) in kbase_csf_queue_bind()
727 bind->out.mmap_handle = queue->handle; in kbase_csf_queue_bind()
728 group->bound_queues[bind->in.csi_index] = queue; in kbase_csf_queue_bind()
730 queue->csi_index = bind->in.csi_index; in kbase_csf_queue_bind()
/device/soc/esp/esp32/components/esp_lwip/port/include/lwip/
Dsockets.h559 #define lwip_bind bind
641 static inline int bind(int s,const struct sockaddr *name, socklen_t namelen) in bind() function
700 #define bind(s,name,namelen) lwip_bind(s,name,namelen) macro
/device/board/bearpi/bearpi_hm_nano/app/D1_iot_wifi_ap/
Dwifi_ap.c77 if (bind(sock_fd, (struct sockaddr *)&server_sock, sizeof(struct sockaddr)) == -1) { in StartUdpServer()

123456