Changeset f5a3479 in mainline
- Timestamp:
- 2010-10-15T19:24:19Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8e3a65c
- Parents:
- 995689d1
- Location:
- uspace
- Files:
-
- 4 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/ipc/nil.h
r995689d1 rf5a3479 27 27 */ 28 28 29 /** @addtogroup net_nil29 /** @addtogroup libc 30 30 * @{ 31 31 */ … … 35 35 */ 36 36 37 #ifndef __NET_NIL_MESSAGES_H__38 #define __NET_NIL_MESSAGES_H__37 #ifndef LIBC_NIL_MESSAGES_H_ 38 #define LIBC_NIL_MESSAGES_H_ 39 39 40 40 #include <ipc/ipc.h> 41 41 #include <ipc/net.h> 42 42 43 /** Network interface layer module messages. 44 */ 43 /** Network interface layer module messages. */ 45 44 typedef enum { 46 45 /** New device or update MTU message. 47 * 46 * @see nil_device_req() 48 47 */ 49 48 NET_NIL_DEVICE = NET_NIL_FIRST, 50 49 /** New device state message. 51 * 50 * @see nil_device_state_msg() 52 51 */ 53 52 NET_NIL_DEVICE_STATE, 54 53 /** Received packet queue message. 55 * 54 * @see nil_received_msg() 56 55 */ 57 56 NET_NIL_RECEIVED, 58 57 /** Send packet queue message. 59 * 58 * @see nil_send_msg() 60 59 */ 61 60 NET_NIL_SEND, 62 61 /** Packet size message. 63 * 62 * @see nil_packet_size_req() 64 63 */ 65 64 NET_NIL_PACKET_SPACE, 66 65 /** Device local hardware address message. 67 * 66 * @see nil_get_addr() 68 67 */ 69 68 NET_NIL_ADDR, 70 69 /** Device broadcast hardware address message. 71 * 70 * @see nil_get_broadcast_addr() 72 71 */ 73 72 NET_NIL_BROADCAST_ADDR, 74 73 } nil_messages; 75 74 76 /** @name Network interface layer specific message parameters definitions 77 */ 75 /** @name Network interface layer specific message parameters definitions */ 78 76 /*@{*/ 79 77 80 /** Return the protocol service message parameter. 81 */ 78 /** Return the protocol service message parameter. */ 82 79 #define NIL_GET_PROTO(call) \ 83 ({services_t service = (services_t) IPC_GET_ARG2(*call); service;}) 80 ({ \ 81 services_t service = (services_t) IPC_GET_ARG2(*call); \ 82 service; \ 83 }) 84 84 85 85 /*@}*/ -
uspace/lib/net/include/nil_interface.h
r995689d1 rf5a3479 38 38 39 39 #include <ipc/ipc.h> 40 #include <ipc/nil.h> 40 41 41 42 #include <generic.h> 42 #include <nil_messages.h>43 43 #include <nil_remote.h> 44 44 -
uspace/lib/net/nil/nil_remote.c
r995689d1 rf5a3479 38 38 #include <nil_remote.h> 39 39 #include <nil_interface.h> 40 #include <nil_messages.h>41 40 #include <generic.h> 42 41 #include <net/device.h> 43 42 #include <net/packet.h> 44 43 #include <packet_client.h> 44 45 #include <ipc/nil.h> 45 46 46 47 /** Notify the network interface layer about the device state change. -
uspace/srv/net/il/ip/ip.c
r995689d1 rf5a3479 45 45 #include <ipc/services.h> 46 46 #include <ipc/net.h> 47 #include <ipc/nil.h> 47 48 #include <ipc/il.h> 48 49 #include <ipc/ip.h> … … 73 74 #include <packet_client.h> 74 75 #include <packet_remote.h> 75 #include <nil_messages.h>76 76 #include <il_local.h> 77 77 #include <ip_local.h> -
uspace/srv/net/netif/lo/lo.c
r995689d1 rf5a3479 43 43 #include <ipc/ipc.h> 44 44 #include <ipc/services.h> 45 #include <ipc/nil.h> 45 46 46 47 #include <net/modules.h> … … 49 50 #include <net/device.h> 50 51 #include <nil_interface.h> 51 #include <nil_messages.h>52 52 #include <netif_interface.h> 53 53 #include <netif_local.h>
Note:
See TracChangeset
for help on using the changeset viewer.