summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2015-12-12 10:31:02 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2015-12-12 10:31:02 +0000
commit98984d2f2015b6dece72bda16064217b060d9bfd (patch)
tree61eb98cfceba0cd32df2eb9446668270c34b32ce /usr.sbin
parent0ad343bdc1eb2fe2cc6b4efd5d524db621f4c922 (diff)
add watermark define which will be needed for filters
add two session flags which will be needed for filters
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/smtpd/smtp_session.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/smtpd/smtp_session.c b/usr.sbin/smtpd/smtp_session.c
index 6500dacc19c..1365d0822f7 100644
--- a/usr.sbin/smtpd/smtp_session.c
+++ b/usr.sbin/smtpd/smtp_session.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: smtp_session.c,v 1.248 2015/12/12 10:27:18 gilles Exp $ */
+/* $OpenBSD: smtp_session.c,v 1.249 2015/12/12 10:31:01 gilles Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@poolp.org>
@@ -45,6 +45,7 @@
#include "log.h"
#include "ssl.h"
+#define DATA_HIWAT 65535
#define APPEND_DOMAIN_BUFFER_SIZE 4096
enum smtp_phase {
@@ -75,6 +76,8 @@ enum session_flags {
SF_VERIFIED = 0x0020,
SF_MFACONNSENT = 0x0040,
SF_BADINPUT = 0x0080,
+ SF_FILTERCONN = 0x0100,
+ SF_FILTERDATA = 0x0200,
};
enum message_flags {