Changes in uspace/lib/net/il/ip_remote.c [79ae36dd:797b704] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/net/il/ip_remote.c
r79ae36dd r797b704 44 44 #include <packet_client.h> 45 45 #include <generic.h> 46 #include <async_obsolete.h> 46 47 47 #include <ipc/services.h> 48 48 #include <ipc/il.h> … … 66 66 in_addr_t address, in_addr_t netmask, in_addr_t gateway) 67 67 { 68 return (int) async_ obsolete_req_4_0(ip_phone, NET_IP_ADD_ROUTE,68 return (int) async_req_4_0(ip_phone, NET_IP_ADD_ROUTE, 69 69 (sysarg_t) device_id, (sysarg_t) gateway.s_addr, 70 70 (sysarg_t) address.s_addr, (sysarg_t) netmask.s_addr); … … 150 150 151 151 ipc_call_t answer; 152 aid_t message_id = async_ obsolete_send_1(ip_phone, NET_IP_GET_ROUTE,152 aid_t message_id = async_send_1(ip_phone, NET_IP_GET_ROUTE, 153 153 (sysarg_t) protocol, &answer); 154 154 155 if ((async_ obsolete_data_write_start(ip_phone, destination, addrlen) == EOK) &&156 (async_ obsolete_data_read_start(ip_phone, headerlen,155 if ((async_data_write_start(ip_phone, destination, addrlen) == EOK) && 156 (async_data_read_start(ip_phone, headerlen, 157 157 sizeof(*headerlen)) == EOK) && (*headerlen > 0)) { 158 158 *header = malloc(*headerlen); 159 159 if (*header) { 160 if (async_ obsolete_data_read_start(ip_phone, *header,160 if (async_data_read_start(ip_phone, *header, 161 161 *headerlen) != EOK) 162 162 free(*header); … … 243 243 in_addr_t gateway) 244 244 { 245 return (int) async_ obsolete_req_2_0(ip_phone, NET_IP_SET_GATEWAY,245 return (int) async_req_2_0(ip_phone, NET_IP_SET_GATEWAY, 246 246 (sysarg_t) device_id, (sysarg_t) gateway.s_addr); 247 247 }
Note:
See TracChangeset
for help on using the changeset viewer.