commit | 029180560561de4b8938724abfdd1aaa5ee11217 | [log] [tgz] |
---|---|---|
author | Bailey Kuo <[email protected]> | Thu Oct 31 16:32:34 2024 -0700 |
committer | Bailey Kuo <[email protected]> | Thu Oct 31 16:32:34 2024 -0700 |
tree | 2a6d0fb39b83451505381e6e04c22f1ae2cfabe8 | |
parent | dfac20231e90f1ca91ec1db43c49647f370e100f [diff] |
Add opaque parameter for try_connect() and remove() - This allows the callback functions to access Slirp instance Bug: 306197255 Test: TH Change-Id: I4bc32b119101d49264314b02414014eb8cabb093
libslirp is a user-mode networking library used by virtual machines, containers or various tools.
A C compiler, meson and glib2 development libraries.
(see also .gitlab-ci.yml DEPS variable for the list of dependencies on Fedora)
You may build and install the shared library with meson:
meson build ninja -C build install
And configure QEMU with --enable-slirp=system to link against it.
(QEMU may build with the submodule static library using --enable-slirp=git)
Unfortunately, there are no automated tests available.
You may run QEMU -net user
linked with your development version.
Feel free to open issues on the project issues page.
You may clone the gitlab project and create a merge request.
Contributing with gitlab allows gitlab workflow, tracking issues, running CI etc.
Alternatively, you may send patches to [email protected] mailing list.
We intend to use libtool's versioning for the shared libraries and use SemVer for project versions.
For the versions available, see the tags on this repository.
See the COPYRIGHT file for details.