Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump/include/rump Grab more network-related macros
details: https://anonhg.NetBSD.org/src/rev/a828a7ba82ce
branches: trunk
changeset: 787082:a828a7ba82ce
user: stacktic <stacktic%NetBSD.org@localhost>
date: Sat Jun 01 09:49:37 2013 +0000
description:
Grab more network-related macros
diffstat:
sys/rump/include/rump/makerumpdefs.sh | 14 +++++++++++++-
1 files changed, 13 insertions(+), 1 deletions(-)
diffs (31 lines):
diff -r 786b18f2c54e -r a828a7ba82ce sys/rump/include/rump/makerumpdefs.sh
--- a/sys/rump/include/rump/makerumpdefs.sh Sat Jun 01 09:08:01 2013 +0000
+++ b/sys/rump/include/rump/makerumpdefs.sh Sat Jun 01 09:49:37 2013 +0000
@@ -8,7 +8,7 @@
rm -f rumpdefs.h
exec > rumpdefs.h
-printf '/* $NetBSD: makerumpdefs.sh,v 1.16 2013/05/08 00:57:06 pooka Exp $ */\n\n'
+printf '/* $NetBSD: makerumpdefs.sh,v 1.17 2013/06/01 09:49:37 stacktic Exp $ */\n\n'
printf '/*\n *\tAUTOMATICALLY GENERATED. DO NOT EDIT.\n */\n\n'
printf '#ifndef _RUMP_RUMPDEFS_H_\n'
printf '#define _RUMP_RUMPDEFS_H_\n\n'
@@ -60,6 +60,18 @@
| sed 's,/\*.*$,,'
sed -n '/#define[ ]*SOL_[A-Z]/s/SOL_/RUMP_&/gp' <../../../sys/socket.h \
| sed 's,/\*.*$,,'
+sed -n '/#define[ ]*MSG_[A-Z]/s/MSG_/RUMP_&/gp' <../../../sys/socket.h \
+ | sed 's,/\*.*$,,'
+
+fromvers ../../../netinet/in.h
+sed -n '/#define[ ]*IP_[A-Z]/s/IP_/RUMP_&/gp' <../../../netinet/in.h \
+ | sed 's,/\*.*$,,'
+sed -n '/#define[ ]*IPPROTO_[A-Z]/s/IPPROTO_/RUMP_&/gp' <../../../netinet/in.h \
+ | sed 's,/\*.*$,,'
+
+fromvers ../../../netinet/tcp.h
+sed -n '/#define[ ]*TCP_[A-Z]/s/TCP_/RUMP_&/gp' <../../../netinet/tcp.h \
+ | sed 's,/\*.*$,,'
fromvers ../../../sys/mount.h
sed -n '/#define[ ]*MOUNT_[A-Z]/s/MOUNT_/RUMP_MOUNT_/gp' <../../../sys/mount.h | sed 's,/\*.*$,,'
Home |
Main Index |
Thread Index |
Old Index