Changeset b7fd2a0 in mainline for uspace/srv/net/inetsrv/ntrans.c
- Timestamp:
- 2018-01-13T03:10:29Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a53ed3a
- Parents:
- 36f0738
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/inetsrv/ntrans.c
r36f0738 rb7fd2a0 73 73 * 74 74 */ 75 int ntrans_add(addr128_t ip_addr, addr48_t mac_addr)75 errno_t ntrans_add(addr128_t ip_addr, addr48_t mac_addr) 76 76 { 77 77 inet_ntrans_t *ntrans; … … 107 107 * 108 108 */ 109 int ntrans_remove(addr128_t ip_addr)109 errno_t ntrans_remove(addr128_t ip_addr) 110 110 { 111 111 inet_ntrans_t *ntrans; … … 134 134 * 135 135 */ 136 int ntrans_lookup(addr128_t ip_addr, addr48_t mac_addr)136 errno_t ntrans_lookup(addr128_t ip_addr, addr48_t mac_addr) 137 137 { 138 138 fibril_mutex_lock(&ntrans_list_lock); … … 156 156 * 157 157 */ 158 int ntrans_wait_timeout(suseconds_t timeout)158 errno_t ntrans_wait_timeout(suseconds_t timeout) 159 159 { 160 160 fibril_mutex_lock(&ntrans_list_lock); 161 int rc = fibril_condvar_wait_timeout(&ntrans_cv, &ntrans_list_lock,161 errno_t 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.