summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-02-10 16:53:37 -0800
committerJosh Blum <josh@joshknows.com>2010-02-10 16:53:37 -0800
commit2b6c895b4f9916a06b14c40f545c9b4e53141c9a (patch)
treefee48a8e129bf36e67a6ba1b6d7898429e79b0bb /lib
parenta61cc56bb6d544742487326ccba7c457bbddb0e6 (diff)
downloaduhd-2b6c895b4f9916a06b14c40f545c9b4e53141c9a.tar.gz
uhd-2b6c895b4f9916a06b14c40f545c9b4e53141c9a.tar.bz2
uhd-2b6c895b4f9916a06b14c40f545c9b4e53141c9a.zip
net_common working in this state with control udp packets
Diffstat (limited to 'lib')
-rw-r--r--lib/usrp/mboard/usrp2_fw_common.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/usrp/mboard/usrp2_fw_common.h b/lib/usrp/mboard/usrp2_fw_common.h
index eb097c3fe..28d58cf7c 100644
--- a/lib/usrp/mboard/usrp2_fw_common.h
+++ b/lib/usrp/mboard/usrp2_fw_common.h
@@ -39,13 +39,13 @@ typedef enum{
typedef struct{
uint32_t id;
uint32_t seq;
- union data{
- struct discovery_addrs{
+ union{
+ struct{
uint32_t ip_addr;
uint8_t mac_addr[6];
uint8_t _padding[2];
- };
- };
+ } discovery_addrs;
+ } data;
} usrp2_ctrl_data_t;
#ifdef __cplusplus