Changes in uspace/lib/net/il/ip_remote.c [1bfd3d3:96b02eb9] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/net/il/ip_remote.c
r1bfd3d3 r96b02eb9 67 67 { 68 68 return (int) async_req_4_0(ip_phone, NET_IP_ADD_ROUTE, 69 ( ipcarg_t) device_id, (ipcarg_t) gateway.s_addr,70 ( ipcarg_t) address.s_addr, (ipcarg_t) netmask.s_addr);69 (sysarg_t) device_id, (sysarg_t) gateway.s_addr, 70 (sysarg_t) address.s_addr, (sysarg_t) netmask.s_addr); 71 71 } 72 72 … … 86 86 async_client_conn_t receiver) 87 87 { 88 return (int) bind_service(service, ( ipcarg_t) protocol, me, service,88 return (int) bind_service(service, (sysarg_t) protocol, me, service, 89 89 receiver); 90 90 } … … 151 151 ipc_call_t answer; 152 152 aid_t message_id = async_send_1(ip_phone, NET_IP_GET_ROUTE, 153 ( ipcarg_t) protocol, &answer);153 (sysarg_t) protocol, &answer); 154 154 155 155 if ((async_data_write_start(ip_phone, destination, addrlen) == EOK) && … … 164 164 } 165 165 166 ipcarg_t result;166 sysarg_t result; 167 167 async_wait_for(message_id, &result); 168 168 … … 204 204 */ 205 205 int 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) 207 207 { 208 208 return generic_received_msg_remote(ip_phone, NET_IP_RECEIVED_ERROR, … … 225 225 * function. 226 226 */ 227 int ip_send_msg_remote(int ip_phone, device_id_t device_id, packet_t packet,227 int ip_send_msg_remote(int ip_phone, device_id_t device_id, packet_t *packet, 228 228 services_t sender, services_t error) 229 229 { … … 244 244 { 245 245 return (int) async_req_2_0(ip_phone, NET_IP_SET_GATEWAY, 246 ( ipcarg_t) device_id, (ipcarg_t) gateway.s_addr);246 (sysarg_t) device_id, (sysarg_t) gateway.s_addr); 247 247 } 248 248
Note:
See TracChangeset
for help on using the changeset viewer.