/home/aaron/olsrd-current/olsrd/lib/mdns/src/mdns.h File Reference

#include "plugin.h"
#include "duplicate_set.h"
#include "parser.h"
Include dependency graph for mdns.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define MESSAGE_TYPE   132
#define PARSER_TYPE   MESSAGE_TYPE
#define EMISSION_INTERVAL   10
#define EMISSION_JITTER   25
#define MDNS_VALID_TIME   1800
#define PLUGIN_NAME   "OLSRD MDNS plugin"
#define PLUGIN_NAME_SHORT   "OLSRD MDNS"
#define PLUGIN_VERSION   "1.0.0 (" __DATE__ " " __TIME__ ")"
#define PLUGIN_COPYRIGHT   " (C) Ninux.org"
#define PLUGIN_AUTHOR   " Saverio Proto (zioproto@gmail.com)"
#define MOD_DESC   PLUGIN_NAME " " PLUGIN_VERSION "\n" PLUGIN_COPYRIGHT "\n" PLUGIN_AUTHOR
#define PLUGIN_INTERFACE_VERSION   5

Functions

void DoMDNS (int sd, void *x, unsigned int y)
void BmfPError (const char *format,...) __attribute__((format(printf
void union olsr_ip_addrMainAddressOf (union olsr_ip_addr *ip)
int InitMDNS (struct interface *skipThisIntf)
void CloseMDNS (void)
void olsr_mdns_gen (unsigned char *packet, int len)
void olsr_parser (struct olsr_message *, struct interface *, union olsr_ip_addr *, enum duplicate_status)

Define Documentation

#define EMISSION_INTERVAL   10

Definition at line 52 of file mdns.h.

#define EMISSION_JITTER   25

Definition at line 53 of file mdns.h.

Referenced by name_init().

#define MDNS_VALID_TIME   1800

Definition at line 54 of file mdns.h.

Referenced by olsr_mdns_gen().

#define MESSAGE_TYPE   132
#define MOD_DESC   PLUGIN_NAME " " PLUGIN_VERSION "\n" PLUGIN_COPYRIGHT "\n" PLUGIN_AUTHOR

Definition at line 62 of file mdns.h.

#define PARSER_TYPE   MESSAGE_TYPE

Definition at line 51 of file mdns.h.

Referenced by InitMDNS(), InitOBAMP(), and name_init().

#define PLUGIN_AUTHOR   " Saverio Proto (zioproto@gmail.com)"

Definition at line 61 of file mdns.h.

#define PLUGIN_COPYRIGHT   " (C) Ninux.org"

Definition at line 60 of file mdns.h.

#define PLUGIN_INTERFACE_VERSION   5

Definition at line 63 of file mdns.h.

#define PLUGIN_NAME   "OLSRD MDNS plugin"

Definition at line 57 of file mdns.h.

#define PLUGIN_NAME_SHORT   "OLSRD MDNS"

Definition at line 58 of file mdns.h.

#define PLUGIN_VERSION   "1.0.0 (" __DATE__ " " __TIME__ ")"

Definition at line 59 of file mdns.h.


Function Documentation

void BmfPError ( const char *  format,
  ... 
)
void CloseMDNS ( void   ) 

Definition at line 465 of file mdns.c.

References CloseBmfNetworkInterfaces().

Referenced by olsr_plugin_exit().

Here is the call graph for this function:

void DoMDNS ( int  sd,
void *  x,
unsigned int  y 
)
int InitMDNS ( struct interface skipThisIntf  ) 

Definition at line 444 of file mdns.c.

References CreateBmfNetworkInterfaces(), olsr_parser(), olsr_parser_add_function(), and PARSER_TYPE.

Referenced by olsrd_plugin_init().

Here is the call graph for this function:

void union olsr_ip_addr* MainAddressOf ( union olsr_ip_addr ip  )  [write]

Definition at line 94 of file Bmf.c.

void olsr_mdns_gen ( unsigned char *  packet,
int  len 
)
void olsr_parser ( struct olsr_message ,
struct interface ,
union olsr_ip_addr ,
enum  duplicate_status 
)
Generated on Wed Jun 19 06:00:04 2013 for olsrd by  doxygen 1.6.3