Changeset ab87db5 in mainline for uspace/srv/net/inetsrv/inetsrv.c


Ignore:
Timestamp:
2019-02-23T17:16:01Z (5 years ago)
Author:
GitHub <noreply@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8c193d83, ca0e838
Parents:
bc417660 (diff), 95a47b0 (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.
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-23 17:16:01)
git-committer:
GitHub <noreply@…> (2019-02-23 17:16:01)
Message:

Merge pull request #157

Turn some function-like macros into functions

File:
1 edited

Legend:

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

    rbc417660 rab87db5  
    233233        log_msg(LOG_DEFAULT, LVL_DEBUG, "inet_get_srcaddr_srv()");
    234234
    235         uint8_t tos = IPC_GET_ARG1(*icall);
     235        uint8_t tos = ipc_get_arg1(icall);
    236236
    237237        ipc_call_t call;
     
    291291        inet_dgram_t dgram;
    292292
    293         dgram.iplink = IPC_GET_ARG1(*icall);
    294         dgram.tos = IPC_GET_ARG2(*icall);
    295 
    296         uint8_t ttl = IPC_GET_ARG3(*icall);
    297         int df = IPC_GET_ARG4(*icall);
     293        dgram.iplink = ipc_get_arg1(icall);
     294        dgram.tos = ipc_get_arg2(icall);
     295
     296        uint8_t ttl = ipc_get_arg3(icall);
     297        int df = ipc_get_arg4(icall);
    298298
    299299        ipc_call_t call;
     
    352352        sysarg_t proto;
    353353
    354         proto = IPC_GET_ARG1(*call);
     354        proto = ipc_get_arg1(call);
    355355        log_msg(LOG_DEFAULT, LVL_DEBUG, "inet_set_proto_srv(%lu)", (unsigned long) proto);
    356356
     
    397397                ipc_call_t call;
    398398                async_get_call(&call);
    399                 sysarg_t method = IPC_GET_IMETHOD(call);
     399                sysarg_t method = ipc_get_imethod(&call);
    400400
    401401                if (!method) {
Note: See TracChangeset for help on using the changeset viewer.