Module Name: src Committed By: bouyer Date: Mon May 22 16:11:23 UTC 2017
Modified Files: src/sys/arch/arm/allwinner [bouyer-socketcan]: awin_can.c src/sys/netcan [bouyer-socketcan]: can.c can_var.h if_canloop.c Log Message: factor out if_attach() and bpf_attach() calls in can_ifattach(). Introduce can_ifdetach(). Introduce can_bpf_mtap(), which converts the can_id to network byte order (as required by tcpdump/wireshark). Thanks to Guy Harris for poiting this requirement. To generate a diff of this commit: cvs rdiff -u -r1.1.2.5 -r1.1.2.6 src/sys/arch/arm/allwinner/awin_can.c cvs rdiff -u -r1.1.2.13 -r1.1.2.14 src/sys/netcan/can.c cvs rdiff -u -r1.1.2.7 -r1.1.2.8 src/sys/netcan/can_var.h cvs rdiff -u -r1.1.2.6 -r1.1.2.7 src/sys/netcan/if_canloop.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.