huge propset, fixes eol-style on everything and sets keywords and copyright on all...
authorTim Yardley <lst@openwrt.org>
Sun, 4 Mar 2007 04:19:46 +0000 (04:19 +0000)
committerTim Yardley <lst@openwrt.org>
Sun, 4 Mar 2007 04:19:46 +0000 (04:19 +0000)
SVN-Revision: 6500

23 files changed:
ipv6/dibbler/Makefile
ipv6/ptrtd/Makefile
ipv6/totd/Makefile
libs/libpam/Makefile
libs/librsync/Makefile
libs/libsigc++/Makefile
libs/zaptel/Makefile
multimedia/peercast/files/peercast.ini
net/icmptx/Makefile
net/iodine/Makefile
net/lft/Makefile
net/netpipe/Makefile
net/nstx/Makefile
net/ntpd/Makefile
net/opendchub/Makefile
net/stunnel/Makefile
net/tftp-hpa/Makefile
sound/mpc/Makefile
sound/sox/Makefile
utils/pipacs/src/parser.h
utils/rdiff-backup/Makefile
utils/smartmontools/Makefile
utils/sysfsutils/Makefile

index b139e7e80f54f3c71d92d3a9c8892e24d78ba5fd..00e55a9ab9128070be4e6eb0dae83e3182c033a2 100644 (file)
-#\r
-# Copyright (C) 2006 OpenWrt.org\r
-#\r
-# This is free software, licensed under the GNU General Public License v2.\r
-# See /LICENSE for more information.\r
-#\r
-# $Id$\r
-\r
-include $(TOPDIR)/rules.mk\r
-\r
-PKG_NAME:=dibbler\r
-PKG_VERSION:=0.5.0\r
-PKG_RELEASE:=1\r
-\r
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-src.tar.gz\r
-PKG_SOURCE_URL:=http://klub.com.pl/dhcpv6/dibbler\r
-PKG_MD5SUM:=26a0e37512be7641a2deb0dc5b00e582\r
-PKG_CAT:=zcat\r
-\r
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)\r
-\r
-include $(INCLUDE_DIR)/package.mk\r
-\r
-define Package/dibbler/Default\r
-  SECTION:=ipv6\r
-  CATEGORY:=IPv6\r
-  DEPENDS:=+uclibcxx\r
-  TITLE:=Dibbler, a portable DHCPv6 implementation\r
-  URL:=http://klub.com.pl/dhcpv6/\r
-endef\r
-\r
-define Package/dibbler-client\r
-  $(call Package/dibbler/Default)\r
-  TITLE+= (client)\r
-endef\r
-\r
-define Package/dibbler-relay\r
-  $(call Package/dibbler/Default)\r
-  TITLE+= (relay)\r
-endef\r
-\r
-define Package/dibbler-server\r
-  $(call Package/dibbler/Default)\r
-  TITLE+= (server)\r
-endef\r
-\r
-define Build/Configure\r
-       (cd $(PKG_BUILD_DIR)/poslib; \\r
-               $(TARGET_CONFIGURE_OPTS) \\r
-               CFLAGS="$(TARGET_CFLAGS)" \\r
-               CPPFLAGS="$(EXTRA_CPPFLAGS)" \\r
-               LDFLAGS="$(EXTRA_LDFLAGS)" \\r
-               ./configure \\r
-                       --target=$(GNU_TARGET_NAME) \\r
-                       --host=$(GNU_TARGET_NAME) \\r
-                       --build=$(GNU_HOST_NAME) \\r
-                       --program-prefix="" \\r
-                       --program-suffix="" \\r
-                       --prefix=/usr \\r
-                       --exec-prefix=/usr \\r
-                       --bindir=/usr/bin \\r
-                       --datadir=/usr/share \\r
-                       --includedir=/usr/include \\r
-                       --infodir=/usr/share/info \\r
-                       --libdir=/usr/lib \\r
-                       --libexecdir=/usr/lib \\r
-                       --localstatedir=/var \\r
-                       --mandir=/usr/share/man \\r
-                       --sbindir=/usr/sbin \\r
-                       --sysconfdir=/etc \\r
-                       $(DISABLE_NLS) \\r
-                       $(DISABLE_LARGEFILE) \\r
-       );\r
-endef\r
-\r
-CXX_LIBS:= -nodefaultlibs -Wl,-Bdynamic,-luClibc++,-Bstatic,-lstdc++,-Bdynamic,-lm,-lc,-lgcc\r
-define Build/Compile\r
-       $(MAKE) -C $(PKG_BUILD_DIR) \\r
-               $(TARGET_CONFIGURE_OPTS) \\r
-               PORT_CFLAGS="$(TARGET_CFLAGS) $(EXTRA_CPPFLAGS) -fno-builtin -fno-rtti" \\r
-               PORT_LDFLAGS="$(EXTRA_LDFLAGS)" \\r
-               DEBUGINFO= \\r
-               CLNT_LIBS="$(CXX_LIBS)" \\r
-               SRV_LIBS="$(CXX_LIBS)" \\r
-               server client relay\r
-endef\r
-\r
-define Package/dibbler-client/install  \r
-       $(INSTALL_DIR) $(1)/usr/sbin\r
-       $(INSTALL_BIN) $(PKG_BUILD_DIR)/dibbler-client $(1)/usr/sbin/\r
-endef\r
-\r
-define Package/dibbler-relay/install   \r
-       $(INSTALL_DIR) $(1)/usr/sbin\r
-       $(INSTALL_BIN) $(PKG_BUILD_DIR)/dibbler-relay $(1)/usr/sbin/\r
-endef\r
-\r
-define Package/dibbler-server/install  \r
-       $(INSTALL_DIR) $(1)/usr/sbin\r
-       $(INSTALL_BIN) $(PKG_BUILD_DIR)/dibbler-server $(1)/usr/sbin/\r
-endef\r
-\r
-$(eval $(call BuildPackage,dibbler-client))\r
-$(eval $(call BuildPackage,dibbler-relay))\r
-$(eval $(call BuildPackage,dibbler-server))\r
+#
+# Copyright (C) 2006 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+# $Id$
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=dibbler
+PKG_VERSION:=0.5.0
+PKG_RELEASE:=1
+
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-src.tar.gz
+PKG_SOURCE_URL:=http://klub.com.pl/dhcpv6/dibbler
+PKG_MD5SUM:=26a0e37512be7641a2deb0dc5b00e582
+PKG_CAT:=zcat
+
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
+
+include $(INCLUDE_DIR)/package.mk
+
+define Package/dibbler/Default
+  SECTION:=ipv6
+  CATEGORY:=IPv6
+  DEPENDS:=+uclibcxx
+  TITLE:=Dibbler, a portable DHCPv6 implementation
+  URL:=http://klub.com.pl/dhcpv6/
+endef
+
+define Package/dibbler-client
+  $(call Package/dibbler/Default)
+  TITLE+= (client)
+endef
+
+define Package/dibbler-relay
+  $(call Package/dibbler/Default)
+  TITLE+= (relay)
+endef
+
+define Package/dibbler-server
+  $(call Package/dibbler/Default)
+  TITLE+= (server)
+endef
+
+define Build/Configure
+       (cd $(PKG_BUILD_DIR)/poslib; \
+               $(TARGET_CONFIGURE_OPTS) \
+               CFLAGS="$(TARGET_CFLAGS)" \
+               CPPFLAGS="$(EXTRA_CPPFLAGS)" \
+               LDFLAGS="$(EXTRA_LDFLAGS)" \
+               ./configure \
+                       --target=$(GNU_TARGET_NAME) \
+                       --host=$(GNU_TARGET_NAME) \
+                       --build=$(GNU_HOST_NAME) \
+                       --program-prefix="" \
+                       --program-suffix="" \
+                       --prefix=/usr \
+                       --exec-prefix=/usr \
+                       --bindir=/usr/bin \
+                       --datadir=/usr/share \
+                       --includedir=/usr/include \
+                       --infodir=/usr/share/info \
+                       --libdir=/usr/lib \
+                       --libexecdir=/usr/lib \
+                       --localstatedir=/var \
+                       --mandir=/usr/share/man \
+                       --sbindir=/usr/sbin \
+                       --sysconfdir=/etc \
+                       $(DISABLE_NLS) \
+                       $(DISABLE_LARGEFILE) \
+       );
+endef
+
+CXX_LIBS:= -nodefaultlibs -Wl,-Bdynamic,-luClibc++,-Bstatic,-lstdc++,-Bdynamic,-lm,-lc,-lgcc
+define Build/Compile
+       $(MAKE) -C $(PKG_BUILD_DIR) \
+               $(TARGET_CONFIGURE_OPTS) \
+               PORT_CFLAGS="$(TARGET_CFLAGS) $(EXTRA_CPPFLAGS) -fno-builtin -fno-rtti" \
+               PORT_LDFLAGS="$(EXTRA_LDFLAGS)" \
+               DEBUGINFO= \
+               CLNT_LIBS="$(CXX_LIBS)" \
+               SRV_LIBS="$(CXX_LIBS)" \
+               server client relay
+endef
+
+define Package/dibbler-client/install  
+       $(INSTALL_DIR) $(1)/usr/sbin
+       $(INSTALL_BIN) $(PKG_BUILD_DIR)/dibbler-client $(1)/usr/sbin/
+endef
+
+define Package/dibbler-relay/install   
+       $(INSTALL_DIR) $(1)/usr/sbin
+       $(INSTALL_BIN) $(PKG_BUILD_DIR)/dibbler-relay $(1)/usr/sbin/
+endef
+
+define Package/dibbler-server/install  
+       $(INSTALL_DIR) $(1)/usr/sbin
+       $(INSTALL_BIN) $(PKG_BUILD_DIR)/dibbler-server $(1)/usr/sbin/
+endef
+
+$(eval $(call BuildPackage,dibbler-client))
+$(eval $(call BuildPackage,dibbler-relay))
+$(eval $(call BuildPackage,dibbler-server))
index b7cdd0e0c7c24cc4b4156419f844b3450d431c24..b03fb6c50a43f7f89ac2aaaec8eae0015f9926e6 100644 (file)
@@ -4,7 +4,7 @@
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
 #
