Changeset 228e490 in mainline for uspace/srv/net/tl/icmp/icmp.c


Ignore:
Timestamp:
2010-12-14T17:00:02Z (14 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a9b6bec, eb221e5
Parents:
dd8d5a7
Message:

initial modifications for supporting declarative IPC interfaces

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/tl/icmp/icmp.c

    rdd8d5a7 r228e490  
    693693        int rc;
    694694
    695         switch (IPC_GET_METHOD(*call)) {
     695        switch (IPC_GET_IMETHOD(*call)) {
    696696        case NET_ICMP_DEST_UNREACH:
    697697                rc = packet_translate_remote(icmp_globals.net_phone, &packet,
     
    824824
    825825                /* Process the call */
    826                 switch (IPC_GET_METHOD(call)) {
     826                switch (IPC_GET_IMETHOD(call)) {
    827827                case IPC_M_PHONE_HUNGUP:
    828828                        keep_on_going = false;
     
    900900
    901901        *answer_count = 0;
    902         switch (IPC_GET_METHOD(*call)) {
     902        switch (IPC_GET_IMETHOD(*call)) {
    903903        case NET_TL_RECEIVED:
    904904                rc = packet_translate_remote(icmp_globals.net_phone, &packet,
     
    953953                 * result.
    954954                 */
    955                 if ((IPC_GET_METHOD(call) == IPC_M_PHONE_HUNGUP) ||
     955                if ((IPC_GET_IMETHOD(call) == IPC_M_PHONE_HUNGUP) ||
    956956                    (res == EHANGUP))
    957957                        return;
Note: See TracChangeset for help on using the changeset viewer.