mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Removed now useless file.
This commit is contained in:
parent
df4b1c6ee5
commit
0ed6ce80a0
|
@ -1,31 +0,0 @@
|
|||
/*
|
||||
* packet.h -- Packet structure
|
||||
*
|
||||
* This file is donated to the Tox Project.
|
||||
* Copyright 2013 plutooo
|
||||
*/
|
||||
|
||||
typedef struct {
|
||||
uint8_t id[CLIENT_ID_SIZE];
|
||||
|
||||
} __attribute__((packed)) clientid_t;
|
||||
|
||||
// Ping packet.
|
||||
typedef struct {
|
||||
uint8_t packet_id;
|
||||
clientid_t client_id;
|
||||
uint8_t nonce[crypto_box_NONCEBYTES];
|
||||
uint64_t ping_id;
|
||||
uint8_t padding[ENCRYPTION_PADDING];
|
||||
|
||||
} __attribute__((packed)) pingreq_t;
|
||||
|
||||
// Pong packet.
|
||||
typedef struct {
|
||||
uint8_t packet_id;
|
||||
clientid_t client_id;
|
||||
uint8_t nonce[crypto_box_NONCEBYTES];
|
||||
uint64_t ping_id;
|
||||
uint8_t padding[ENCRYPTION_PADDING];
|
||||
|
||||
} __attribute__((packed)) pingres_t;
|
Loading…
Reference in New Issue
Block a user