mirror of
https://github.com/ntop/n2n.git
synced 2024-09-19 16:41:11 +02:00
Moved typedef to n2n_typedefs.h from n2n_wire.h
This commit is contained in:
parent
1574f1e1c6
commit
176e17dedf
|
@ -243,6 +243,14 @@ typedef struct n2n_REGISTER_SUPER_NAK
|
|||
} n2n_REGISTER_SUPER_NAK_t;
|
||||
|
||||
|
||||
/* REGISTER_SUPER_ACK may contain extra payload (their number given by num_sn)
|
||||
* of following type describing a(nother) supernode */
|
||||
typedef struct n2n_REGISTER_SUPER_ACK_payload {
|
||||
n2n_sock_t sock; /**< socket of supernode */
|
||||
n2n_mac_t mac; /**< MAC of supernode */
|
||||
} n2n_REGISTER_SUPER_ACK_payload_t;
|
||||
|
||||
|
||||
typedef struct n2n_PEER_INFO {
|
||||
uint16_t aflags;
|
||||
n2n_mac_t srcMac;
|
||||
|
|
|
@ -35,14 +35,6 @@
|
|||
#include "sn_selection.h"
|
||||
|
||||
|
||||
/* REGISTER_SUPER_ACK may contain extra payload (their number given by num_sn)
|
||||
* of following type describing a(nother) supernode */
|
||||
typedef struct n2n_REGISTER_SUPER_ACK_payload {
|
||||
n2n_sock_t sock; /**< socket of supernode */
|
||||
n2n_mac_t mac; /**< MAC of supernode */
|
||||
} n2n_REGISTER_SUPER_ACK_payload_t;
|
||||
|
||||
|
||||
int encode_uint8( uint8_t * base,
|
||||
size_t * idx,
|
||||
const uint8_t v );
|
||||
|
|
Loading…
Reference in New Issue
Block a user