Re: Data Segment Padding

<[email protected]> Fri, 9 Oct 2009 02:46:58 -0400
Newsgroups gmane.ietf.ips
Message-ID <9FA859626025B64FBC2AF149D97C944A03FE28E7@CORPUSMX80A.corp.emc.com>
This is a multi-part message in MIME format.

--===============0399355088==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01CA48AC.4DA416C6"

This is a multi-part message in MIME format.

------_=_NextPart_001_01CA48AC.4DA416C6
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

No, padding is not supported (e.g., breaks data digests).
=20
RFC 3720 has this to say in Section 10.7.7 which strongly
recommends 4-byte alignment of data segment boundaries:
The Data Segments of Data-In and Data-Out PDUs SHOULD be filled to the
integer number of 4 byte words (real payload) unless the F bit is set to
1.

Thanks,
--David

----------------------------------------------------
David L. Black, Distinguished Engineer
EMC Corporation, 176 South St., Hopkinton, MA  01748
+1 (508) 293-7953             FAX: +1 (508) 293-7786
[email protected]        Mobile: +1 (978) 394-7754
----------------------------------------------------

________________________________

	From: [email protected] [mailto:[email protected]] On
Behalf Of yushang
	Sent: Thursday, October 08, 2009 11:34 PM
	To: [email protected]
	Subject: [Ips] Data Segment Padding
=09
=09
	Hi , is it possible to send the middle part of a sequence of
DATA-OUT with data segment padding to 4 bytes boundary ? Many thanks.
=09


------_=_NextPart_001_01CA48AC.4DA416C6
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.2900.3603" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D905414106-09102009><FONT face=3D"Courier New" =
size=3D2>No, padding=20
is not supported&nbsp;(e.g., breaks data digests).</FONT></SPAN></DIV>
<DIV><SPAN class=3D905414106-09102009><FONT face=3D"Courier New"=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D905414106-09102009><FONT face=3D"Courier New" =
size=3D2>RFC 3720 has=20
this to say in Section 10.7.7 which strongly</FONT></SPAN></DIV>
<DIV><SPAN class=3D905414106-09102009><FONT face=3D"Courier New" =
size=3D2>recommends=20
4-byte alignment of data segment boundaries:</FONT></SPAN></DIV>
<DIV><SPAN class=3D905414106-09102009><SPAN lang=3DEN>
<P>The Data Segments of Data-In and Data-Out PDUs SHOULD be filled =
to<SPAN=20
class=3D905414106-09102009> </SPAN>the integer number of 4 byte words =
(real=20
payload) unless the F bit is<SPAN class=3D905414106-09102009> </SPAN>set =
to 1<SPAN=20
class=3D905414106-09102009>.</SPAN></SPAN></SPAN><FONT size=3D2><!-- =
Converted from text/plain format --></P>
<P><FONT=20
size=3D2>Thanks,<BR>--David<BR><BR>--------------------------------------=
--------------<BR>David=20
L. Black, Distinguished Engineer<BR>EMC Corporation, 176 South St., =
Hopkinton,=20
MA&nbsp; 01748<BR>+1 (508)=20
293-7953&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;=20
FAX: +1 (508)=20
293-7786<BR>[email protected]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
=20
Mobile: +1 (978)=20
394-7754<BR>----------------------------------------------------</FONT></=
FONT></P></DIV>
<BLOCKQUOTE=20
style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px =
solid; MARGIN-RIGHT: 0px">
  <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr align=3Dleft>
  <HR tabIndex=3D-1>
  <FONT face=3DTahoma size=3D2><B>From:</B> [email protected]=20
  [mailto:[email protected]] <B>On Behalf Of =
</B>yushang<BR><B>Sent:</B>=20
  Thursday, October 08, 2009 11:34 PM<BR><B>To:</B>=20
  [email protected]<BR><B>Subject:</B> [Ips] Data Segment=20
Padding<BR></FONT><BR></DIV>
  <DIV></DIV>Hi , is it possible to send the middle part of a sequence =
of=20
  DATA-OUT with data segment padding to 4 bytes boundary ? Many=20
thanks.<BR></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01CA48AC.4DA416C6--

--===============0399355088==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Ips mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/ips

--===============0399355088==--