Home
last modified time | relevance | path

Searched refs:ip (Results 1 – 7 of 7) sorted by relevance

/DragonOS/tools/
H A Dconfigure_network.sh11 sudo ip tuntap add name tap0 mode tap user $USER
15 sudo ip link set tap0 up
16 sudo ip link set $ETH up
17 sudo ip link set br0 up
/DragonOS/tools/qemu/
H A Difdown-nat5 ip link set $1 down
9 ip link set "$BRIDGE" down
/DragonOS/kernel/src/net/socket/
H A Dinet.rs297 if let Endpoint::Ip(Some(mut ip)) = endpoint { in do_bind()
299 if ip.port == 0 { in do_bind()
300 ip.port = PORT_MANAGER.get_ephemeral_port(self.metadata.socket_type)?; in do_bind()
303 PORT_MANAGER.bind_port(self.metadata.socket_type, ip.port)?; in do_bind()
305 let bind_res = if ip.addr.is_unspecified() { in do_bind()
306 socket.bind(ip.port) in do_bind()
308 socket.bind(ip) in do_bind()
750 if let Endpoint::Ip(Some(ip)) = endpoint { in connect()
760 match socket.connect(inner_iface.context(), ip, temp_port) { in connect()
854 if let Endpoint::Ip(Some(mut ip)) = endpoint { in bind()
[all …]
H A Dmod.rs311 if let Some(Endpoint::Ip(Some(ip))) = socket.endpoint() { in do_close()
312 PORT_MANAGER.unbind_port(socket.metadata().socket_type, ip.port); in do_close()
/DragonOS/kernel/src/libs/
H A Dprintk.c180 long long *ip; in __do_vsprintf() local
306 ip = va_arg(args, long long *); in __do_vsprintf()
308 ip = (ll *)va_arg(args, int *); in __do_vsprintf()
310 *ip = str - buf; in __do_vsprintf()
/DragonOS/kernel/src/net/
H A Dsyscall.rs579 let ip: wire::IpAddress = wire::IpAddress::from(wire::Ipv4Address::from_bytes( in to_endpoint() localVariable
584 return Ok(Endpoint::Ip(Some(wire::IpEndpoint::new(ip, port)))); in to_endpoint()
/DragonOS/docs/community/ChangeLog/V0.1.x/
H A DV0.1.3.md418 * 将镜像源换成中科大的(原因是清华的总是ban掉用于构建镜像的服务器的ip