On Fri, Jul 31, 2020 at 06:28:32AM +0200, Klemens Nanni wrote:
> ifconfig(8) detects switch(4) through its unique SIOCSWSDPID ioctl and
> further does another switch specific ioctl for the default output
> regardless of configuration and/or members:
> 
>       SIOCSWSDPID struct ifbrparam
>               Set the datapath_id in the OpenFlow protocol of the switch named
>               in ifbrp_name to the value in the ifbrpu_datapath field.
Sorry, stupid copy/pasta mistake;  ifconfig uses the read-only "get"
ioctl of course for regular output which my diff addresses:

        SIOCSWGDPID
                Retrieve the datapath_id in the OpenFlow protocol of the switch
                named in ifbrp_name into the ifbrpu_datapath field.

Reply via email to