ccnx: add packet_type for ethernet
authorGoldwyn Rodrigues <rgoldwyn@suse.de>
Fri, 7 Dec 2012 04:44:08 +0000 (22:44 -0600)
committerGoldwyn Rodrigues <rgoldwyn@suse.de>
Sat, 8 Dec 2012 18:02:56 +0000 (12:02 -0600)
commitc06424c411a46ab3b7ad57b17ea66b6450024b84
tree2546e25db6a62996a8928a66600d2ab8d1b44219
parente19aa4c7b54cd5d69a96c027e00decb78e0e8261
ccnx: add packet_type for ethernet

Register a packet type for the ethernet device.
ccnx_recv() receives a message from the ethernet device and processes it.

Disclaimer: ETH_P_CCNX is not a registered number. This has been arbitrarirly chosen for experiment purposes.
include/linux/if_ether.h
net/ccnx/sock.c