Changeset 7bdcc45 in mainline for uspace/srv/net/il/ip/ip.c
- Timestamp:
- 2010-12-16T16:38:49Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7837101
- Parents:
- 8e58f94 (diff), eb221e5 (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/il/ip/ip.c
r8e58f94 r7bdcc45 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) { … … 461 461 462 462 if (ip_netif->packet_dimension.content < IP_MIN_CONTENT) { 463 printf("Maximum transmission unit % dbytes is too small, at "463 printf("Maximum transmission unit %zu bytes is too small, at " 464 464 "least %d bytes are needed\n", 465 465 ip_netif->packet_dimension.content, IP_MIN_CONTENT); … … 502 502 fibril_rwlock_write_unlock(&ip_globals.netifs_lock); 503 503 504 printf("%s: Device %d changed MTU to % d\n", NAME, device_id, mtu);504 printf("%s: Device %d changed MTU to %zu\n", NAME, device_id, mtu); 505 505 506 506 return EOK; … … 1902 1902 1903 1903 *answer_count = 0; 1904 switch (IPC_GET_ METHOD(*call)) {1904 switch (IPC_GET_IMETHOD(*call)) { 1905 1905 case IPC_M_PHONE_HUNGUP: 1906 1906 return EOK; … … 2025 2025 * result. 2026 2026 */ 2027 if ((IPC_GET_ METHOD(call) == IPC_M_PHONE_HUNGUP) ||2027 if ((IPC_GET_IMETHOD(call) == IPC_M_PHONE_HUNGUP) || 2028 2028 (res == EHANGUP)) { 2029 2029 return;
Note:
See TracChangeset
for help on using the changeset viewer.