Update README (documents new multi-queue method)

This commit is contained in:
montag451 committed 2019-12-19 13:41:21 +01:00
1 parent b7e8acba10
commit c1029cbe9e
1 file changed
+6
+6
View File
@@ -62,6 +62,12 @@ To bring down the device::
tun.down()
To enable/disable the queue associated with the device (works only if
it has been created with IFF_MULTI_QUEUE)::
tun.mq_attach() # enable the queue
tun.mq_attach(False) # disable the queue
To read/write to the device, use the methods ``read(size)`` and
``write(buf)``::