37,11 → 37,13 |
#ifndef __NET_IP_H__ |
#define __NET_IP_H__ |
|
#include <rwlock.h> |
|
#include <ipc/ipc.h> |
#include <ipc/services.h> |
|
#include "../../include/sockaddr.h" |
#include "../../include/device.h" |
#include "../../include/inet.h" |
#include "../../include/ip_interface.h" |
|
#include "../../structures/int_map.h" |
96,7 → 98,7 |
int protocol; |
services_t service; |
int phone; |
tl_received_msg_t tl_received_msg; |
tl_received_msg_t received_msg; |
}; |
|
struct ip_route{ |
109,11 → 111,14 |
struct ip_globals{ |
int net_phone; |
ip_netifs_t netifs; |
rwlock_t netifs_lock; |
ip_protos_t protos; |
rwlock_t protos_lock; |
ip_route_t gateway; |
modules_t modules; |
async_client_conn_t client_connection; |
uint16_t packet_counter; |
rwlock_t lock; |
}; |
|
#endif |