🐞 fix(TSG-14170): Health Check support None
This commit is contained in:
@@ -116,6 +116,10 @@ int get_ip_by_device_name(const char *dev_name, char *ip_buff);
|
||||
int get_mac_by_device_name(const char *dev_name, char *mac_buff);
|
||||
int str_to_mac(const char *str, char *mac_buff);
|
||||
|
||||
#define CHECKSUM_CARRY(x) (x = (x >> 16) + (x & 0xffff), (~(x + (x >> 16)) & 0xffff))
|
||||
|
||||
int checksum(uint16_t *addr, int len);
|
||||
|
||||
#ifdef __cpluscplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user