Home
last modified time | relevance | path

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

/smoltcp-0.9.1/src/socket/
Dudp.rs503 const LOCAL_PORT: u16 = 53; constant
534 port: LOCAL_PORT,
566 src_port: LOCAL_PORT,
572 dst_port: LOCAL_PORT,
605 assert_eq!(socket.bind(LOCAL_PORT), Ok(())); in test_send_unaddressable()
677 assert_eq!(socket.bind(LOCAL_PORT), Ok(())); in test_recv_process()
698 assert_eq!(socket.bind(LOCAL_PORT), Ok(())); in test_peek_process()
713 assert_eq!(socket.bind(LOCAL_PORT), Ok(())); in test_recv_truncated_slice()
728 assert_eq!(socket.bind(LOCAL_PORT), Ok(())); in test_peek_truncated_slice()
772 assert_eq!(socket.bind(LOCAL_PORT), Ok(())); in test_doesnt_accept_wrong_port()
[all …]
Dicmp.rs603 pub const LOCAL_PORT: u16 = 53; constant
622 port: LOCAL_PORT,
865 port: LOCAL_PORT,
Dtcp.rs2304 const LOCAL_PORT: u16 = 80; constant
2308 port: LOCAL_PORT,
2312 port: LOCAL_PORT,
2364 dst_port: LOCAL_PORT,
2383 src_port: LOCAL_PORT,
2804 s.listen(LOCAL_PORT).unwrap(); in test_listen_sanity()
6904 dst_port: LOCAL_PORT + 1, in test_doesnt_accept_wrong_port()