[Olsr-cvs] olsrd-current/src duplicate_set.h, 1.10, 1.11 duplicate_set.c, 1.16, 1.17

Bernd Petrovitsch (spam-protected)
Sun Oct 21 22:15:53 CEST 2007


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

Modified Files:
	duplicate_set.h duplicate_set.c 
Log Message:
* cont'ified it

Index: duplicate_set.c
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/duplicate_set.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** duplicate_set.c	17 Sep 2007 22:24:22 -0000	1.16
--- duplicate_set.c	21 Oct 2007 20:15:51 -0000	1.17
***************
*** 87,91 ****
   */
  struct dup_entry *
! olsr_add_dup_entry(union olsr_ip_addr *originator, olsr_u16_t seqno)
  {
    olsr_u32_t hash;
--- 87,91 ----
   */
  struct dup_entry *
! olsr_add_dup_entry(const union olsr_ip_addr *originator, const olsr_u16_t seqno)
  {
    olsr_u32_t hash;
***************
*** 126,130 ****
   */
  int
! olsr_check_dup_table_proc(union olsr_ip_addr *originator, olsr_u16_t seqno)
  {
    olsr_u32_t hash;
--- 126,130 ----
   */
  int
! olsr_check_dup_table_proc(const union olsr_ip_addr *originator, const olsr_u16_t seqno)
  {
    olsr_u32_t hash;
***************
*** 150,154 ****
  
  
- 
  /**
   * Check wether or not a message should be forwarded
--- 150,153 ----
***************
*** 156,162 ****
   */
  int
! olsr_check_dup_table_fwd(union olsr_ip_addr *originator, 
! 		     olsr_u16_t seqno,
! 		     union olsr_ip_addr *int_addr)
  {
    olsr_u32_t hash;
--- 155,161 ----
   */
  int
! olsr_check_dup_table_fwd(const union olsr_ip_addr *originator, 
!                          const olsr_u16_t seqno,
!                          const union olsr_ip_addr *int_addr)
  {
    olsr_u32_t hash;
***************
*** 195,200 ****
  
  
- 
- 
  /**
   *Delete and dequeue a duplicate entry
--- 194,197 ----
***************
*** 257,266 ****
  
  
- 
- 
  int
! olsr_update_dup_entry(union olsr_ip_addr *originator, 
! 		      olsr_u16_t seqno, 
! 		      union olsr_ip_addr *iface)
  {
    olsr_u32_t hash;
--- 254,261 ----
  
  
  int
! olsr_update_dup_entry(const union olsr_ip_addr *originator, 
! 		      const olsr_u16_t seqno, 
! 		      const union olsr_ip_addr *iface)
  {
    olsr_u32_t hash;
***************
*** 303,312 ****
  }
  
- 
- 
- 
  int
! olsr_set_dup_forward(union olsr_ip_addr *originator, 
! 		     olsr_u16_t seqno)
  {
    olsr_u32_t hash;
--- 298,304 ----
  }
  
  int
! olsr_set_dup_forward(const union olsr_ip_addr *originator, 
! 		     const olsr_u16_t seqno)
  {
    olsr_u32_t hash;

Index: duplicate_set.h
===================================================================
RCS file: /cvsroot/olsrd/olsrd-current/src/duplicate_set.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** duplicate_set.h	20 Feb 2005 18:52:18 -0000	1.10
--- duplicate_set.h	21 Oct 2007 20:15:51 -0000	1.11
***************
*** 72,79 ****
  
  int
! olsr_check_dup_table_proc(union olsr_ip_addr *, olsr_u16_t);
  
  int
! olsr_check_dup_table_fwd(union olsr_ip_addr *, olsr_u16_t, union olsr_ip_addr *);
  
  void
--- 72,79 ----
  
  int
! olsr_check_dup_table_proc(const union olsr_ip_addr *, const olsr_u16_t);
  
  int
! olsr_check_dup_table_fwd(const union olsr_ip_addr *, const olsr_u16_t, const union olsr_ip_addr *);
  
  void
***************
*** 84,94 ****
  
  struct dup_entry *
! olsr_add_dup_entry(union olsr_ip_addr *, olsr_u16_t);
  
  int
! olsr_update_dup_entry(union olsr_ip_addr *, olsr_u16_t, union olsr_ip_addr *);
  
  int
! olsr_set_dup_forward(union olsr_ip_addr *, olsr_u16_t);
  
  int
--- 84,94 ----
  
  struct dup_entry *
! olsr_add_dup_entry(const union olsr_ip_addr *, const olsr_u16_t);
  
  int
! olsr_update_dup_entry(const union olsr_ip_addr *, const olsr_u16_t, const union olsr_ip_addr *);
  
  int
! olsr_set_dup_forward(const union olsr_ip_addr *, const olsr_u16_t);
  
  int





More information about the Olsr-cvs mailing list