Changeset ffa2c8ef in mainline for uspace/srv/net/tl
- Timestamp:
- 2011-01-29T11:36:08Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 46b881c
- Parents:
- 64d2b10
- Location:
- uspace/srv/net/tl
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/tl/icmp/icmp.c
r64d2b10 rffa2c8ef 41 41 #include <stdint.h> 42 42 #include <str.h> 43 #include <ipc/ipc.h>44 43 #include <ipc/services.h> 45 44 #include <ipc/net.h> … … 628 627 } 629 628 630 ipc_answer_0(iid, (sysarg_t) rc);629 async_answer_0(iid, (sysarg_t) rc); 631 630 break; 632 631 case IPC_M_PHONE_HUNGUP: … … 634 633 continue; 635 634 default: 636 ipc_answer_0(iid, (sysarg_t) ENOTSUP);635 async_answer_0(iid, (sysarg_t) ENOTSUP); 637 636 } 638 637 -
uspace/srv/net/tl/tcp/tcp.c
r64d2b10 rffa2c8ef 44 44 #include <errno.h> 45 45 46 #include <ipc/ipc.h>47 46 #include <ipc/services.h> 48 47 #include <ipc/net.h> … … 1506 1505 1507 1506 /* Release the application phone */ 1508 ipc_hangup(app_phone);1507 async_hangup(app_phone); 1509 1508 1510 1509 printf("release\n"); … … 2454 2453 SERVICE_TCP, IPC_GET_ERROR(*icall)); 2455 2454 2456 ipc_answer_0(iid, (sysarg_t) rc);2455 async_answer_0(iid, (sysarg_t) rc); 2457 2456 break; 2458 2457 default: 2459 ipc_answer_0(iid, (sysarg_t) ENOTSUP);2458 async_answer_0(iid, (sysarg_t) ENOTSUP); 2460 2459 } 2461 2460 -
uspace/srv/net/tl/udp/udp.c
r64d2b10 rffa2c8ef 40 40 #include <malloc.h> 41 41 #include <stdio.h> 42 #include <ipc/ipc.h>43 42 #include <ipc/services.h> 44 43 #include <ipc/net.h> … … 354 353 SERVICE_UDP, IPC_GET_ERROR(*icall)); 355 354 356 ipc_answer_0(iid, (sysarg_t) rc);355 async_answer_0(iid, (sysarg_t) rc); 357 356 break; 358 357 default: 359 ipc_answer_0(iid, (sysarg_t) ENOTSUP);358 async_answer_0(iid, (sysarg_t) ENOTSUP); 360 359 } 361 360 … … 868 867 869 868 /* Release the application phone */ 870 ipc_hangup(app_phone);869 async_hangup(app_phone); 871 870 872 871 /* Release all local sockets */
Note:
See TracChangeset
for help on using the changeset viewer.
