Changes in uspace/srv/net/nil/eth/eth.c [9934f7d:28a3e74] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/nil/eth/eth.c
r9934f7d r28a3e74 60 60 #include <nil_skel.h> 61 61 62 // FIXME: remove this header63 #include <kernel/ipc/ipc_methods.h>64 65 62 #include "eth.h" 66 63 … … 231 228 * @param[in] iid The message identifier. 232 229 * @param[in,out] icall The message parameters. 233 * @param[in] arg Local argument. 234 */ 235 static void eth_receiver(ipc_callid_t iid, ipc_call_t *icall, void *arg) 230 */ 231 static void eth_receiver(ipc_callid_t iid, ipc_call_t *icall) 236 232 { 237 233 packet_t *packet; … … 850 846 851 847 *answer_count = 0; 852 853 if (!IPC_GET_IMETHOD(*call))848 switch (IPC_GET_IMETHOD(*call)) { 849 case IPC_M_PHONE_HUNGUP: 854 850 return EOK; 855 851 856 switch (IPC_GET_IMETHOD(*call)) {857 852 case NET_NIL_DEVICE: 858 853 return eth_device_message(IPC_GET_DEVICE(*call),
Note:
See TracChangeset
for help on using the changeset viewer.