Skip to content

Commit

Permalink
set optional tag on tuntap and socket msg ports
Browse files Browse the repository at this point in the history
  • Loading branch information
guruofquality committed Oct 3, 2012
1 parent 0ead95c commit bec0ec5
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
2 changes: 2 additions & 0 deletions grc/extras_socket_msg.xml
Expand Up @@ -38,9 +38,11 @@
<sink> <sink>
<name>in</name> <name>in</name>
<type></type> <type></type>
<optional>1</optional>
</sink> </sink>
<source> <source>
<name>out</name> <name>out</name>
<type></type> <type></type>
<optional>1</optional>
</source> </source>
</block> </block>
2 changes: 2 additions & 0 deletions grc/extras_tuntap.xml
Expand Up @@ -20,9 +20,11 @@
<sink> <sink>
<name>in</name> <name>in</name>
<type></type> <type></type>
<optional>1</optional>
</sink> </sink>
<source> <source>
<name>out</name> <name>out</name>
<type></type> <type></type>
<optional>1</optional>
</source> </source>
</block> </block>
3 changes: 3 additions & 0 deletions include/gnuradio/extras/tuntap.h
Expand Up @@ -37,6 +37,9 @@ class GR_EXTRAS_API tuntap : virtual public gr_hier_block2{
* Use the Universal TUN/TAP device driver to move packets to/from kernel * Use the Universal TUN/TAP device driver to move packets to/from kernel
* See /usr/src/linux/Documentation/networking/tuntap.txt * See /usr/src/linux/Documentation/networking/tuntap.txt
* *
* Tuntap should not be used to create a MAC layer!
* https://en.wikipedia.org/wiki/Transmission_Control_Protocol#TCP_over_wireless_networks
*
* \param dev the device name (depends on os, blank for automatic) * \param dev the device name (depends on os, blank for automatic)
* \return a new TUN/TAP interface block * \return a new TUN/TAP interface block
*/ */
Expand Down
2 changes: 1 addition & 1 deletion python/pmt_rpc.py
Expand Up @@ -58,7 +58,7 @@ def __init__(self, obj, result_msg = True):
name = "pmt rpc", name = "pmt rpc",
in_sig = None, in_sig = None,
out_sig = None, out_sig = None,
has_msg_input=True, num_msg_inputs=1,
num_msg_outputs = 1 if result_msg else 0, num_msg_outputs = 1 if result_msg else 0,
) )


Expand Down

0 comments on commit bec0ec5

Please sign in to comment.