summaryrefslogtreecommitdiff
path: root/lib/sockopt.h
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2015-04-29 09:43:03 +0300
committerDaniel Walton <dwalton@cumulusnetworks.com>2016-05-26 15:33:30 +0000
commitcf279b3abcdaf1bbee65d622f17229b8a0cd32d5 (patch)
treed7659c524a37d8dfc2fa2c202123aa043e63f825 /lib/sockopt.h
parentf842f166403b993a6763611808ae05da6cb9ca93 (diff)
sockopt: add support for querying tcp round-trip-time
Signed-off-by: Timo Teräs <timo.teras@iki.fi> Signed-off-by: David Lamparter <equinox@opensourcerouting.org> (cherry picked from commit 6b2672f3c9493aef3495192e113f95a7db4b65bc)
Diffstat (limited to 'lib/sockopt.h')
-rw-r--r--lib/sockopt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/sockopt.h b/lib/sockopt.h
index aced6d489f..cb14efc7ba 100644
--- a/lib/sockopt.h
+++ b/lib/sockopt.h
@@ -100,6 +100,7 @@ extern int getsockopt_ifindex (int, struct msghdr *);
extern void sockopt_iphdrincl_swab_htosys (struct ip *iph);
extern void sockopt_iphdrincl_swab_systoh (struct ip *iph);
+extern int sockopt_tcp_rtt (int);
extern int sockopt_tcp_signature(int sock, union sockunion *su,
const char *password);
#endif /*_ZEBRA_SOCKOPT_H */