| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |