[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 88/148: revered dumb change to vrt expanded
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 88/148: revered dumb change to vrt expanded header |
Date: |
Mon, 15 Aug 2016 00:47:28 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script.
nwest pushed a commit to annotated tag old_usrp_devel_udp
in repository gnuradio.
commit 63514770ddcb2b99b486e88f31f2177ba81b1a94
Author: Josh Blum <address@hidden>
Date: Wed Dec 16 15:13:35 2009 -0800
revered dumb change to vrt expanded header
---
vrt/lib/expanded_header.cc | 15 +--------------
1 file changed, 1 insertion(+), 14 deletions(-)
diff --git a/vrt/lib/expanded_header.cc b/vrt/lib/expanded_header.cc
index 71d2a42..bd1d92e 100644
--- a/vrt/lib/expanded_header.cc
+++ b/vrt/lib/expanded_header.cc
@@ -91,20 +91,7 @@ namespace vrt {
return false;
}
- /*
- * Load vrt header entries into the expanded_header h.
- * Check h to see if the entry exists, then load and handle byte ordering.
- */
- size_t word_offset = 0;
- if (true) h->header = ntohx(p[word_offset++]);
- if (h->stream_id_p()) h->stream_id = ntohx(p[word_offset++]);
- if (h->class_id_p()) h->class_id = ntohx(p[word_offset++]);
- if (h->integer_secs_p()) h->integer_secs = ntohx(p[word_offset++]);
- if (h->fractional_secs_p()){
- h->fractional_secs = ntohx(*((uint64_t*)p+word_offset));
- word_offset+=2;
- }
- if (h->trailer_p()) h->trailer =
ntohx(p[n32_bit_words_packet-1]);
+ h->header = ntohl(p[0]);
if (h->pkt_size() > len)
return false; // VRT header says packet is bigger than what
we've got
- [Commit-gnuradio] [gnuradio] 120/148: make it match the 36 bit wide version, (continued)
- [Commit-gnuradio] [gnuradio] 120/148: make it match the 36 bit wide version, git, 2016/08/14
- [Commit-gnuradio] [gnuradio] 108/148: renamed tics to ticks to be more pc, git, 2016/08/14
- [Commit-gnuradio] [gnuradio] 122/148: debug state, git, 2016/08/14
- [Commit-gnuradio] [gnuradio] 124/148: try proper reset, git, 2016/08/14
- [Commit-gnuradio] [gnuradio] 81/148: Removed stream-at changes to make this mergable into wip/usrp2. Stream-at will be re-implemented with the new vita capabilities., git, 2016/08/14
- [Commit-gnuradio] [gnuradio] 140/148: Improved the timed samples example with RTT estimation., git, 2016/08/14
- [Commit-gnuradio] [gnuradio] 123/148: forgot to declare wire, git, 2016/08/14
- [Commit-gnuradio] [gnuradio] 125/148: try a width that works..., git, 2016/08/14
- [Commit-gnuradio] [gnuradio] 80/148: working vrt tx, git, 2016/08/14
- [Commit-gnuradio] [gnuradio] 85/148: also release ethernet frames here, git, 2016/08/14
- [Commit-gnuradio] [gnuradio] 88/148: revered dumb change to vrt expanded header,
git <=
- [Commit-gnuradio] [gnuradio] 84/148: Replaced rx metadata with vrt expanded header. Removed timestamp from tx metadata, changes will be made for vrt., git, 2016/08/14
- [Commit-gnuradio] [gnuradio] 93/148: using vrt::expanded_header::unparse in usrp2 impl tx raw, git, 2016/08/14
- [Commit-gnuradio] [gnuradio] 94/148: Replaced the need for code word tables by setting the header/trailer lengths in the switch body jump table, just like in the unparser switch body., git, 2016/08/14
- [Commit-gnuradio] [gnuradio] 72/148: Logic for the start/end of burst bits, git, 2016/08/14
- [Commit-gnuradio] [gnuradio] 82/148: Merge branch 'merge_usrp2' into wip/usrp2, git, 2016/08/14
- [Commit-gnuradio] [gnuradio] 91/148: Added time spec to the start streaming command. One can do a start streaming at by specifiying a time spec, or leave the parameter off for stream now mode., git, 2016/08/14
- [Commit-gnuradio] [gnuradio] 97/148: removed the usrp2_bytesex header since it only imported from gruel, git, 2016/08/14
- [Commit-gnuradio] [gnuradio] 100/148: Made some gruel changes to get it compiling on this system., git, 2016/08/14
- [Commit-gnuradio] [gnuradio] 101/148: flattened usrp2 hierarchy `, git, 2016/08/14
- [Commit-gnuradio] [gnuradio] 87/148: Removed references to channel numbers in usrp2 and gr usrp2. Removed the sample handler and replaced it with the vrt packet handler. Fixed the build systems to require vrt for usrp., git, 2016/08/14