Prior to this commit, do_get_nl_link assumed there would only be a single reply for a dump request. On my system with multiple can interfaces, this would cause only half of them to be listed in the dump reply. This change checks for NLMSG_DONE dump terminator and stops receiving messages once received. Signed-off-by: Andrew Beard <abeard@ovro.caltech.edu> [mkl: fix indention, move variable init out of loop] Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> |
||
|---|---|---|
| Documentation | ||
| config | ||
| include | ||
| src | ||
| .gitignore | ||
| Doxyfile | ||
| GNUmakefile.am | ||
| INSTALL | ||
| README | ||
| autogen-oldtools.sh | ||
| autogen.sh | ||
| configure.ac | ||
README
libsocketcan ---------------------------------------------------- This library allows you to control some basic functions in socketcan from userspace. Dependencies: ---------------------------------------------------- A recent kernel with integrated SocketCAN (at least 2.6.30) Building: ---------------------------------------------------- Please refert to the INSTALL file Documentation: ---------------------------------------------------- Make sure you have oxygen installed on your host. If yes simply Run make docs and look for the API doc in Documentation/html.