commit | afed1c10a5419d0acc44bc957448f72c0467c797 | [log] [tgz] |
---|---|---|
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | Thu Apr 25 20:20:21 2024 +0200 |
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | Thu Apr 25 20:21:18 2024 +0200 |
tree | ee79280a51ff57c91c8489c7cc6fa55944258f84 | |
parent | ef3ee7396c0d9c96f2100ec6e1c83a6921f6b5be [diff] |
mbuf: Fix copying headers Since we increase m->m_len by header_size, we mustn't add header_size again when copying. n->m_len also needs to be subtracted header_size, since we advance n->m_data by header_size. This only had effect for ipv6 trafic with debug builds
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 slirp@lists.freedesktop.org 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.