From 98984d2f2015b6dece72bda16064217b060d9bfd Mon Sep 17 00:00:00 2001 From: Gilles Chehade Date: Sat, 12 Dec 2015 10:31:02 +0000 Subject: add watermark define which will be needed for filters add two session flags which will be needed for filters --- usr.sbin/smtpd/smtp_session.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 @@ -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 { -- cgit v1.2.3