Re: [PATCH v3 11/20] nwfilter: convert IP address learning code to virNWFilterBindingDefPtr

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 06/14/2018 08:33 AM, Daniel P. Berrangé wrote:
> Use the virNWFilterBindingDefPTr struct in the IP address learning code
> directly.
> 
> Reviewed-by: John Ferlan <jferlan@xxxxxxxxxx>
> Signed-off-by: Daniel P. Berrangé <berrange@xxxxxxxxxx>
> ---
>  src/nwfilter/nwfilter_gentech_driver.c |   7 +-
>  src/nwfilter/nwfilter_learnipaddr.c    | 106 +++++++------------------
>  src/nwfilter/nwfilter_learnipaddr.h    |   7 +-
>  3 files changed, 32 insertions(+), 88 deletions(-)


R-By still applies, but please let's...

> --- a/src/nwfilter/nwfilter_learnipaddr.c
> +++ b/src/nwfilter/nwfilter_learnipaddr.c

[...]

> @@ -737,19 +724,14 @@ learnIPAddressThread(void *arg)
>   */

Adjust the comments above here to replace the ifname, linkdev, macaddr,
filtername, and filterparams with @binding

>  int
>  virNWFilterLearnIPAddress(virNWFilterTechDriverPtr techdriver,
> -                          const char *ifname,
> +                          virNWFilterBindingDefPtr binding,
>                            int ifindex,
> -                          const char *linkdev,
> -                          const virMacAddr *macaddr,
> -                          const char *filtername,
> -                          virHashTablePtr filterparams,
>                            virNWFilterDriverStatePtr driver,
>                            int howDetect)

[...]

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux