[Olsr-cvs] olsrd-current/src interfaces.h, 1.36, 1.37 net_os.h, 1.12, 1.13

Bernd Petrovitsch (spam-protected)
Mon Feb 5 00:36:37 CET 2007


Update of /cvsroot/olsrd/olsrd-current/src
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv1166/src

Modified Files:
	interfaces.h net_os.h 
Log Message:
* killed the MAX_IFS variable and another statically sized array

Index: net_os.h
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/net_os.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** net_os.h	28 Aug 2005 19:30:29 -0000	1.12
--- net_os.h	4 Feb 2007 23:36:35 -0000	1.13
***************
*** 84,88 ****
  
  int
! disable_redirects(char *, int, int);
  
  int
--- 84,88 ----
  
  int
! disable_redirects(const char *, struct interface *, int);
  
  int
***************
*** 90,94 ****
  
  int
! deactivate_spoof(char *, int, int);
  
  int
--- 90,94 ----
  
  int
! deactivate_spoof(const char *, struct interface *, int);
  
  int

Index: interfaces.h
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/interfaces.h,v
retrieving revision 1.36
retrieving revision 1.37
diff -C2 -d -r1.36 -r1.37
*** interfaces.h	30 Jan 2007 16:52:41 -0000	1.36
--- interfaces.h	4 Feb 2007 23:36:35 -0000	1.37
***************
*** 160,163 ****
--- 160,172 ----
    int           ttl_index; /* index in TTL array for fish-eye */
  
+ #ifdef linux
+ /* Struct uesd to store original redirect/ingress setting */
+   struct nic_state
+   {
+     char redirect; /* The original state of icmp redirect */
+     char spoof; /* The original state of the IP spoof filter */
+   } nic_state;
+ #endif
+ 
    struct	interface *int_next;
  };





More information about the Olsr-cvs mailing list