On Thu, Nov 15, 2007 at 09:29:50AM -0800, Bill Sommerfeld wrote:
> On Thu, 2007-11-15 at 01:14 -0800, Adam Leventhal wrote:
> > The conninfo_t structure is already used by the iSCSI target provider
> > (iscsi),
> > and is intended for use by all provider which are providing some higher
> > level protocol (e.g. iscsi, nfs, http, ftp).
> >
> > typedef struct conninfo {
> > string ci_local; /* local host address */
> > string ci_remote; /* remote host address */
> > string ci_protocol; /* protocol (ipv4, ipv6, etc) */
> > } conninfo_t;
>
> For structures like this which exist only in "D" code and not in C, is
> it feasible to add additional fields later?
Good point -- NFSv4.1 adds a notion of "sessions" which is akin to a
transport, and that will run atop TCP and SCTP, so we'll want more
information here (plus: port numbers).
_______________________________________________
dtrace-discuss mailing list
[email protected]