summaryrefslogtreecommitdiff
path: root/ospfd/ospfd.h
diff options
context:
space:
mode:
authorDenis Ovsienko <linux@pilot.org.ua>2007-08-21 16:32:56 +0000
committerDenis Ovsienko <linux@pilot.org.ua>2007-08-21 16:32:56 +0000
commitb7fe4141123c6fc26fffec68d0db62ecf474c074 (patch)
tree78f2cde951e92198b00dea6ed048d41a499f71fb /ospfd/ospfd.h
parent1ba27564f3852083839bfa1f91889cb46c780f2f (diff)
Bug #362 is fixed now.
Diffstat (limited to 'ospfd/ospfd.h')
-rw-r--r--ospfd/ospfd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ospfd/ospfd.h b/ospfd/ospfd.h
index ec9d9d6b..b0a14ce2 100644
--- a/ospfd/ospfd.h
+++ b/ospfd/ospfd.h
@@ -129,6 +129,9 @@
#define OSPF_LS_REFRESH_SHIFT (60 * 15)
#define OSPF_LS_REFRESH_JITTER 60
+/* Initial send buffer size for ospfd raw sending socket. */
+#define OSPF_SNDBUFLEN_DEFAULT 1024
+
/* OSPF master for system wide configuration and variables. */
struct ospf_master
{
@@ -266,6 +269,7 @@ struct ospf
struct thread *t_write;
struct thread *t_read;
int fd;
+ int maxsndbuflen;
struct stream *ibuf;
struct list *oi_write_q;