Changes in uspace/srv/net/tl/icmp/icmp.c [ffa2c8ef:9934f7d] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/tl/icmp/icmp.c
rffa2c8ef r9934f7d 608 608 * @param[in] iid Message identifier. 609 609 * @param[in,out] icall Message parameters. 610 * 611 */ 612 static void icmp_receiver(ipc_callid_t iid, ipc_call_t *icall) 613 { 614 bool loop = true; 610 * @param[in] arg Local argument. 611 */ 612 static void icmp_receiver(ipc_callid_t iid, ipc_call_t *icall, void *arg) 613 { 615 614 packet_t *packet; 616 615 int rc; 617 616 618 while (loop) { 617 while (true) { 618 if (!IPC_GET_IMETHOD(*icall)) 619 break; 620 619 621 switch (IPC_GET_IMETHOD(*icall)) { 620 622 case NET_TL_RECEIVED: … … 629 631 async_answer_0(iid, (sysarg_t) rc); 630 632 break; 631 case IPC_M_PHONE_HUNGUP:632 loop = false;633 continue;634 633 default: 635 634 async_answer_0(iid, (sysarg_t) ENOTSUP);
Note:
See TracChangeset
for help on using the changeset viewer.