Changeset d8b47eca in mainline for uspace/srv/net/ethip/atrans.c
- Timestamp:
- 2013-07-03T17:16:44Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 66366470, 882bc4b
- Parents:
- 1d24ad3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/ethip/atrans.c
r1d24ad3 rd8b47eca 49 49 static FIBRIL_CONDVAR_INITIALIZE(atrans_cv); 50 50 51 static ethip_atrans_t *atrans_find( uint32_t ip_addr)51 static ethip_atrans_t *atrans_find(addr32_t ip_addr) 52 52 { 53 53 list_foreach(atrans_list, link) { … … 62 62 } 63 63 64 int atrans_add( uint32_t ip_addr, addr48_t mac_addr)64 int atrans_add(addr32_t ip_addr, addr48_t mac_addr) 65 65 { 66 66 ethip_atrans_t *atrans; … … 88 88 } 89 89 90 int atrans_remove( uint32_t ip_addr)90 int atrans_remove(addr32_t ip_addr) 91 91 { 92 92 ethip_atrans_t *atrans; … … 106 106 } 107 107 108 int atrans_lookup( uint32_t ip_addr, addr48_t mac_addr)108 int atrans_lookup(addr32_t ip_addr, addr48_t mac_addr) 109 109 { 110 110 fibril_mutex_lock(&atrans_list_lock);
Note:
See TracChangeset
for help on using the changeset viewer.