[Pkg-privacy-commits] [onioncat] 23/241: cygwin updates

Intrigeri intrigeri at moszumanska.debian.org
Wed Aug 26 16:16:17 UTC 2015


This is an automated email from the git hooks/post-receive script.

intrigeri pushed a commit to branch upstream-master
in repository onioncat.

commit 3c3400cd28ac319463a1df8749f62e93c2a5bf78
Author: eagle <eagle at 58e1ccc2-750e-0410-8d0d-f93ca75ab447>
Date:   Thu Feb 21 21:09:13 2008 +0000

    cygwin updates
    
    git-svn-id: https://www.cypherpunk.at/svn/onioncat/trunk@139 58e1ccc2-750e-0410-8d0d-f93ca75ab447
---
 RELEASE |  3 ++-
 ocat.h  | 27 +++++++++++++++++++++++++++
 2 files changed, 29 insertions(+), 1 deletion(-)

diff --git a/RELEASE b/RELEASE
index 1e8c69c..d8d34b6 100644
--- a/RELEASE
+++ b/RELEASE
@@ -1,4 +1,5 @@
-* 
+*
+ - socket connecter now multi-threaded (connect() blocks until connect)
  - local controller socket available: commands: status, close, exit, quit
  - thread start routine modularized
  - logging improved
diff --git a/ocat.h b/ocat.h
index 99acd29..5b9df2b 100644
--- a/ocat.h
+++ b/ocat.h
@@ -121,6 +121,33 @@ typedef struct OcatCtrlHdr
    char oct_srcid[10];
 } OcatCtrlHdr_t;
 
+#ifdef __CYGWIN__
+struct ip6_hdr
+  {
+    union
+      {
+   struct ip6_hdrctl
+     {
+       uint32_t ip6_un1_flow;   /* 4 bits version, 8 bits TC,
+               20 bits flow-ID */
+       uint16_t ip6_un1_plen;   /* payload length */
+       uint8_t  ip6_un1_nxt;    /* next header */
+       uint8_t  ip6_un1_hlim;   /* hop limit */
+     } ip6_un1;
+   uint8_t ip6_un2_vfc;       /* 4 bits version, top 4 bits tclass */
+      } ip6_ctlun;
+    struct in6_addr ip6_src;      /* source address */
+    struct in6_addr ip6_dst;      /* destination address */
+  };
+
+#define ip6_vfc   ip6_ctlun.ip6_un2_vfc
+#define ip6_flow  ip6_ctlun.ip6_un1.ip6_un1_flow
+#define ip6_plen  ip6_ctlun.ip6_un1.ip6_un1_plen
+#define ip6_nxt   ip6_ctlun.ip6_un1.ip6_un1_nxt
+#define ip6_hlim  ip6_ctlun.ip6_un1.ip6_un1_hlim
+#define ip6_hops  ip6_ctlun.ip6_un1.ip6_un1_hlim
+#endif
+
 extern uint16_t tor_socks_port_;
 extern uint16_t ocat_listen_port_;
 extern uint16_t ocat_dest_port_;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/onioncat.git



More information about the Pkg-privacy-commits mailing list