2 * OLSR ad-hoc routing table management protocol
3 * Copyright (C) 2003 Andreas Tønnesen (andreto@ifi.uio.no)
5 * This file is part of the olsr.org OLSR daemon.
7 * olsr.org is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
12 * olsr.org is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with olsr.org; if not, write to the Free Software
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
26 *Andreas Tønnesen (andreto@ifi.uio.no)
28 *IPC - interprocess communication
29 *for the OLSRD - GUI front-end
39 #include <arpa/inet.h>
45 #define IPC_PACK_SIZE 44 /* Size of the IPC_ROUTE packet */
46 #define ROUTE_IPC 11 /* IPC to front-end telling of route changes */
47 #define NET_IPC 12 /* IPC to front end net-info */
50 *IPC message sent to the front-end
51 *at every route update. Both delete
61 union olsr_ip_addr target_addr;
62 union olsr_ip_addr gateway_addr;
71 olsr_u8_t mids; /* No. of extra interfaces */
72 olsr_u8_t hnas; /* No. of HNA nets */
75 olsr_u16_t hello_lan_int;
77 olsr_u16_t neigh_hold;
78 olsr_u16_t topology_hold;
80 union olsr_ip_addr main_addr;
92 ipc_send_all_routes();
95 frontend_msgparser(union olsr_message *, struct interface *, union olsr_ip_addr *);