Changeset a1a101d in mainline for uspace/srv/net/inetsrv/addrobj.c
- Timestamp:
- 2012-08-17T16:58:51Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- bc0ccab
- Parents:
- 920d0fc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/inetsrv/addrobj.c
r920d0fc ra1a101d 59 59 60 60 if (addr == NULL) { 61 log_msg(L VL_ERROR, "Failed allocating address object. "61 log_msg(LOG_DEFAULT, LVL_ERROR, "Failed allocating address object. " 62 62 "Out of memory."); 63 63 return NULL; … … 114 114 uint32_t mask; 115 115 116 log_msg(L VL_DEBUG, "inet_addrobj_find(%x)", (unsigned)addr->ipv4);116 log_msg(LOG_DEFAULT, LVL_DEBUG, "inet_addrobj_find(%x)", (unsigned)addr->ipv4); 117 117 118 118 fibril_mutex_lock(&addr_list_lock); … … 125 125 if ((naddr->naddr.ipv4 & mask) == (addr->ipv4 & mask)) { 126 126 fibril_mutex_unlock(&addr_list_lock); 127 log_msg(L VL_DEBUG, "inet_addrobj_find: found %p",127 log_msg(LOG_DEFAULT, LVL_DEBUG, "inet_addrobj_find: found %p", 128 128 naddr); 129 129 return naddr; … … 131 131 } 132 132 133 log_msg(L VL_DEBUG, "inet_addrobj_find: Not found");133 log_msg(LOG_DEFAULT, LVL_DEBUG, "inet_addrobj_find: Not found"); 134 134 fibril_mutex_unlock(&addr_list_lock); 135 135 … … 147 147 assert(fibril_mutex_is_locked(&addr_list_lock)); 148 148 149 log_msg(L VL_DEBUG, "inet_addrobj_find_by_name_locked('%s', '%s')",149 log_msg(LOG_DEFAULT, LVL_DEBUG, "inet_addrobj_find_by_name_locked('%s', '%s')", 150 150 name, ilink->svc_name); 151 151 … … 155 155 156 156 if (naddr->ilink == ilink && str_cmp(naddr->name, name) == 0) { 157 log_msg(L VL_DEBUG, "inet_addrobj_find_by_name_locked: found %p",157 log_msg(LOG_DEFAULT, LVL_DEBUG, "inet_addrobj_find_by_name_locked: found %p", 158 158 naddr); 159 159 return naddr; … … 161 161 } 162 162 163 log_msg(L VL_DEBUG, "inet_addrobj_find_by_name_locked: Not found");163 log_msg(LOG_DEFAULT, LVL_DEBUG, "inet_addrobj_find_by_name_locked: Not found"); 164 164 165 165 return NULL; … … 177 177 inet_addrobj_t *aobj; 178 178 179 log_msg(L VL_DEBUG, "inet_addrobj_find_by_name('%s', '%s')",179 log_msg(LOG_DEFAULT, LVL_DEBUG, "inet_addrobj_find_by_name('%s', '%s')", 180 180 name, ilink->svc_name); 181 181 … … 194 194 inet_addrobj_t *inet_addrobj_get_by_id(sysarg_t id) 195 195 { 196 log_msg(L VL_DEBUG, "inet_addrobj_get_by_id(%zu)", (size_t)id);196 log_msg(LOG_DEFAULT, LVL_DEBUG, "inet_addrobj_get_by_id(%zu)", (size_t)id); 197 197 198 198 fibril_mutex_lock(&addr_list_lock);
Note:
See TracChangeset
for help on using the changeset viewer.