Changeset a1e2df13 in mainline for uspace/srv/net/inetsrv/addrobj.c


Ignore:
Timestamp:
2012-11-11T21:31:03Z (12 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
25eec4e
Parents:
141a20d (diff), d1538a1 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/inetsrv/addrobj.c

    r141a20d ra1e2df13  
    5959
    6060        if (addr == NULL) {
    61                 log_msg(LVL_ERROR, "Failed allocating address object. "
     61                log_msg(LOG_DEFAULT, LVL_ERROR, "Failed allocating address object. "
    6262                    "Out of memory.");
    6363                return NULL;
     
    114114        uint32_t mask;
    115115
    116         log_msg(LVL_DEBUG, "inet_addrobj_find(%x)", (unsigned)addr->ipv4);
     116        log_msg(LOG_DEFAULT, LVL_DEBUG, "inet_addrobj_find(%x)", (unsigned)addr->ipv4);
    117117
    118118        fibril_mutex_lock(&addr_list_lock);
     
    125125                if ((naddr->naddr.ipv4 & mask) == (addr->ipv4 & mask)) {
    126126                        fibril_mutex_unlock(&addr_list_lock);
    127                         log_msg(LVL_DEBUG, "inet_addrobj_find: found %p",
     127                        log_msg(LOG_DEFAULT, LVL_DEBUG, "inet_addrobj_find: found %p",
    128128                            naddr);
    129129                        return naddr;
     
    131131        }
    132132
    133         log_msg(LVL_DEBUG, "inet_addrobj_find: Not found");
     133        log_msg(LOG_DEFAULT, LVL_DEBUG, "inet_addrobj_find: Not found");
    134134        fibril_mutex_unlock(&addr_list_lock);
    135135
     
    147147        assert(fibril_mutex_is_locked(&addr_list_lock));
    148148
    149         log_msg(LVL_DEBUG, "inet_addrobj_find_by_name_locked('%s', '%s')",
     149        log_msg(LOG_DEFAULT, LVL_DEBUG, "inet_addrobj_find_by_name_locked('%s', '%s')",
    150150            name, ilink->svc_name);
    151151
     
    155155
    156156                if (naddr->ilink == ilink && str_cmp(naddr->name, name) == 0) {
    157                         log_msg(LVL_DEBUG, "inet_addrobj_find_by_name_locked: found %p",
     157                        log_msg(LOG_DEFAULT, LVL_DEBUG, "inet_addrobj_find_by_name_locked: found %p",
    158158                            naddr);
    159159                        return naddr;
     
    161161        }
    162162
    163         log_msg(LVL_DEBUG, "inet_addrobj_find_by_name_locked: Not found");
     163        log_msg(LOG_DEFAULT, LVL_DEBUG, "inet_addrobj_find_by_name_locked: Not found");
    164164
    165165        return NULL;
     
    177177        inet_addrobj_t *aobj;
    178178
    179         log_msg(LVL_DEBUG, "inet_addrobj_find_by_name('%s', '%s')",
     179        log_msg(LOG_DEFAULT, LVL_DEBUG, "inet_addrobj_find_by_name('%s', '%s')",
    180180            name, ilink->svc_name);
    181181
     
    194194inet_addrobj_t *inet_addrobj_get_by_id(sysarg_t id)
    195195{
    196         log_msg(LVL_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);
    197197
    198198        fibril_mutex_lock(&addr_list_lock);
Note: See TracChangeset for help on using the changeset viewer.