Changeset 973ef9fc in mainline for uspace/srv/net/netif/lo/lo.c
- Timestamp:
- 2010-12-25T21:20:28Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 631ee0c
- Parents:
- 1bfd3d3 (diff), 09178b7f (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/netif/lo/lo.c
r1bfd3d3 r973ef9fc 164 164 int netif_initialize(void) 165 165 { 166 ipcarg_t phonehash;167 168 return REGISTER_ME(SERVICE_LO, &phonehash);166 sysarg_t phonehash; 167 168 return ipc_connect_to_me(PHONE_NS, SERVICE_LO, 0, 0, &phonehash); 169 169 } 170 170 … … 185 185 } 186 186 187 int netif_send_message(device_id_t device_id, packet_t packet, services_t sender)187 int netif_send_message(device_id_t device_id, packet_t *packet, services_t sender) 188 188 { 189 189 netif_device_t *device; 190 190 size_t length; 191 packet_t next;191 packet_t *next; 192 192 int phone; 193 193 int rc; … … 262 262 * result. 263 263 */ 264 if ((IPC_GET_ METHOD(call) == IPC_M_PHONE_HUNGUP) ||264 if ((IPC_GET_IMETHOD(call) == IPC_M_PHONE_HUNGUP) || 265 265 (res == EHANGUP)) 266 266 return;
Note:
See TracChangeset
for help on using the changeset viewer.