diff options
author | Josh Blum <josh@joshknows.com> | 2010-02-10 16:53:37 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-02-10 16:53:37 -0800 |
commit | 2b6c895b4f9916a06b14c40f545c9b4e53141c9a (patch) | |
tree | fee48a8e129bf36e67a6ba1b6d7898429e79b0bb /lib | |
parent | a61cc56bb6d544742487326ccba7c457bbddb0e6 (diff) | |
download | uhd-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.h | 8 |
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 |