summaryrefslogtreecommitdiff
path: root/include/net/route.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-03-16 23:13:30 +0000
committerMike Frysinger <vapier@gentoo.org>2005-03-16 23:13:30 +0000
commit342c0dabd41d23fce856ab887d3d7e43cb18348c (patch)
tree704965a85519cc77278baa324e486cd80ab195f1 /include/net/route.h
parent56f0e6a5df576f22ce1b1c2efd3e403c05d0adaf (diff)
import updates from glibc
Diffstat (limited to 'include/net/route.h')
-rw-r--r--include/net/route.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/net/route.h b/include/net/route.h
index fc72c7efb..da5c810c7 100644
--- a/include/net/route.h
+++ b/include/net/route.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -25,6 +25,7 @@
#include <sys/socket.h>
#include <sys/types.h>
#include <netinet/in.h>
+#include <bits/wordsize.h>
/* This structure gets passed by the SIOCADDRT and SIOCDELRT calls. */
@@ -39,7 +40,11 @@ struct rtentry
unsigned long int rt_pad3;
unsigned char rt_tos;
unsigned char rt_class;
+#if __WORDSIZE == 64
+ short int rt_pad4[3];
+#else
short int rt_pad4;
+#endif
short int rt_metric; /* +1 for binary compatibility! */
char *rt_dev; /* Forcing the device at add. */
unsigned long int rt_mtu; /* Per route MTU/Window. */