diff options
Diffstat (limited to 'src/include/dgram.h')
-rw-r--r-- | src/include/dgram.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/include/dgram.h b/src/include/dgram.h index e67eee6..9c87b81 100644 --- a/src/include/dgram.h +++ b/src/include/dgram.h @@ -91,12 +91,17 @@ int dgram_load(uint16_t length, uint8_t port, struct onet_dgram *res); * Send a datagram through ONET * * @link: The ONET link to send data over + * @dst: Destination address to send to * @buf: The buffer containing data to send * @len: Length of buffer to send * * Returns the number of bytes transmitted on success, otherwise * a less than zero value on failure. */ -tx_len_t dgram_send(struct onet_link *link, void *buf, uint16_t len); +tx_len_t dgram_send( + struct onet_link *link, mac_addr_t dst, + void *buf, uint16_t len +); + #endif /* DGRAM_H */ |