Changeset 96b02eb9 in mainline for uspace/srv/net
- Timestamp:
- 2010-12-14T12:52:38Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6b10dab
- Parents:
- 554debd
- Location:
- uspace/srv/net
- Files:
-
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/il/arp/arp.c
r554debd r96b02eb9 320 320 /* Bind the new one */ 321 321 device->phone = nil_bind_service(device->service, 322 ( ipcarg_t) device->device_id, SERVICE_ARP,322 (sysarg_t) device->device_id, SERVICE_ARP, 323 323 arp_globals.client_connection); 324 324 if (device->phone < 0) { -
uspace/srv/net/il/arp/arp_module.c
r554debd r96b02eb9 65 65 int il_module_start_standalone(async_client_conn_t client_connection) 66 66 { 67 ipcarg_t phonehash;67 sysarg_t phonehash; 68 68 int rc; 69 69 -
uspace/srv/net/il/ip/ip.c
r554debd r96b02eb9 430 430 // binds the netif service which also initializes the device 431 431 ip_netif->phone = nil_bind_service(ip_netif->service, 432 ( ipcarg_t) ip_netif->device_id, SERVICE_IP,432 (sysarg_t) ip_netif->device_id, SERVICE_IP, 433 433 ip_globals.client_connection); 434 434 if (ip_netif->phone < 0) { -
uspace/srv/net/il/ip/ip_module.c
r554debd r96b02eb9 66 66 int il_module_start_standalone(async_client_conn_t client_connection) 67 67 { 68 ipcarg_t phonehash;68 sysarg_t phonehash; 69 69 int rc; 70 70 -
uspace/srv/net/net/net.c
r554debd r96b02eb9 322 322 static int net_module_start(async_client_conn_t client_connection) 323 323 { 324 ipcarg_t phonehash;324 sysarg_t phonehash; 325 325 int rc; 326 326 -
uspace/srv/net/netif/lo/lo.c
r554debd r96b02eb9 164 164 int netif_initialize(void) 165 165 { 166 ipcarg_t phonehash;166 sysarg_t phonehash; 167 167 168 168 return REGISTER_ME(SERVICE_LO, &phonehash); -
uspace/srv/net/nil/eth/eth.c
r554debd r96b02eb9 251 251 IPC_GET_DEVICE(icall), packet, 0); 252 252 } 253 ipc_answer_0(iid, ( ipcarg_t) rc);253 ipc_answer_0(iid, (sysarg_t) rc); 254 254 break; 255 255 default: 256 ipc_answer_0(iid, ( ipcarg_t) ENOTSUP);256 ipc_answer_0(iid, (sysarg_t) ENOTSUP); 257 257 } 258 258 -
uspace/srv/net/nil/eth/eth_module.c
r554debd r96b02eb9 52 52 int nil_module_start_standalone(async_client_conn_t client_connection) 53 53 { 54 ipcarg_t phonehash;54 sysarg_t phonehash; 55 55 int rc; 56 56 -
uspace/srv/net/nil/nildummy/nildummy.c
r554debd r96b02eb9 114 114 rc = nil_device_state_msg_local(0, 115 115 IPC_GET_DEVICE(icall), IPC_GET_STATE(icall)); 116 ipc_answer_0(iid, ( ipcarg_t) rc);116 ipc_answer_0(iid, (sysarg_t) rc); 117 117 break; 118 118 … … 124 124 IPC_GET_DEVICE(icall), packet, 0); 125 125 } 126 ipc_answer_0(iid, ( ipcarg_t) rc);126 ipc_answer_0(iid, (sysarg_t) rc); 127 127 break; 128 128 129 129 default: 130 ipc_answer_0(iid, ( ipcarg_t) ENOTSUP);130 ipc_answer_0(iid, (sysarg_t) ENOTSUP); 131 131 } 132 132 -
uspace/srv/net/nil/nildummy/nildummy_module.c
r554debd r96b02eb9 52 52 int nil_module_start_standalone(async_client_conn_t client_connection) 53 53 { 54 ipcarg_t phonehash;54 sysarg_t phonehash; 55 55 int rc; 56 56 -
uspace/srv/net/tl/icmp/icmp_module.c
r554debd r96b02eb9 58 58 int tl_module_start_standalone(async_client_conn_t client_connection) 59 59 { 60 ipcarg_t phonehash;60 sysarg_t phonehash; 61 61 int rc; 62 62 -
uspace/srv/net/tl/tcp/tcp.c
r554debd r96b02eb9 829 829 /* Notify the destination socket */ 830 830 async_msg_5(socket->phone, NET_SOCKET_RECEIVED, 831 ( ipcarg_t) socket->socket_id,831 (sysarg_t) socket->socket_id, 832 832 ((packet_dimension->content < socket_data->data_fragment_size) ? 833 833 packet_dimension->content : socket_data->data_fragment_size), 0, 0, 834 ( ipcarg_t) fragments);834 (sysarg_t) fragments); 835 835 836 836 return EOK; … … 1090 1090 /* Notify the destination socket */ 1091 1091 async_msg_5(socket->phone, NET_SOCKET_ACCEPTED, 1092 ( ipcarg_t) listening_socket->socket_id,1092 (sysarg_t) listening_socket->socket_id, 1093 1093 socket_data->data_fragment_size, TCP_HEADER_SIZE, 1094 0, ( ipcarg_t) socket->socket_id);1094 0, (sysarg_t) socket->socket_id); 1095 1095 1096 1096 fibril_rwlock_write_unlock(socket_data->local_lock); -
uspace/srv/net/tl/tcp/tcp_module.c
r554debd r96b02eb9 61 61 int tl_module_start_standalone(async_client_conn_t client_connection) 62 62 { 63 ipcarg_t phonehash;63 sysarg_t phonehash; 64 64 int rc; 65 65 -
uspace/srv/net/tl/udp/udp.c
r554debd r96b02eb9 393 393 fibril_rwlock_write_unlock(&udp_globals.lock); 394 394 async_msg_5(socket->phone, NET_SOCKET_RECEIVED, 395 ( ipcarg_t) socket->socket_id, packet_dimension->content, 0, 0,396 ( ipcarg_t) fragments);395 (sysarg_t) socket->socket_id, packet_dimension->content, 0, 0, 396 (sysarg_t) fragments); 397 397 398 398 return EOK; -
uspace/srv/net/tl/udp/udp_module.c
r554debd r96b02eb9 59 59 int tl_module_start_standalone(async_client_conn_t client_connection) 60 60 { 61 ipcarg_t phonehash;61 sysarg_t phonehash; 62 62 int rc; 63 63
Note:
See TracChangeset
for help on using the changeset viewer.