Quagga zebra API

Acinonyx wrote a set of patches to make batman 0.2 quagga compatible.

Antony Chazapis extended the patches to make them compatible with batman 0.3.

You can find them here: http://downloads.open-mesh.net/batman/patches/quagga/

OpenWRT 7.09 package

After decompressing the file you will find a folder "batman" which has to be moved to your openwrt package directory (e.g. ~/openwrt-7.09/package). Now you can issue "make menuconfig" as usual and in the section "Network" you can select the "batmand" package.

Once you selected batman you also can select and build the kernel tunnel module:

Kernel modules -> Other modules -> kmod-batgat

You can download the package from here: http://downloads.open-mesh.net/batman/patches/openwrt/