summaryrefslogtreecommitdiff
path: root/lib/sockopt.h
diff options
context:
space:
mode:
authorRuss White <russ@riw.us>2017-01-25 15:04:49 -0500
committerGitHub <noreply@github.com>2017-01-25 15:04:49 -0500
commitdfa7df29a8a3335d85f8825063d9334652ae7e4b (patch)
tree2fbb6588bab2ec9ec3c513236beb409a3174e5e5 /lib/sockopt.h
parent1ef15f4685db67088134abfd5f9c1fc1275e0d7a (diff)
parent38657f2ebd65fce3cfcba3ff4d29b29056af2df1 (diff)
Merge pull request #120 from opensourcerouting/snapcraft-base-v3
Snapcraft base changes
Diffstat (limited to 'lib/sockopt.h')
-rw-r--r--lib/sockopt.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/sockopt.h b/lib/sockopt.h
index b3ab57ab71..8e7895dd6f 100644
--- a/lib/sockopt.h
+++ b/lib/sockopt.h
@@ -24,6 +24,9 @@
#include "sockunion.h"
+/* Override (vty) socket paths, but keep the filename */
+extern void set_socket_path (char *path, 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);