Rev 4558 | Rev 4695 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4558 | Rev 4582 | ||
---|---|---|---|
Line 35... | Line 35... | ||
35 | */ |
35 | */ |
36 | 36 | ||
37 | #ifndef __NET_IP_H__ |
37 | #ifndef __NET_IP_H__ |
38 | #define __NET_IP_H__ |
38 | #define __NET_IP_H__ |
39 | 39 | ||
40 | #include <rwlock.h> |
40 | #include <fibril_sync.h> |
41 | 41 | ||
42 | #include <ipc/ipc.h> |
42 | #include <ipc/ipc.h> |
43 | #include <ipc/services.h> |
43 | #include <ipc/services.h> |
44 | 44 | ||
45 | #include "../../include/device.h" |
45 | #include "../../include/device.h" |
Line 109... | Line 109... | ||
109 | }; |
109 | }; |
110 | 110 | ||
111 | struct ip_globals{ |
111 | struct ip_globals{ |
112 | int net_phone; |
112 | int net_phone; |
113 | ip_netifs_t netifs; |
113 | ip_netifs_t netifs; |
114 | rwlock_t netifs_lock; |
114 | fibril_rwlock_t netifs_lock; |
115 | ip_protos_t protos; |
115 | ip_protos_t protos; |
116 | rwlock_t protos_lock; |
116 | fibril_rwlock_t protos_lock; |
117 | ip_route_t gateway; |
117 | ip_route_t gateway; |
118 | modules_t modules; |
118 | modules_t modules; |
119 | async_client_conn_t client_connection; |
119 | async_client_conn_t client_connection; |
120 | uint16_t packet_counter; |
120 | uint16_t packet_counter; |
121 | rwlock_t lock; |
121 | fibril_rwlock_t lock; |
122 | }; |
122 | }; |
123 | 123 | ||
124 | #endif |
124 | #endif |
125 | 125 | ||
126 | /** @} |
126 | /** @} |