summaryrefslogtreecommitdiffstats
path: root/lib/sockopt.h
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2015-04-29 08:43:03 +0200
committerDaniel Walton <dwalton@cumulusnetworks.com>2016-05-26 17:33:30 +0200
commitcf279b3abcdaf1bbee65d622f17229b8a0cd32d5 (patch)
treed7659c524a37d8dfc2fa2c202123aa043e63f825 /lib/sockopt.h
parentospfd: Make ospf_passive_interface_update calls friendly to static analysis (diff)
downloadfrr-cf279b3abcdaf1bbee65d622f17229b8a0cd32d5.tar.xz
frr-cf279b3abcdaf1bbee65d622f17229b8a0cd32d5.zip
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 aced6d489..cb14efc7b 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 */