aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/transport/gen_vrt_if_packet.py
diff options
context:
space:
mode:
authorNick Foster <nick@ettus.com>2011-05-23 13:24:29 -0700
committerNick Foster <nick@ettus.com>2011-05-23 13:24:29 -0700
commit92c664bd52adb57f09b5ceae08361a08ce405935 (patch)
treecb9cf01c799ae26db4b3d7e1cac239110d6ff3e0 /host/lib/transport/gen_vrt_if_packet.py
parent21856ee1ba8fb755bf94a0c70c76287f4998b6bf (diff)
parentf9fae3373e67c1bc19ab594d4b5604d69ecb0d68 (diff)
downloaduhd-92c664bd52adb57f09b5ceae08361a08ce405935.tar.gz
uhd-92c664bd52adb57f09b5ceae08361a08ce405935.tar.bz2
uhd-92c664bd52adb57f09b5ceae08361a08ce405935.zip
Merge branch 'master' of ettus.sourcerepo.com:ettus/uhdpriv
Diffstat (limited to 'host/lib/transport/gen_vrt_if_packet.py')
-rwxr-xr-xhost/lib/transport/gen_vrt_if_packet.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/host/lib/transport/gen_vrt_if_packet.py b/host/lib/transport/gen_vrt_if_packet.py
index 7df2092d8..7440def6a 100755
--- a/host/lib/transport/gen_vrt_if_packet.py
+++ b/host/lib/transport/gen_vrt_if_packet.py
@@ -140,6 +140,7 @@ void vrt::if_hdr_pack_$(suffix)(
//fill in complete header word
packet_buff[0] = $(XE_MACRO)(boost::uint32_t(0
+ | (if_packet_info.packet_type << 29)
| vrt_hdr_flags
| ((if_packet_info.packet_count & 0xf) << 16)
| (if_packet_info.num_packet_words32 & 0xffff)