ccnx: Add proc entry for FIB
authorGoldwyn Rodrigues <rgoldwyn@suse.de>
Fri, 16 Nov 2012 04:55:29 +0000 (22:55 -0600)
committerGoldwyn Rodrigues <rgoldwyn@suse.de>
Sat, 8 Dec 2012 18:02:55 +0000 (12:02 -0600)
commit2b2aff64d32b0ce8ead84b905c1d426454c2e992
treedb097d7419c6bb09a33197b00abc69b40000b2c2
parentbeebaef567fa1855644c8811c112514078eafcde
ccnx: Add proc entry for FIB

This adds a FIB for a device with respect to ethernet. To add an entry:
echo "<interest domain> <device> <mac address of destination>" > /proc/ccnx/fib
Example:
echo "abc.com eth0 00:22:CD:61:D6:32" > /proc/ccnx/fib

TODO:
Once a path discovery protocol is defined, this has to be transformed accordingly.
net/ccnx/Makefile
net/ccnx/ccnx.h
net/ccnx/main.c
net/ccnx/proc.c [new file with mode: 0644]