-# $Id$
+# $Id$
 
 include $(TOPDIR)/rules.mk
 
index 8848b0408408965c2aa6ed6024e37334a964c421..d9b2444cae0a7fd15a66e955d9a8e7600436fa62 100644 (file)
@@ -4,7 +4,7 @@
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
 #
-# $Id: Makefile 5329 2006-10-28 22:43:08Z nico $
+# $Id$
 
 include $(TOPDIR)/rules.mk
 
index aea8b4b85507348b59076c5cdd224d7a23730747..524068be19b2b429c4f4955208a3c6aefb9c5964 100644 (file)
@@ -4,7 +4,7 @@
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
 #
-# $Id: Makefile 5624 2006-11-23 00:29:07Z nbd $
+# $Id$
 
 include $(TOPDIR)/rules.mk
 
index 234943be29b986f658dc0cc0b586b01becbc6bd5..59c8f9200f11d1341f42ff3008a41400e96d4a6a 100644 (file)
@@ -4,7 +4,7 @@
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
 #
-# $Id: Makefile 5329 2006-10-28 22:43:08Z nico $
+# $Id$
 
 include $(TOPDIR)/rules.mk
 
index c1e0f03f2bb6d96988a09a4ea4355db32c67a670..b06e5ad9d5f99abdc84af0840b27653dbf5990e8 100644 (file)
@@ -4,7 +4,7 @@
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
 #
