Advertisement
Guest User

dma_udp.h

a guest
May 28th, 2012
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.83 KB | None | 0 0
  1. #ifndef DMA_UDP_H
  2. #define DMA_UDP_H
  3.  
  4. #include <stdint.h>
  5.  
  6. void dma_udp_init (uint8_t *mac, uint8_t *ip, uint8_t *gateway, uint8_t *subnet);
  7. void dma_udp_begin (uint8_t sock, uint16_t port);
  8. void dma_udp_set_remote (uint8_t sock, uint8_t *ip, uint16_t port);
  9. void dma_udp_send (uint8_t sock, uint8_t *dat, uint16_t len);
  10. uint16_t dma_udp_available (uint8_t sock);
  11. void dma_udp_receive (uint8_t sock, uint8_t *buf, uint16_t len);
  12.  
  13. void dma_udp_send_nonblocking_1 (uint8_t sock, uint8_t *dat, uint16_t len);
  14. void dma_udp_send_nonblocking_2 (uint8_t sock, uint8_t *dat, uint16_t len);
  15. void dma_udp_send_nonblocking_3 (uint8_t sock, uint8_t *dat, uint16_t len);
  16. void dma_udp_send_nonblocking_4 (uint8_t sock, uint8_t *dat, uint16_t len);
  17. void dma_udp_send_nonblocking_5 (uint8_t sock, uint8_t *dat, uint16_t len);
  18.  
  19. #endif // DMA_UDP_H
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement