Rev 3912 | Rev 4243 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 3912 | Rev 4192 | ||
|---|---|---|---|
| Line 40... | Line 40... | ||
| 40 | #include <ipc/ipc.h> |
40 | #include <ipc/ipc.h> |
| 41 | 41 | ||
| 42 | #include "../../include/sockaddr.h" |
42 | #include "../../include/sockaddr.h" |
| 43 | #include "../../netif/device.h" |
43 | #include "../../netif/device.h" |
| 44 | 44 | ||
| - | 45 | #include "../../structures/module_map.h" |
|
| - | 46 | ||
| 45 | typedef struct ip_netif ip_netif_t; |
47 | typedef struct ip_netif ip_netif_t; |
| 46 | typedef ip_netif_t * ip_netif_ref; |
48 | typedef ip_netif_t * ip_netif_ref; |
| 47 | 49 | ||
| 48 | typedef struct ip_proto ip_proto_t; |
50 | typedef struct ip_proto ip_proto_t; |
| 49 | typedef ip_proto_t * ip_proto_ref; |
51 | typedef ip_proto_t * ip_proto_ref; |
| Line 55... | Line 57... | ||
| 55 | INT_MAP_DECLARE( ip_protos, ip_proto_t ) |
57 | INT_MAP_DECLARE( ip_protos, ip_proto_t ) |
| 56 | 58 | ||
| 57 | struct ip_netif{ |
59 | struct ip_netif{ |
| 58 | device_id_t device_id; |
60 | device_id_t device_id; |
| 59 | int phone; |
61 | int phone; |
| - | 62 | module_ref arp; |
|
| 60 | int ipv; |
63 | int ipv; |
| 61 | int dhcp; |
64 | int dhcp; |
| 62 | in_addr_t address; |
65 | in_addr_t address; |
| 63 | in_addr_t netmask; |
66 | in_addr_t netmask; |
| 64 | in_addr_t gateway; |
67 | in_addr_t gateway; |
| Line 75... | Line 78... | ||
| 75 | 78 | ||
| 76 | struct ip_globals{ |
79 | struct ip_globals{ |
| 77 | int networking_phone; |
80 | int networking_phone; |
| 78 | ip_netifs_t netifs; |
81 | ip_netifs_t netifs; |
| 79 | ip_protos_t protos; |
82 | ip_protos_t protos; |
| - | 83 | modules_t modules; |
|
| 80 | }; |
84 | }; |
| 81 | 85 | ||
| 82 | #endif |
86 | #endif |
| 83 | 87 | ||
| 84 | /** @} |
88 | /** @} |