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 UniK OLSR daemon.
7 * The UniK OLSR daemon 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 * The UniK OLSR daemon 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 the UniK OLSR daemon; if not, write to the Free Software
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
24 * Defines an interface for socket-based IPC to set uOLSRd
25 * variables during runtime
34 #define OLSR_GET_ROUTES 0x01
35 #define OLSR_GET_VARIABLES 0x02
42 #define OLSRD_SET_HELLO_INTERVAL 0x11
43 #define OLSRD_SET_TC_INTERVAL 0x12
44 #define OLSRD_SET_MID_INTERVAL 0x13
45 #define OLSRD_SET_HNA_INTERVAL 0x14
47 /* Multiplier of HELLO emisiion for nonWLAN NICs */
48 #define OLSRD_SET_HELLO_NW_MULT 0x15
50 /* Set holding times */
51 #define OLSRD_SET_HELLO_HOLD 0x21
52 #define OLSRD_SET_TC_HOLD 0x22
53 #define OLSRD_SET_MID_HOLD 0x23
54 #define OLSRD_SET_HNA_HOLD 0x24
56 /* Set typo of service value */
57 #define OLSRD_SET_TOS 0x31
60 #define OLSRD_SET_POLLRATE 0x32
62 /* No forwarding of receieved messages on LAN interfaces */
63 #define OLSRD_SET_NOFWDLAN 0x33