summaryrefslogtreecommitdiff
path: root/usrp/host/apps-inband/read_packets.cc
diff options
context:
space:
mode:
Diffstat (limited to 'usrp/host/apps-inband/read_packets.cc')
-rw-r--r--usrp/host/apps-inband/read_packets.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/usrp/host/apps-inband/read_packets.cc b/usrp/host/apps-inband/read_packets.cc
index 92d8baf0d..3d112d98f 100644
--- a/usrp/host/apps-inband/read_packets.cc
+++ b/usrp/host/apps-inband/read_packets.cc
@@ -73,6 +73,12 @@ int main(int argc, char *argv[]) {
// if(pkt->carrier_sense())
// printf("\tcarrier sense\n");
+ if(pkt->underrun())
+ printf("\tunderrun\n");
+
+ if(pkt->overrun())
+ printf("\toverrun\n");
+
printf("\tchannel: \t0x%x\n", pkt->chan());
printf("\ttimestamp: \t0x%x\n", pkt->timestamp());
//printf("\ttimestamp: \t%u\n", pkt->timestamp());