mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-29 22:55:06 +03:00
1. added multipath protocol and schema suport
2. added SCTP protocol and schema support 3. added set of NAS models support (Asustor, ReadyNAS, Drobo, QNAP, WD, Synology, Terramaster) 4. moved to fc00::/7 private segment 5. added Windows, MacOS and Linux UI for peers edit and current status
This commit is contained in:
parent
cfa293d189
commit
d8a4000141
198 changed files with 8589 additions and 697 deletions
12
contrib/mesh-brute-simple/mesh-brute.h
Normal file
12
contrib/mesh-brute-simple/mesh-brute.h
Normal file
|
@ -0,0 +1,12 @@
|
|||
#include <sodium.h>
|
||||
#include <stdio.h> /* printf */
|
||||
#include <string.h> /* memcpy */
|
||||
#include <stdlib.h> /* atoi */
|
||||
#include <time.h> /* time */
|
||||
|
||||
|
||||
#define NUMKEYS 10
|
||||
void make_addr(unsigned char addr[32], unsigned char hash[64]);
|
||||
int find_where(unsigned char hash[64], unsigned char besthashlist[NUMKEYS][64]);
|
||||
void insert_64(unsigned char itemlist[NUMKEYS][64], unsigned char item[64], int where);
|
||||
void insert_32(unsigned char itemlist[NUMKEYS][32], unsigned char item[32], int where);
|
Loading…
Add table
Add a link
Reference in a new issue