Changeset 522253c1 in mainline
- Timestamp:
- 2010-10-15T18:56:09Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 779a47d
- Parents:
- f87ec535
- Location:
- uspace
- Files:
-
- 5 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/ipc/il.h
rf87ec535 r522253c1 27 27 */ 28 28 29 /** @addtogroup net_il29 /** @addtogroup libc 30 30 * @{ 31 31 */ … … 37 37 */ 38 38 39 #ifndef __NET_IL_MESSAGES_H__40 #define __NET_IL_MESSAGES_H__39 #ifndef LIBC_IL_MESSAGES_H_ 40 #define LIBC_IL_MESSAGES_H_ 41 41 42 42 #include <ipc/ipc.h> 43 43 #include <ipc/net.h> 44 44 45 /** Internet layer modules messages. 46 */ 45 /** Internet layer modules messages. */ 47 46 typedef enum { 48 47 /** New device message. 49 * 48 * @see ip_device_req() 50 49 */ 51 50 NET_IL_DEVICE = NET_IL_FIRST, 52 51 /** Device state changed message. 53 * 52 * @see il_device_state_msg() 54 53 */ 55 54 NET_IL_DEVICE_STATE, 56 55 /** Device MTU changed message. 57 * 56 * @see il_mtu_changed_msg() 58 57 */ 59 58 NET_IL_MTU_CHANGED, 60 59 /** Packet size message. 61 * 60 * @see il_packet_size_req() 62 61 */ 63 62 NET_IL_PACKET_SPACE, 64 63 /** Packet received message. 65 * 64 * @see il_received_msg() 66 65 */ 67 66 NET_IL_RECEIVED, 68 67 /** Packet send message. 69 * 68 * @see il_send_msg() 70 69 */ 71 70 NET_IL_SEND 72 71 } il_messages; 73 72 74 /** @name Internetwork layer specific message parameters definitions 75 * 76 */ 73 /** @name Internetwork layer specific message parameters definitions */ 77 74 /*@{*/ 78 75 79 76 /** Return the protocol number message parameter. 80 77 * @param[in] call The message call structure. 81 *82 78 */ 83 #define IL_GET_PROTO(call) 79 #define IL_GET_PROTO(call) (int) IPC_GET_ARG1(*call) 84 80 85 81 /** Return the registering service message parameter. 86 82 * @param[in] call The message call structure. 87 *88 83 */ 89 #define IL_GET_SERVICE(call) 84 #define IL_GET_SERVICE(call) (services_t) IPC_GET_ARG2(*call) 90 85 91 86 /*@}*/ -
uspace/lib/net/il/ip_remote.c
rf87ec535 r522253c1 43 43 #include <ip_interface.h> 44 44 #include <ip_messages.h> 45 #include <il_messages.h>46 45 #include <packet_client.h> 47 46 #include <generic.h> 48 47 49 48 #include <ipc/services.h> 49 #include <ipc/il.h> 50 50 51 51 #include <net/modules.h> -
uspace/lib/net/include/il_interface.h
rf87ec535 r522253c1 42 42 43 43 #include <ipc/services.h> 44 #include <ipc/il.h> 44 45 45 46 #include <net/device.h> 46 47 #include <net/packet.h> 47 #include <il_messages.h>48 48 49 49 #include <packet_client.h> -
uspace/srv/net/il/arp/arp.c
rf87ec535 r522253c1 47 47 #include <ipc/net.h> 48 48 #include <ipc/arp.h> 49 #include <ipc/il.h> 49 50 #include <byteorder.h> 50 51 #include <err.h> … … 59 60 #include <packet_client.h> 60 61 #include <packet_remote.h> 61 #include <il_messages.h>62 62 #include <il_interface.h> 63 63 #include <il_local.h> -
uspace/srv/net/il/ip/ip.c
rf87ec535 r522253c1 45 45 #include <ipc/services.h> 46 46 #include <ipc/net.h> 47 #include <ipc/il.h> 47 48 #include <sys/types.h> 48 49 #include <byteorder.h> … … 72 73 #include <packet_remote.h> 73 74 #include <nil_messages.h> 74 #include <il_messages.h>75 75 #include <il_local.h> 76 76 #include <ip_local.h> -
uspace/srv/net/net/net.c
rf87ec535 r522253c1 46 46 47 47 #include <ipc/ipc.h> 48 #include <ipc/services.h> 48 49 #include <ipc/net.h> 49 #include <ipc/ services.h>50 #include <ipc/il.h> 50 51 51 52 #include <net/modules.h> … … 55 56 #include <adt/module_map.h> 56 57 #include <net/packet.h> 57 #include <il_messages.h>58 58 #include <netif_remote.h> 59 59 #include <net/device.h>
Note:
See TracChangeset
for help on using the changeset viewer.