Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/net/generic/packet_remote.c

    r79ae36dd rffa2c8ef  
    3737
    3838#include <async.h>
    39 #include <async_obsolete.h>
    4039#include <errno.h>
    4140#include <ipc/packet.h>
     
    6059 * @return EOK on success.
    6160 * @return Other error codes as defined for the pm_add() function.
    62  * @return Other error codes as defined for the async_obsolete_share_in_start() function.
     61 * @return Other error codes as defined for the async_share_in_start() function.
    6362 *
    6463 */
     
    7069        int rc;
    7170       
    72         message = async_obsolete_send_1(phone, NET_PACKET_GET, packet_id, &answer);
     71        message = async_send_1(phone, NET_PACKET_GET, packet_id, &answer);
    7372
    7473        *packet = (packet_t *) as_get_mappable_page(size);
    75         rc = async_obsolete_share_in_start_0_0(phone, *packet, size);
     74        rc = async_share_in_start_0_0(phone, *packet, size);
    7675        if (rc != EOK) {
    7776                munmap(*packet, size);
     
    118117                sysarg_t size;
    119118               
    120                 rc = async_obsolete_req_1_1(phone, NET_PACKET_GET_SIZE, packet_id,
     119                rc = async_req_1_1(phone, NET_PACKET_GET_SIZE, packet_id,
    121120                    &size);
    122121                if (rc != EOK)
     
    155154        int rc;
    156155       
    157         rc = async_obsolete_req_4_2(phone, NET_PACKET_CREATE_4, max_content, addr_len,
     156        rc = async_req_4_2(phone, NET_PACKET_CREATE_4, max_content, addr_len,
    158157            max_prefix, max_suffix, &packet_id, &size);
    159158        if (rc != EOK)
     
    186185        int rc;
    187186       
    188         rc = async_obsolete_req_1_2(phone, NET_PACKET_CREATE_1, content, &packet_id,
     187        rc = async_req_1_2(phone, NET_PACKET_CREATE_1, content, &packet_id,
    189188            &size);
    190189        if (rc != EOK)
     
    213212void pq_release_remote(int phone, packet_id_t packet_id)
    214213{
    215         async_obsolete_msg_1(phone, NET_PACKET_RELEASE, packet_id);
     214        async_msg_1(phone, NET_PACKET_RELEASE, packet_id);
    216215}
    217216
Note: See TracChangeset for help on using the changeset viewer.