-# $Id$
+# $Id$
 
 include $(TOPDIR)/rules.mk
 
index 2f64aad85744d3d349fcb654b718b1acbc7c5ecd..73cf7df5d58c24ebe607d8441da2d3b28ec147a6 100644 (file)
@@ -4,7 +4,7 @@
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
 #
-# $Id: Makefile 5624 2006-11-23 00:29:07Z nbd $
+# $Id$
 
 include $(TOPDIR)/rules.mk
 
index b48d3f9f7a17f35ac6a711a0447f1636b88f7137..f703c6ed1f6a77b10fca26facd4283df3e3d0af0 100644 (file)
@@ -1,81 +1,81 @@
-\r
-[Server]\r
-serverPort = 7144\r
-autoServe = Yes\r
-forceIP = \r
-isRoot = No\r
-maxBitrateOut = 0\r
-maxRelays = 1\r
-maxDirect = 0\r
-maxRelaysPerChannel = 0\r
-firewallTimeout = 30\r
-forceNormal = No\r
-rootMsg = \r
-authType = cookie\r
-cookiesExpire = session\r
-htmlPath = html/en\r
-minPGNUIncoming = 10\r
-maxPGNUIncoming = 20\r
-maxServIn = 50\r
-chanLog = \r
-networkID = 00000000000000000000000000000000\r
-\r
-[Broadcast]\r
-broadcastMsgInterval = 10\r
-broadcastMsg = \r
-icyMetaInterval = 8192\r
-broadcastID = 898145B5C0427118B595AF7D9E110000\r
-hostUpdateInterval = 180\r
-maxControlConnections = 3\r
-rootHost = yp.peercast.org\r
-\r
-[Client]\r
-refreshHTML = 5\r
-relayBroadcast = 30\r
-minBroadcastTTL = 1\r
-maxBroadcastTTL = 7\r
-pushTries = 5\r
-pushTimeout = 60\r
-maxPushHops = 8\r
-autoQuery = 0\r
-queryTTL = 7\r
-\r
-[Privacy]\r
-password = hackme\r
-maxUptime = 0\r
-\r
-[Filter]\r
-ip = 255.255.255.255\r
-private = No\r
-ban = No\r
-network = Yes\r
-direct = Yes\r
-[End]\r
-\r
-[Notify]\r
-PeerCast = Yes\r
-Broadcasters = Yes\r
-TrackInfo = Yes\r
-[End]\r
-\r
-[Server1]\r
-allowHTML = Yes\r
-allowBroadcast = Yes\r
-allowNetwork = Yes\r
-allowDirect = Yes\r
-[End]\r
-\r
-[Server2]\r
-allowHTML = No\r
-allowBroadcast = Yes\r
-allowNetwork = No\r
-allowDirect = No\r
-[End]\r
-\r
-[Debug]\r
-logDebug = No\r
-logErrors = No\r
-logNetwork = No\r
-logChannel = No\r
-pauseLog = No\r
-idleSleepTime = 10\r
+
+[Server]
+serverPort = 7144
+autoServe = Yes
+forceIP = 
+isRoot = No
+maxBitrateOut = 0
+maxRelays = 1
+maxDirect = 0
+maxRelaysPerChannel = 0
+firewallTimeout = 30
+forceNormal = No
+rootMsg = 
+authType = cookie
+cookiesExpire = session
+htmlPath = html/en
+minPGNUIncoming = 10
+maxPGNUIncoming = 20
+maxServIn = 50
+chanLog = 
+networkID = 00000000000000000000000000000000
+
+[Broadcast]
+broadcastMsgInterval = 10
+broadcastMsg = 
+icyMetaInterval = 8192
+broadcastID = 898145B5C0427118B595AF7D9E110000
+hostUpdateInterval = 180
+maxControlConnections = 3
+rootHost = yp.peercast.org
+
+[Client]
+refreshHTML = 5
+relayBroadcast = 30
+minBroadcastTTL = 1
+maxBroadcastTTL = 7
+pushTries = 5
+pushTimeout = 60
+maxPushHops = 8
+autoQuery = 0
+queryTTL = 7
+
+[Privacy]
+password = hackme
+maxUptime = 0
+
+[Filter]
+ip = 255.255.255.255
+private = No
+ban = No
+network = Yes
+direct = Yes
+[End]
+
+[Notify]
+PeerCast = Yes
+Broadcasters = Yes
+TrackInfo = Yes
+[End]
+
+[Server1]
+allowHTML = Yes
+allowBroadcast = Yes
+allowNetwork = Yes
+allowDirect = Yes
+[End]
+
+[Server2]
+allowHTML = No
+allowBroadcast = Yes
+allowNetwork = No
+allowDirect = No
+[End]
+
+[Debug]
+logDebug = No
+logErrors = No
+logNetwork = No
+logChannel = No
+pauseLog = No
+idleSleepTime = 10
index 38c68cd3d05edada0abd7794423c2820721d02bc..3420fe9ced960711de5d76dac06da4a9b30a8c4a 100644 (file)
@@ -4,7 +4,7 @@
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
 #
