Searched refs:ip (Results 1 – 7 of 7) sorted by relevance
11 sudo ip tuntap add name tap0 mode tap user $USER15 sudo ip link set tap0 up16 sudo ip link set $ETH up17 sudo ip link set br0 up
5 ip link set $1 down9 ip link set "$BRIDGE" down
297 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 …]
311 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()
180 long long *ip; in __do_vsprintf() local306 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()
579 let ip: wire::IpAddress = wire::IpAddress::from(wire::Ipv4Address::from_bytes( in to_endpoint() localVariable584 return Ok(Endpoint::Ip(Some(wire::IpEndpoint::new(ip, port)))); in to_endpoint()
418 * 将镜像源换成中科大的(原因是清华的总是ban掉用于构建镜像的服务器的ip)