From a4676d0e2e75ebcadfb2c947f7a1fa39b8aea246 Mon Sep 17 00:00:00 2001 From: Lucas Castro Date: Thu, 11 Jan 2024 12:07:59 -0300 Subject: New upstream version 1.0.8 --- lsm.h | 72 ------------------------------------------------------------------- 1 file changed, 72 deletions(-) delete mode 100644 lsm.h (limited to 'lsm.h') diff --git a/lsm.h b/lsm.h deleted file mode 100644 index 1728a3b..0000000 --- a/lsm.h +++ /dev/null @@ -1,72 +0,0 @@ -/* - -(C) 2013 Mika Ilmaranta - -License: GPLv2 - -*/ - -#ifndef __LSM_H__ -#define __LSM_H__ - -#include /* for struct sockaddr_in */ -#include /* for struct sockadd_ll */ -#include /* for struct icmp6_filter */ - -#include "defs.h" - -typedef struct sentpkt { - unsigned short seq; - struct timeval sent_time; - struct timeval replied_time; - unsigned long rtt; - struct { - unsigned replied:1; - unsigned timeout:1; - unsigned waiting:1; - unsigned used:1; - unsigned error:1; - } flags; -} SENTPKT; - -typedef struct target { - unsigned short id; /* target id */ - unsigned short seq; - unsigned short downseq; - unsigned short downseqreported; - struct timeval down_timestamp; - struct sockaddr_in src_addr; - struct sockaddr_in dst_addr; - struct sockaddr_in6 src_addr6; - struct sockaddr_in6 dst_addr6; - struct sockaddr_ll me; /* arping only */ - struct sockaddr_ll he; /* arping only */ - struct in_addr src; - struct in_addr dst; - struct in6_addr src6; - struct in6_addr dst6; - unsigned long num_sent; - struct timeval last_send_time; - STATUS status; - int sock; - unsigned char cmsgbuf[4096]; - int cmsglen; - struct icmp6_filter filter; - SENTPKT sentpkts[FOLLOWED_PKTS]; - int timeout; - int timeout_max; - int replied; - int waiting; - int reply_late; - int used; - int consecutive_waiting; - int consecutive_missing; - int consecutive_missing_max; - int consecutive_rcvd; - long avg_rtt; - int status_change; -} TARGET; - -#endif - -/* EOF */ -- cgit v1.2.3