-# $Id$
+# $Id$
 
 include $(TOPDIR)/rules.mk
 
index 9b69b70e007a6a12267c0be2e54b551dda6a2a37..46f33cfd76038be226ad2cafebadf3f5e8881063 100644 (file)
@@ -4,7 +4,7 @@
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
 #
-# $Id$
+# $Id$
 
 include $(TOPDIR)/rules.mk
 
index 2ec032460d213b40215611ac6f702afe1f7f4d95..79baa5ba46148761fa9c8b58439f2e1cca091adc 100644 (file)
@@ -4,7 +4,7 @@
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
 #
-# $Id$
+# $Id$
 
 include $(TOPDIR)/rules.mk
 
index 903f6068af1f57c61768d5c555b2e087b4fd18a2..21ce522a164d1b020098901a3ee7bb4217c4a936 100644 (file)
@@ -4,7 +4,7 @@
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
 #
-# $Id: Makefile 5624 2006-11-23 00:29:07Z nbd $
+# $Id$
 
 include $(TOPDIR)/rules.mk
 
index 9d027a89b68138e7132cb34f2718c7a844071c64..369181eef82bbbd96041fdf0a18f46c9755e2abe 100644 (file)
@@ -4,7 +4,7 @@
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
 #
-# $Id$
+# $Id$
 
 include $(TOPDIR)/rules.mk
 
