linux_old1/net/can
Thomas Graf 1da0faa380 can: gw: Properly fill the netlink header when responding to RTM_GETROUTE
- set message type to RTM_NEWROUTE
 - relate to original request by inheriting the sequence and port number.
 - set NLM_F_MULTI because it's a dump and more messages will follow

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Tested-by: Oliver Hartkopp <socketcan@hartkopp.net>
Acked-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2012-07-10 22:36:01 +02:00
..
Kconfig can-gw: add netlink based CAN routing 2011-09-16 17:37:51 -04:00
Makefile can-gw: add netlink based CAN routing 2011-09-16 17:37:51 -04:00
af_can.c canfd: add support for CAN FD in PF_CAN core 2012-06-19 21:40:01 +02:00
af_can.h can: fix sparse warning in af_can.c 2012-07-02 11:07:27 +02:00
bcm.c can: remove references to berlios mailinglist 2011-10-17 19:22:46 -04:00
gw.c can: gw: Properly fill the netlink header when responding to RTM_GETROUTE 2012-07-10 22:36:01 +02:00
proc.c can: fix sparse warning in af_can.c 2012-07-02 11:07:27 +02:00
raw.c canfd: add support for CAN FD in CAN_RAW sockets 2012-06-19 21:40:08 +02:00