Update of /cvsroot/linux-decnet/dnprogs/dnroute
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv548
Modified Files:
README csum.c get_neigh.c routing_msg.c send_route.c
Added Files:
ktypes.h
Log Message:
Make it compile with newer kernel headers
--- NEW FILE: ktypes.h ---
#define __be32 uint32_t
#define __u32 uint32_t
Index: README
===================================================================
RCS file: /cvsroot/linux-decnet/dnprogs/dnroute/README,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** README 5 Apr 2006 07:17:44 -0000 1.3
--- README 20 Aug 2008 12:36:05 -0000 1.4
***************
*** 16,20 ****
ip -D route
! If you want to test DECnet routing please contact myself (patrick) or Steve
Whitehouse via the linux-decnet-user mailing list.
--- 16,20 ----
ip -D route
! If you want to test DECnet routing please contact myself (Christine) or Steve
Whitehouse via the linux-decnet-user mailing list.
Index: csum.c
===================================================================
RCS file: /cvsroot/linux-decnet/dnprogs/dnroute/csum.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** csum.c 5 Apr 2006 07:17:44 -0000 1.2
--- csum.c 20 Aug 2008 12:36:05 -0000 1.3
***************
*** 7,11 ****
* 2 of the License, or (at your option) any later version.
*
! * Authors: Patrick Caulfield <pa...@de...>
*
*/
--- 7,11 ----
* 2 of the License, or (at your option) any later version.
*
! * Authors: Christine Caulfield <chr...@go...>
*
*/
Index: get_neigh.c
===================================================================
RCS file: /cvsroot/linux-decnet/dnprogs/dnroute/get_neigh.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -r1.16 -r1.17
*** get_neigh.c 4 May 2008 14:48:43 -0000 1.16
--- get_neigh.c 20 Aug 2008 12:36:05 -0000 1.17
***************
*** 7,15 ****
* 2 of the License, or (at your option) any later version.
*
! * Authors: Patrick Caulfield <pa...@de...)
* bits based on rtmon.c by Alexey Kuznetsov, <ku...@ms...>
*
*/
-
#include <sys/types.h>
#include <linux/types.h>
--- 7,14 ----
* 2 of the License, or (at your option) any later version.
*
! * Authors: Christine Caulfield <chr...@go...)
* bits based on rtmon.c by Alexey Kuznetsov, <ku...@ms...>
*
*/
#include <sys/types.h>
#include <linux/types.h>
***************
*** 26,29 ****
--- 25,30 ----
#include <netinet/in.h>
#include <string.h>
+ #include <limits.h>
+ #include "ktypes.h"
#include <linux/netfilter_decnet.h>
#include <netdnet/dnetdb.h>
Index: routing_msg.c
===================================================================
RCS file: /cvsroot/linux-decnet/dnprogs/dnroute/routing_msg.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** routing_msg.c 4 May 2008 14:48:43 -0000 1.4
--- routing_msg.c 20 Aug 2008 12:36:05 -0000 1.5
***************
*** 7,11 ****
* 2 of the License, or (at your option) any later version.
*
! * Authors: Patrick Caulfield <pa...@de...>
* based on rtmon.c by Alexey Kuznetsov, <ku...@ms...>
*
--- 7,11 ----
* 2 of the License, or (at your option) any later version.
*
! * Authors: Christine Caulfield <chr...@go...>
* based on rtmon.c by Alexey Kuznetsov, <ku...@ms...>
*
***************
*** 20,23 ****
--- 20,24 ----
#include <signal.h>
#include <fcntl.h>
+ #include <limits.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
***************
*** 27,30 ****
--- 28,32 ----
#include <netinet/in.h>
#include <string.h>
+ #include "ktypes.h"
#include <linux/netfilter_decnet.h>
#include <netdnet/dnetdb.h>
Index: send_route.c
===================================================================
RCS file: /cvsroot/linux-decnet/dnprogs/dnroute/send_route.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -r1.11 -r1.12
*** send_route.c 4 May 2008 14:48:43 -0000 1.11
--- send_route.c 20 Aug 2008 12:36:05 -0000 1.12
***************
*** 7,11 ****
* 2 of the License, or (at your option) any later version.
*
! * Authors: Patrick Caulfield <pa...@de...>
*
*/
--- 7,11 ----
* 2 of the License, or (at your option) any later version.
*
! * Authors: Christine Caulfield <chr...@go...>
*
*/
***************
*** 24,27 ****
--- 24,29 ----
#include <netinet/in.h>
#include <string.h>
+ #include <limits.h>
+ #include "ktypes.h"
#include <linux/netfilter_decnet.h>
#include <netdnet/dnetdb.h>
|