index 3ca2d7446e510c7b25b205c772cd815403fe618e..181ad0e1239491a90cf0116aa3886aa7fc16094c 100644 (file)
@@ -4,7 +4,7 @@
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
 #
-# $Id: Makefile 5624 2006-11-23 00:29:07Z nbd $
+# $Id$
 
 include $(TOPDIR)/rules.mk
 
index 776f91f4ac7b807b7461b94837b11991b2745ea0..014bc1b6277379cb97500e5d1ecdee150163bf0e 100644 (file)
@@ -4,7 +4,7 @@
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
 #
-# $Id$
+# $Id$
 
 include $(TOPDIR)/rules.mk
 
index 3a3e28ad35ab8c89213c008d8806990355dc2bf7..204ee71e55249a298c0b5f93a120d018fe72efbc 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: Makefile 1146 2005-06-05 13:32:28Z nbd $
+# $Id$
 
 include $(TOPDIR)/rules.mk
 
index e74f19b1555f2dbfdb9f8f4fe8aed54b6ad8a1f8..733332916c6a9e799c3bed061d8fdad58cc513fb 100644 (file)
@@ -4,7 +4,7 @@
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
 #
-# $Id: Makefile 5348 2006-10-30 13:51:50Z nico $
+# $Id$
 
 include $(TOPDIR)/rules.mk
 
index 9fa213a16d03d33db0086377e4829f161cfd816b..3cca30b2ae3f432ded4c1757f6346741f9665a62 100644 (file)
@@ -4,7 +4,7 @@
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
 #
-# $Id$
+# $Id$
 
 include $(TOPDIR)/rules.mk
 
index 2ebca469eb5a5d64c17b1701f0616dcde6c7ff51..057f32c53578d932e9b0995ebe1eb82ee01da79b 100644 (file)
@@ -4,7 +4,7 @@
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
 #
-# $Id: Makefile 5329 2006-10-28 22:43:08Z nico $
+# $Id$
 
 include $(TOPDIR)/rules.mk
 
