I want to do an ioctl equivalent for following iproute2 command:
Following commands have no brctl equivalent, hence unable to find ioctl equivalent:
- ip link set eth0 master Bridge
- bridge vlan del vid 1 dev eth0
- bridge vlan add vid 101 dev Ethernet0
I need to issue ioctl as netlink is not supported.
ip link set eth0 master Bridge -> is equivalent to brctl addif <bridge_name> i got equivalent ioctl from strace.