* to the project. For more information see the website or contact
* the copyright holders.
*
- * $Id: parser.h,v 1.7 2004/11/21 11:28:56 kattemat Exp $
+ * $Id: parser.h,v 1.8 2005/03/10 07:01:48 kattemat Exp $
*/
struct parse_function_entry
{
- int type; /* If set to PROMISCUOUS all messages will be received */
+ olsr_u32_t type; /* If set to PROMISCUOUS all messages will be received */
int caller_forwarding; /* If set to 0 this entry is not registered as forwarding packets */
void (*function)(union olsr_message *, struct interface *, union olsr_ip_addr *);
struct parse_function_entry *next;
olsr_input(int);
void
-olsr_parser_add_function(void (*)(union olsr_message *, struct interface *, union olsr_ip_addr *), int, int);
+olsr_parser_add_function(void (*)(union olsr_message *, struct interface *, union olsr_ip_addr *), olsr_u32_t, int);
int
-olsr_parser_remove_function(void (*)(union olsr_message *, struct interface *, union olsr_ip_addr *), int, int);
+olsr_parser_remove_function(void (*)(union olsr_message *, struct interface *, union olsr_ip_addr *), olsr_u32_t, int);
void
parse_packet(struct olsr *, int, struct interface *, union olsr_ip_addr *);