index aac609acb9827155e856df9c89cf2ec4cd4e2955..aedaeafc2ec4ef63269355eaf1e9db402d5fb51e 100644 (file)
@@ -1,60 +1,60 @@
-#define LINUX 1\r
-#ifdef LINUX\r
-#include <ctype.h>\r
-#include <string.h>\r
-#include <sys/time.h>\r
-#include <sys/types.h>\r
-#include <sys/socket.h>\r
-#include <sys/stat.h>\r
-#include <sys/ioctl.h>\r
-#include <netdb.h>\r
-#include <unistd.h>\r
-#include <arpa/inet.h>\r
-#include <net/if.h>\r
-#define BYTE unsigned char\r
-#define DWORD unsigned long\r
-#define BOOL char\r
-#define TRUE 1\r
-#define FALSE 0\r
-#define WSADATA int\r
-#define SOCKET int\r
-#define SOCKADDR struct sockaddr\r
-#define SOCKADDR_IN struct sockaddr_in\r
-typedef struct _WSABUF {\r
-       unsigned long len;\r
-       unsigned char *buf;\r
-} WSABUF;\r
-#define SIO_RCVALL 0\r
-#define SIO_RCVALL_IGMPMCAST 0\r
-#define SIO_RCVALL_MCAST 0\r
-#define ETH_P_ALL 0x0003\r
-#else  // WINDOWS\r
-\r
-#include <winsock2.h>\r
-#include <windows.h>\r
-\r
-#endif\r
-\r
-#ifndef _RCVALL_H_\r
-#define _RCVALL_H_\r
-\r
-\r
-#define MAX_IP_SIZE        65535\r
-#define MIN_IP_HDR_SIZE       20\r
-\r
-#define HI_WORD(byte)    (((byte) >> 4) & 0x0F)\r
-#define LO_WORD(byte)    ((byte) & 0x0F)\r
-\r
-extern char *szProto[];\r
-\r
-\r
-\r
-void PrintRawBytes   (BYTE *ptr, DWORD len);\r
-int  DecodeIGMPHeader(WSABUF *wsabuf, DWORD iphdrlen);\r
-int  DecodeUDPHeader (WSABUF *wsabuf, DWORD iphdrlen);\r
-int  DecodeTCPHeader (WSABUF *wsabuf, DWORD iphdrlenz);\r
-int  DecodeIPHeader  (WSABUF *wasbuf, unsigned int srcaddr, unsigned short srcport, unsigned long srcnet,\r
-         unsigned int destaddr, unsigned short destport, unsigned long destnet, DWORD bytesret,\r
-         unsigned short xport, unsigned int xip, unsigned long xnet);\r
-\r
-#endif\r
+#define LINUX 1
+#ifdef LINUX
+#include <ctype.h>
+#include <string.h>
+#include <sys/time.h>
+#include <sys/types.h>
+#include <sys/socket.h>
+#include <sys/stat.h>
+#include <sys/ioctl.h>
+#include <netdb.h>
+#include <unistd.h>
+#include <arpa/inet.h>
+#include <net/if.h>
+#define BYTE unsigned char
+#define DWORD unsigned long
+#define BOOL char
+#define TRUE 1
+#define FALSE 0
+#define WSADATA int
+#define SOCKET int
+#define SOCKADDR struct sockaddr
+#define SOCKADDR_IN struct sockaddr_in
+typedef struct _WSABUF {
+       unsigned long len;
+       unsigned char *buf;
+} WSABUF;
+#define SIO_RCVALL 0
+#define SIO_RCVALL_IGMPMCAST 0
+#define SIO_RCVALL_MCAST 0
+#define ETH_P_ALL 0x0003
+#else  // WINDOWS
+
+#include <winsock2.h>
+#include <windows.h>
+
+#endif
+
+#ifndef _RCVALL_H_
+#define _RCVALL_H_
+
+
+#define MAX_IP_SIZE        65535
+#define MIN_IP_HDR_SIZE       20
+
+#define HI_WORD(byte)    (((byte) >> 4) & 0x0F)
+#define LO_WORD(byte)    ((byte) & 0x0F)
+
+extern char *szProto[];
+
+
+
+void PrintRawBytes   (BYTE *ptr, DWORD len);
+int  DecodeIGMPHeader(WSABUF *wsabuf, DWORD iphdrlen);
+int  DecodeUDPHeader (WSABUF *wsabuf, DWORD iphdrlen);
+int  DecodeTCPHeader (WSABUF *wsabuf, DWORD iphdrlenz);
+int  DecodeIPHeader  (WSABUF *wasbuf, unsigned int srcaddr, unsigned short srcport, unsigned long srcnet,
+         unsigned int destaddr, unsigned short destport, unsigned long destnet, DWORD bytesret,
+         unsigned short xport, unsigned int xip, unsigned long xnet);
+
+#endif
index 9d8a83ee7f63c904a69519da2622eec80b04a2f2..93ecff5a1f77fef726f95695ad7aa57f60ba7be3 100644 (file)
@@ -4,7 +4,7 @@
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
 #
-# $Id$
+# $Id$
  
 include $(TOPDIR)/rules.mk
 
index e0138345df55475cc0339a5352a2863df3e2b1df..f6cdf29a5eadf9cba3e451b553f9d8418763f1d2 100644 (file)
@@ -4,7 +4,7 @@
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
 #
-# $Id$
+# $Id$
 
 include $(TOPDIR)/rules.mk
 
index 88440a27d0677c176c3c217c6219b34c53071a73..a921e5dafedb27d67ad413728be542adff67dafb 100644 (file)
@@ -4,7 +4,7 @@
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
 #
-# $Id$
+# $Id$
 
 include $(TOPDIR)/rules.mk