Skip to content

slirp: Add IANA Private Enterprise Number attribute

Peter Delevoryas requested to merge peterdelevoryas/libslirp:iana into master

I'm interested in adding more NCSI emulation in libslirp. This is useful in QEMU when you're using the slirp netdev backend. I have several patches from my fork that add more NCSI response handling, and one of the first things to add is the manufacturer's ID (which will be used in NCSI Get Version ID responses).

I'm also interested in adding an "NCSI MAC address" config attribute, to be returned in Get MAC Address responses, but that will be in a separate merge request.

Note: In order to get this to compile on the latest master, I needed the following diff, but I didn't include this because it's not related to the changes:

diff --git a/meson.build b/meson.build
index abbf0c7..2e9a0c5 100644
--- a/meson.build
+++ b/meson.build
@@ -1,5 +1,5 @@
 project('libslirp', 'c',
-  version : '4.7.0',
+  version : '4.6.1',
   license : 'BSD-3-Clause',
   default_options : ['warning_level=1', 'c_std=gnu99'],
   meson_version : '>= 0.50',

Merge request reports