Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(620)

Side by Side Diff: net/curvecp/protocol.h

Issue 7037022: An initial curvecp implementation. This implementation is not complete, (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_CURVECP_PROTOCOL_H_ 5 #ifndef NET_CURVECP_PROTOCOL_H_
6 #define NET_CURVECP_PROTOCOL_H_ 6 #define NET_CURVECP_PROTOCOL_H_
7 #pragma once 7 #pragma once
8 8
9 // Mike's thoughts on the protocol: 9 // Mike's thoughts on the protocol:
10 // 1) the packet layer probably should have a "close" mechanism. although 10 // 1) the packet layer probably should have a "close" mechanism. although
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 uint16 uint16_unpack(uchar* src); 149 uint16 uint16_unpack(uchar* src);
150 void uint32_pack(uchar* dest, uint32 val); 150 void uint32_pack(uchar* dest, uint32 val);
151 uint32 uint32_unpack(uchar* src); 151 uint32 uint32_unpack(uchar* src);
152 void uint64_pack(uchar* dest, uint64 val); 152 void uint64_pack(uchar* dest, uint64 val);
153 uint64 uint64_unpack(uchar* src); 153 uint64 uint64_unpack(uchar* src);
154 154
155 155
156 } // namespace net 156 } // namespace net
157 157
158 #endif // NET_CURVECP_PROTOCOL_H_ 158 #endif // NET_CURVECP_PROTOCOL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698