[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 4/7] slirp: Add translator of DHCP vendor option
From: |
Fedor Lyakhov |
Subject: |
Re: [Qemu-devel] [PATCH 4/7] slirp: Add translator of DHCP vendor option string to DHCP TLV representation |
Date: |
Tue, 29 Apr 2014 04:06:01 +0400 |
Yes, sure. No problem.
On Tue, Apr 29, 2014 at 3:56 AM, Eric Blake <address@hidden> wrote:
> On 04/25/2014 04:11 PM, Fedor Lyakhov wrote:
>> New module dhcp_vendopt.c provides translate_dhcp_vendopt() function to
>> convert
>> command-line DHCP vendor option string into internal DHCP TLV (tag-length-
>> value) uint8_t buffer. The buffer is stored in global Slirp instance.
>>
>> Signed-off-by: Fedor Lyakhov <address@hidden>
>> ---
>> slirp/Makefile.objs | 1 +
>> slirp/dhcp_vendopt.c | 163
>> +++++++++++++++++++++++++++++++++++++++++++++++++++
>> slirp/slirp.c | 5 ++
>> slirp/slirp.h | 5 ++
>> 4 files changed, 174 insertions(+)
>> create mode 100644 slirp/dhcp_vendopt.c
>
>> +++ b/slirp/dhcp_vendopt.c
>> @@ -0,0 +1,163 @@
>> +/*
>> + * dhcp_vendoropt.c: adds vendor-specific options (option 43) to DHCP
>> Offer/Ack
>> + *
>> + * Copyright (c) 2014 Fedor Lyakhov <address@hidden>
>> + *
>> + * This program is free software; you can redistribute it and/or
>> + * modify it under the terms of the GNU General Public License
>> + * as published by the Free Software Foundation; either
>> + * version 3 of the License, or (at your option) any later version.
>
> Sorry, but this won't work. Qemu has portions that are GPLv2-only,
> which is incompatible with GPLv3+. Can you release this as GPLv2+ instead?
>
> --
> Eric Blake eblake redhat com +1-919-301-3266
> Libvirt virtualization library http://libvirt.org
>
--
Best regards,
Fedor
- [Qemu-devel] [PATCH 0/7] slirp: Add support of vendor-specific info option to built-in DHCP server, Fedor Lyakhov, 2014/04/25
- [Qemu-devel] [PATCH 4/7] slirp: Add translator of DHCP vendor option string to DHCP TLV representation, Fedor Lyakhov, 2014/04/25
- [Qemu-devel] [PATCH 7/7] slirp: Add unit test for slirp/dhcp_vendopt.c module, Fedor Lyakhov, 2014/04/25
- [Qemu-devel] [PATCH 1/7] slirp: Move BOOTP/DHCP protocol defines to a separate header, Fedor Lyakhov, 2014/04/25
- [Qemu-devel] [PATCH 2/7] slirp: Add header inclusion guard to slirp/debug.h, Fedor Lyakhov, 2014/04/25
- [Qemu-devel] [PATCH 3/7] slirp: Add new command-line suboption "[, dhcpvendopt=optstring]" to "-net user", Fedor Lyakhov, 2014/04/25
- [Qemu-devel] [PATCH 5/7] slirp: Add DHCP vendor option to DHCP Offer/Ack packet, Fedor Lyakhov, 2014/04/25
- [Qemu-devel] [PATCH 6/7] slirp: Add description of new "dhcpvendopt" suboption to the help and man page, Fedor Lyakhov, 2014/04/25