mirror of
https://github.com/wangyu-/udp2raw.git
synced 2025-02-07 23:59:36 +08:00
reduce diff with non-mp version
This commit is contained in:
parent
2fc52806fd
commit
2072cfed8d
1
common.h
1
common.h
@ -408,6 +408,7 @@ int set_buf_size(int fd,int socket_buf_size);
|
||||
void myexit(int a);
|
||||
|
||||
unsigned short csum(const unsigned short *ptr,int nbytes);
|
||||
unsigned short csum_with_header(char* header,int hlen,const unsigned short *ptr,int nbytes);
|
||||
|
||||
int numbers_to_char(my_id_t id1,my_id_t id2,my_id_t id3,char * &data,int &len);
|
||||
int char_to_numbers(const char * data,int len,my_id_t &id1,my_id_t &id2,my_id_t &id3);
|
||||
|
1346
network.cpp
1346
network.cpp
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user