Home
last modified time | relevance | path

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

/DragonOS/user/apps/test_bind/
H A Dmain.c42 if (bind(tcp_sk_fd1, (struct sockaddr *)&address, sizeof(address)) < 0) in test_tcp_bind()
48 if (bind(tcp_sk_fd2, (struct sockaddr *)&address, sizeof(address)) < 0) in test_tcp_bind()
57 if (bind(tcp_sk_fd3, (struct sockaddr *)&address, sizeof(address)) < 0) in test_tcp_bind()
104 if (bind(udp_sk_fd1, (struct sockaddr *)&address, sizeof(address)) < 0) in test_udp_bind()
110 if (bind(udp_sk_fd2, (struct sockaddr *)&address, sizeof(address)) < 0) in test_udp_bind()
119 if (bind(udp_sk_fd3, (struct sockaddr *)&address, sizeof(address)) < 0) in test_udp_bind()
156 if (bind(tcp_fd, (struct sockaddr *)&address, sizeof(address)) < 0) in test_all_ports()
193 if (bind(server_fd, (struct sockaddr *)&address, sizeof(address)) < 0) in main()
199 if (bind(udp_sk_fd, (struct sockaddr *)&address, sizeof(address)) < 0) in main()
/DragonOS/user/dadk/config/
H A Dtest_bind-0.1.0.dadk4 "description": "一个简单的test bind",
/DragonOS/user/apps/test_lo/src/
H A Dmain.rs5 let socket = UdpSocket::bind("127.0.0.1:34254")?; in main()
/DragonOS/user/apps/test-backlog/src/
H A Dmain.rs30 .bind("0.0.0.0:12580")? in main()
/DragonOS/user/apps/test_socket/src/
H A Dtest_unix_stream.rs22 let listener = UnixListener::bind(SOCKET_PATH)?; in test_unix_stream()
/DragonOS/tools/qemu/
H A Difup-nat54 --bind-interfaces \
/DragonOS/user/apps/http_server/
H A Dmain.c202 if (bind(server_fd, (struct sockaddr *)&address, sizeof(address)) < 0) in main()
/DragonOS/kernel/src/net/socket/
H A Dinet.rs306 socket.bind(ip.port) in do_bind()
308 socket.bind(ip) in do_bind()
400 fn bind(&mut self, endpoint: Endpoint) -> Result<(), SystemError> { in bind() method
853 fn bind(&mut self, endpoint: Endpoint) -> Result<(), SystemError> { in bind() method
H A Dmod.rs133 fn bind(&mut self, _endpoint: Endpoint) -> Result<(), SystemError> { in bind() method
/DragonOS/kernel/src/net/
H A Dsyscall.rs214 pub fn bind(fd: usize, addr: *const SockAddr, addrlen: usize) -> Result<usize, SystemError> { in bind() method
220 socket.bind(endpoint)?; in bind()
/DragonOS/docs/community/ChangeLog/V0.1.x/
H A DV0.1.10.md48 - fix(net): 修复udp bind的时候,对port0处理不正确的问题(#676)
732 修复udp bind的时候,对port0处理不正确的问题(#676)
/DragonOS/kernel/crates/intertrait/macros/
H A DLICENSE-APACHE45 separable from, or merely link (or bind by name) to the interfaces of,
/DragonOS/kernel/src/syscall/
H A Dmod.rs471 Self::bind(args[0], addr, addrlen) in handle()