diff options
Diffstat (limited to 'gr-blocks/grc')
-rw-r--r-- | gr-blocks/grc/blocks_tuntap_pdu.xml | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/gr-blocks/grc/blocks_tuntap_pdu.xml b/gr-blocks/grc/blocks_tuntap_pdu.xml index d9a63d4a7f..16e5871b93 100644 --- a/gr-blocks/grc/blocks_tuntap_pdu.xml +++ b/gr-blocks/grc/blocks_tuntap_pdu.xml @@ -8,11 +8,11 @@ <name>TUNTAP PDU</name> <key>blocks_tuntap_pdu</key> <import>from gnuradio import blocks</import> - <make>blocks.tuntap_pdu($ifn, $mtu)</make> + <make>blocks.tuntap_pdu($ifn, $mtu, $istunflag)</make> <param> <name>Interface Name</name> <key>ifn</key> - <value>tun0</value> + <value>tap0</value> <type>string</type> </param> <param> @@ -21,6 +21,20 @@ <value>10000</value> <type>int</type> </param> + <param> + <name>Flag</name> + <key>istunflag</key> + <value>False</value> + <type>enum</type> + <option> + <name>TUN(IP Packet)</name> + <key>True</key> + </option> + <option> + <name>TAP(Ethernet Frame)</name> + <key>False</key> + </option> + </param> <sink> <name>pdus</name> <type>message</type> |