aboutsummaryrefslogtreecommitdiff
path: root/lsm.h
diff options
context:
space:
mode:
authorLucas Castro <lucas@gnuabordo.com.br>2024-01-11 12:07:59 -0300
committerLucas de Castro Borges <lucas@gnuabordo.com.br>2024-06-05 19:00:29 -0300
commita4676d0e2e75ebcadfb2c947f7a1fa39b8aea246 (patch)
tree635a07582f6f525318bfed44c38bda264f65f28c /lsm.h
parentca0774165e52cc2c08a6bac98ed3f8622842930e (diff)
New upstream version 1.0.8
Diffstat (limited to 'lsm.h')
-rw-r--r--lsm.h72
1 files changed, 0 insertions, 72 deletions
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 <ilmis@nullnet.fi>
-
-License: GPLv2
-
-*/
-
-#ifndef __LSM_H__
-#define __LSM_H__
-
-#include <netinet/in.h> /* for struct sockaddr_in */
-#include <linux/if_arp.h> /* for struct sockadd_ll */
-#include <netinet/icmp6.h> /* 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 */