Home
last modified time | relevance | path

Searched refs:sin_port (Results 1 – 3 of 3) sorted by relevance

/DragonOS/user/apps/test_bind/
H A Dmain.c47 address.sin_port = htons(PORT+1); in test_tcp_bind()
56 address.sin_port = htons(PORT); in test_tcp_bind()
109 address.sin_port = htons(PORT+1); in test_udp_bind()
118 address.sin_port = htons(PORT); in test_udp_bind()
155 address.sin_port = htons(0); in test_all_ports()
190 address.sin_port = htons(PORT); in main()
198 address.sin_port = htons(PORT); in main()
/DragonOS/user/apps/http_server/
H A Dmain.c199 address.sin_port = htons(PORT); in main()
/DragonOS/kernel/src/net/
H A Dsyscall.rs509 pub sin_port: u16, field
582 let port = u16::from_be(addr_in.sin_port); in to_endpoint()
697 sin_port: ip_endpoint.port.to_be(), in from()