diff options
author | Josh Blum <josh@joshknows.com> | 2010-11-17 17:12:01 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-12-11 18:43:09 -0800 |
commit | 68af2b9ccf556f42d7697c73406abdcc31093d1b (patch) | |
tree | 4045a45d702f678446f1d89db3082b548a8f4c8e /firmware/microblaze/lib/net_common.c | |
parent | 58d19c5adf7bde9298ad4363c275f72e4bbecd73 (diff) | |
download | uhd-68af2b9ccf556f42d7697c73406abdcc31093d1b.tar.gz uhd-68af2b9ccf556f42d7697c73406abdcc31093d1b.tar.bz2 uhd-68af2b9ccf556f42d7697c73406abdcc31093d1b.zip |
usrp2: implement routing mode calls, and prefix pkt ctrl calls
Diffstat (limited to 'firmware/microblaze/lib/net_common.c')
-rw-r--r-- | firmware/microblaze/lib/net_common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/microblaze/lib/net_common.c b/firmware/microblaze/lib/net_common.c index cc08997a0..486a34252 100644 --- a/firmware/microblaze/lib/net_common.c +++ b/firmware/microblaze/lib/net_common.c @@ -128,7 +128,7 @@ send_pkt(eth_mac_addr_t dst, int ethertype, ehdr.src = _local_mac_addr; ehdr.ethertype = ethertype; - uint32_t *buff = (uint32_t *)claim_outgoing_buffer(); + uint32_t *buff = (uint32_t *)pkt_ctrl_claim_outgoing_buffer(); // Copy the pieces into the buffer uint32_t *p = buff; @@ -165,7 +165,7 @@ send_pkt(eth_mac_addr_t dst, int ethertype, if (total_len < 60) // ensure that we don't try to send a short packet total_len = 60; - commit_outgoing_buffer(total_len/4); + pkt_ctrl_commit_outgoing_buffer(total_len/4); } unsigned int |