Changes in uspace/srv/net/inetsrv/ntrans.c [b7fd2a0:feeac0d] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/inetsrv/ntrans.c
rb7fd2a0 rfeeac0d 73 73 * 74 74 */ 75 errno_t ntrans_add(addr128_t ip_addr, addr48_t mac_addr)75 int ntrans_add(addr128_t ip_addr, addr48_t mac_addr) 76 76 { 77 77 inet_ntrans_t *ntrans; … … 107 107 * 108 108 */ 109 errno_t ntrans_remove(addr128_t ip_addr)109 int ntrans_remove(addr128_t ip_addr) 110 110 { 111 111 inet_ntrans_t *ntrans; … … 134 134 * 135 135 */ 136 errno_t ntrans_lookup(addr128_t ip_addr, addr48_t mac_addr)136 int ntrans_lookup(addr128_t ip_addr, addr48_t mac_addr) 137 137 { 138 138 fibril_mutex_lock(&ntrans_list_lock); … … 153 153 * 154 154 * @return EOK if woken up by another fibril 155 * @return ETIME OUT if timed out155 * @return ETIMEDOUT if timed out 156 156 * 157 157 */ 158 errno_t ntrans_wait_timeout(suseconds_t timeout)158 int ntrans_wait_timeout(suseconds_t timeout) 159 159 { 160 160 fibril_mutex_lock(&ntrans_list_lock); 161 errno_t rc = fibril_condvar_wait_timeout(&ntrans_cv, &ntrans_list_lock,161 int rc = fibril_condvar_wait_timeout(&ntrans_cv, &ntrans_list_lock, 162 162 timeout); 163 163 fibril_mutex_unlock(&ntrans_list_lock);
Note:
See TracChangeset
for help on using the changeset viewer.