timer/ping_pong.h
2024-06-23 20:50:15 -05:00

14 lines
295 B
C

#pragma once
#include <netinet/in.h>
#include "link.h"
#define PING_INTERVAL 5
int handle_ping_pong(int sockfd,
struct sockaddr_in6 * dest_addr,
void * buf, ssize_t length,
struct link_state * link_state
);