summaryrefslogtreecommitdiffstats
path: root/lib/sockopt.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-02-02 16:42:51 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-02-02 16:42:51 +0100
commit1a35e2e56533f75d68ed30bf24b3c131da4ba950 (patch)
tree068c7730ed7a58d5374d8123d81720597b40bbcd /lib/sockopt.h
parentMerge pull request #135 from LabNConsulting/working/master/patch-set/misc+vrf (diff)
parentMerge pull request #153 from LabNConsulting/working/2.0/patch-set/rr-part2 (diff)
downloadfrr-1a35e2e56533f75d68ed30bf24b3c131da4ba950.tar.xz
frr-1a35e2e56533f75d68ed30bf24b3c131da4ba950.zip
Merge remote-tracking branch 'origin/stable/2.0'
Diffstat (limited to 'lib/sockopt.h')
-rw-r--r--lib/sockopt.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/sockopt.h b/lib/sockopt.h
index 1b7be1e49..d5724ce60 100644
--- a/lib/sockopt.h
+++ b/lib/sockopt.h
@@ -24,6 +24,10 @@
#include "sockunion.h"
+/* Override (vty) socket paths, but keep the filename */
+extern void set_socket_path (char *path, const char *defaultpath,
+ char *newpath, int maxsize);
+
extern void setsockopt_so_recvbuf (int sock, int size);
extern void setsockopt_so_sendbuf (const int sock, int size);
extern int getsockopt_so_sendbuf (const int sock);