OpenBSD CVS

CVS log for src/usr.sbin/iscsid/pdu.c


[BACK] Up to [local] / src / usr.sbin / iscsid

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.13 / (download) - annotate - [select for diffs], Mon Apr 12 10:03:33 2021 UTC (3 years, 1 month ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, HEAD
Changes since 1.12: +4 -4 lines
Diff to previous 1.12 (colored)

Spaces, no functional change

Revision 1.12 / (download) - annotate - [select for diffs], Wed Jul 3 03:24:03 2019 UTC (4 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

snprintf/vsnprintf return < 0 on error, rather than -1.

Revision 1.11 / (download) - annotate - [select for diffs], Sat Dec 5 06:38:18 2015 UTC (8 years, 6 months ago) by mmcc
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

strings.h -> string.h as necessary to prevent implicit declaration
warnings

Revision 1.10 / (download) - annotate - [select for diffs], Sun Nov 23 13:05:51 2014 UTC (9 years, 6 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

Clear the work in progress PDU before calling the task handler.
This ensures that we don't have multiple pointers pointing to the same PDU.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Apr 21 12:26:50 2014 UTC (10 years, 1 month ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.8: +3 -10 lines
Diff to previous 1.8 (colored)

Handle EAGAIN, ENOBUFS and EINTR a bit better. Ignore them one layer above
and do not fail and tear down the world when they happen.

Revision 1.8 / (download) - annotate - [select for diffs], Sun Apr 20 18:17:12 2014 UTC (10 years, 1 month ago) by claudio
Branch: MAIN
Changes since 1.7: +6 -6 lines
Diff to previous 1.7 (colored)

Use only one style for "return foo;"

Revision 1.7 / (download) - annotate - [select for diffs], Sat Apr 19 18:31:33 2014 UTC (10 years, 1 month ago) by claudio
Branch: MAIN
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored)

COnveret the bcopy() to memcpy()

Revision 1.6 / (download) - annotate - [select for diffs], Wed May 4 21:00:04 2011 UTC (13 years, 1 month ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0
Changes since 1.5: +90 -1 lines
Diff to previous 1.5 (colored)

Massive diff to handle logins more correctly. iscsid will now do
better operational parameter negotiation but more is needed.
Tested by todd@ and myself.

Revision 1.5 / (download) - annotate - [select for diffs], Wed Apr 27 07:25:26 2011 UTC (13 years, 1 month ago) by claudio
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

Start implementing the FSM. Introduce a session FSM that is run via a
callback and implement some of the connection FSM actions. Implement
logouts so that discovery sessions do a nice login -> query -> logout.
Fix the task scheduling especially for immediate and connection specific
tasks. The session will now only schedule tasks to a session that is
in LOGGED_IN state.
looks good dlg@

Revision 1.4 / (download) - annotate - [select for diffs], Tue Jan 4 13:09:19 2011 UTC (13 years, 5 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE, OPENBSD_4_9
Changes since 1.3: +2 -1 lines
Diff to previous 1.3 (colored)

Reset the resid before issuing the task callback so that the pdu can
be reused for sending out a message. This will be used soon for NOP
handling.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Jan 4 10:00:00 2011 UTC (13 years, 5 months ago) by claudio
Branch: MAIN
Changes since 1.2: +7 -2 lines
Diff to previous 1.2 (colored)

When translating a PDU to text strip all trailing \0 but one.
Fixes parsing of login responses that had additional padding.

Revision 1.2 / (download) - annotate - [select for diffs], Sat Sep 25 16:20:06 2010 UTC (13 years, 8 months ago) by sobrado
Branch: MAIN
Changes since 1.1: +4 -4 lines
Diff to previous 1.1 (colored)

spacing, no binary changes.

Revision 1.1 / (download) - annotate - [select for diffs], Fri Sep 24 09:43:19 2010 UTC (13 years, 8 months ago) by claudio
Branch: MAIN

iSCSI Initiatior daemon using vscsi(4).
Currently implements the absolute minimum of the protocol to make
it work against targets. Many things still in flux but we're annoyed
to work outside of the tree.  Commited from a source tree on an iSCSI
disk served via iscsid but it is not yet production ready.
OK dlg@, matthew@, deraadt@

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.