]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Export ea_same() and ea_hash().
authorMartin Mares <mj@ucw.cz>
Mon, 10 Apr 2000 12:39:29 +0000 (12:39 +0000)
committerMartin Mares <mj@ucw.cz>
Mon, 10 Apr 2000 12:39:29 +0000 (12:39 +0000)
nest/route.h
nest/rt-attr.c

index aec0465630e422bbe70e1e972050ed0d72a4497c..2f293c0fb8e9b28ce35a9596ecf839f6e93bb4cd 100644 (file)
@@ -320,8 +320,11 @@ typedef struct ea_list {
 eattr *ea_find(ea_list *, unsigned ea);
 void ea_dump(ea_list *);
 void ea_sort(ea_list *);               /* Sort entries in all sub-lists */
-unsigned ea_scan(ea_list *);           /* How many bytes do we need for merged ea_list (0=merge not needed) */
+unsigned ea_scan(ea_list *);           /* How many bytes do we need for merged ea_list */
 void ea_merge(ea_list *from, ea_list *to); /* Merge sub-lists to allocated buffer */
+int ea_same(ea_list *x, ea_list *y);   /* Test whether two ea_lists are identical */
+unsigned int ea_hash(ea_list *e);      /* Calculate 16-bit hash value */
+void ea_format(eattr *e, byte *buf);
 
 void rta_init(void);
 rta *rta_lookup(rta *);                        /* Get rta equivalent to this one, uc++ */
index 57c98b2d44157e1881ccc91266738fb7f05f3dc7..97cd70bcc22f7944eed0490c075d9a888c32a750 100644 (file)
@@ -183,7 +183,7 @@ ea_merge(ea_list *e, ea_list *t)
     }
 }
 
-static inline int
+int
 ea_same(ea_list *x, ea_list *y)
 {
   int c;
@@ -327,7 +327,7 @@ ea_dump(ea_list *e)
     }
 }
 
-static inline unsigned int
+inline unsigned int
 ea_hash(ea_list *e)
 {
   u32 h = 0;