Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/net/il/ip_remote.c

    r797b704 rd3cdb7f0  
    3636 *
    3737 * @see ip_interface.h
    38  * @see il_remote.h
     38 * @see il_interface.h
    3939 *
    4040 */
     
    6767{
    6868        return (int) async_req_4_0(ip_phone, NET_IP_ADD_ROUTE,
    69             (sysarg_t) device_id, (sysarg_t) gateway.s_addr,
    70             (sysarg_t) address.s_addr, (sysarg_t) netmask.s_addr);
     69            (ipcarg_t) device_id, (ipcarg_t) gateway.s_addr,
     70            (ipcarg_t) address.s_addr, (ipcarg_t) netmask.s_addr);
    7171}
    7272
     
    7878 * @param[in] me        The requesting module service.
    7979 * @param[in] receiver  The message receiver. Used for remote connection.
    80  * @return              The phone of the needed service.
    81  * @return              EOK on success.
    82  * @return              Other error codes as defined for the bind_service()
     80 * @returns             The phone of the needed service.
     81 * @returns             EOK on success.
     82 * @returns             Other error codes as defined for the bind_service()
    8383 *                      function.
    8484 */
     
    8686    async_client_conn_t receiver)
    8787{
    88         return (int) bind_service(service, (sysarg_t) protocol, me, service,
     88        return (int) bind_service(service, (ipcarg_t) protocol, me, service,
    8989            receiver);
    9090}
     
    9393 *
    9494 * @param service       The IP module service. Ignored parameter.
    95  * @return              The IP module phone on success.
     95 * @returns             The IP module phone on success.
    9696 */
    9797int ip_connect_module(services_t service)
     
    121121    services_t service)
    122122{
    123         return generic_device_req_remote(ip_phone, NET_IP_DEVICE, device_id, 0,
     123        return generic_device_req_remote(ip_phone, NET_IL_DEVICE, device_id, 0,
    124124            service);
    125125}
     
    151151        ipc_call_t answer;
    152152        aid_t message_id = async_send_1(ip_phone, NET_IP_GET_ROUTE,
    153             (sysarg_t) protocol, &answer);
     153            (ipcarg_t) protocol, &answer);
    154154       
    155155        if ((async_data_write_start(ip_phone, destination, addrlen) == EOK) &&
     
    164164        }
    165165       
    166         sysarg_t result;
     166        ipcarg_t result;
    167167        async_wait_for(message_id, &result);
    168168       
     
    170170                free(*header);
    171171        else
    172                 *device_id = IPC_GET_DEVICE(answer);
     172                *device_id = IPC_GET_DEVICE(&answer);
    173173       
    174174        return (int) result;
     
    186186 */
    187187int ip_packet_size_req_remote(int ip_phone, device_id_t device_id,
    188     packet_dimension_t *packet_dimension)
    189 {
    190         return generic_packet_size_req_remote(ip_phone, NET_IP_PACKET_SPACE,
     188    packet_dimension_ref packet_dimension)
     189{
     190        return generic_packet_size_req_remote(ip_phone, NET_IL_PACKET_SPACE,
    191191            device_id, packet_dimension);
    192192}
     
    204204 */
    205205int ip_received_error_msg_remote(int ip_phone, device_id_t device_id,
    206     packet_t *packet, services_t target, services_t error)
     206    packet_t packet, services_t target, services_t error)
    207207{
    208208        return generic_received_msg_remote(ip_phone, NET_IP_RECEIVED_ERROR,
     
    225225 *                      function.
    226226 */
    227 int ip_send_msg_remote(int ip_phone, device_id_t device_id, packet_t *packet,
     227int ip_send_msg_remote(int ip_phone, device_id_t device_id, packet_t packet,
    228228    services_t sender, services_t error)
    229229{
    230         return generic_send_msg_remote(ip_phone, NET_IP_SEND, device_id,
     230        return generic_send_msg_remote(ip_phone, NET_IL_SEND, device_id,
    231231            packet_get_id(packet), sender, error);
    232232}
     
    244244{
    245245        return (int) async_req_2_0(ip_phone, NET_IP_SET_GATEWAY,
    246             (sysarg_t) device_id, (sysarg_t) gateway.s_addr);
     246            (ipcarg_t) device_id, (ipcarg_t) gateway.s_addr);
    247247}
    248248
Note: See TracChangeset for help on using the changeset viewer.