Changes in uspace/srv/net/il/ip/ip.c [7bf12387:9934f7d] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/il/ip/ip.c
r7bf12387 r9934f7d 77 77 #include <il_skel.h> 78 78 79 // FIXME: remove this header 80 #include <kernel/ipc/ipc_methods.h> 81 79 82 /** IP module name. */ 80 83 #define NAME "ip" … … 120 123 GENERIC_FIELD_IMPLEMENT(ip_routes, ip_route_t); 121 124 122 static void ip_receiver(ipc_callid_t, ipc_call_t * );125 static void ip_receiver(ipc_callid_t, ipc_call_t *, void *); 123 126 124 127 /** Releases the packet and returns the result. … … 1591 1594 * @param[in] iid Message identifier. 1592 1595 * @param[in,out] icall Message parameters. 1593 * 1594 */ 1595 static void ip_receiver(ipc_callid_t iid, ipc_call_t *icall )1596 * @param[in] arg Local argument. 1597 */ 1598 static void ip_receiver(ipc_callid_t iid, ipc_call_t *icall, void *arg) 1596 1599 { 1597 1600 packet_t *packet; … … 1913 1916 1914 1917 *answer_count = 0; 1918 1919 if (!IPC_GET_IMETHOD(*call)) 1920 return EOK; 1921 1915 1922 switch (IPC_GET_IMETHOD(*call)) { 1916 case IPC_M_PHONE_HUNGUP:1917 return EOK;1918 1919 1923 case IPC_M_CONNECT_TO_ME: 1920 1924 return ip_register(IL_GET_PROTO(*call), IL_GET_SERVICE(*call),
Note:
See TracChangeset
for help on using the changeset viewer.