"Personality Problems"
When viewed from a functionality perspective, X.25 appears to be rather schizophrenic, in the sense that sometimes it presents a deceptively end-to-end "personality" (indeed, there are many who think it is usable as an integral Host-Host, or Transport, and network interface protocol, despite the fact that its specification itself--at least in the CCITT "Fascicle" version--points out several functional omissions where a higher-level protocol is expected--and we have even spoken to one or two people who say they actually do -- use it as an end-to-end protocol, regardless); sometimes it presents a comm subnet network interface personality (which all would agree it must); and sometimes (according to some observers) it presents a "Host-Front End Protocol" personality. Not to push the "bad art" methaphor too hard, but this sort of violation of "the Unities" is, if demonstrable, grounds for censure not only to literary critics but also to those who believe in Layering. Let's look at the evidence for the split-personality claim:
X.25 is not (and should not be) an "end-to-end" protocol in the sense of a Transport or Host-to-Host protocol. Yet it has several end-to-end features. These add to the space-time expense of implementation (i.e., consume "core" and CPU cycles) and reflect badly on the skill of its designers if one believes in the design principles of Layering and Least Mechanism. (Examples of end-to-end mechanisms are cited below, as mechanisms superfluous to the network interface role.) The absence of a datagram mode which is both required and "proper" (e.g., not Flow Controlled, not Delivery Confirmed, not Non-delivery mechanized) may also be taken as evidence that the end-to-end view is very strong in X.25. That is, in ISO Reference Model (ISORM) terms, even though X.25 "is" L1-3, it has delusions of L4-ness; in ARPANET Reference Model (ARM) terms, even though X.25 could "be" L I, it has delusions of L II-ness.*
X.25 is at least meant to specify an interface between a Host (or "DTE") and a comm subnet processor (or "DCE"), regardless of the ambiguity of the conceptual model about whether it constrains the CSNP "on the network side." (Aside: that ambiguity probably reflects even more badly on certain X.25 advocates than it does on the designers, for there is a strong sense in which "of course it can't" is the only appropriate answer to the question of whether it is meant to constrain generic CSN processors (CSNP's) in the general case. Note, though, that it might well be meant to constrain specific DCE's; that is, it started life as a protocol for PTT's--or Postal, Telephone, and Telegraph monopolies--and they are presumably entitled to constrain themselves all they want.) Yet the end-to-end features alluded to above are redundant to the interfacing role, and, as noted, extraneous features have space-time consequences. There are also several features which, though not end-to-end, seem superfluous to a "tight" interface protocol. Further, the reluctance of the designers to incorporate a proper "datagram" capability in the protocol (what they've got doesn't seem to be usable as a "pure"--i.e., uncontrolled at L3 but usable without superfluous overheard by L4--datagram, but instead entails delivery confirmation traffic like it or not; note that "seem" is used advisedly: as usual, it's not easy to interpret the Fascicle) suggests at least that they were confused about what higher-level protocols need from interfaces to CSNP's, and at worst that there is some merit to the suggestion that, to paraphrase Louis Pouzin, "the PTT's are just trying to drum up more business for themselves by forcing you to take more service than you need."
Examples of mechanisms superfluous to the interface role:
-
The presence of a DTE-DTE Flow Control mechanism.
-
The presence of an "interrupt procedure" involving the remote DTE.
-
The presence of "Call user data" as an end-to-end item (i.e., as "more" than IP's Protocol field).
-
The "D bit" (unless construed strictly as a "RFNM" from the remote DCE).
-
The "Q bit" (which we find nearly incomprehensible, but which is stated to have meaning of some sort to X.29--i.e., to at least violate Layering by having a higher-level protocol depend on a lower level machanism--and hence can't be strictly a network interface mechanism).
The final "personality problem" of X.25 is that some of its advocates claim it can and should be used as if it were a Host-Front End protocol.** Yet if such use were intended, surely its designers would have offered a means of differentiating between control information destined for the outboard implementation of the relevant protocols and data to be transmitted through X.25, but there is no evidence of such mechanisms in the protocol. "Borrowing" a Packet Type id for H-FP would be risky, as the spec is subject to arbitrary alteration. Using some fictitious DTE address to indicate the proximate DCE is also risky, for the same reason. Further, using "Call user data" to "talk to" the counterpart H-FP module allows only 15 octets (plus, presumably, the 6 spare bits in the 16th octet) for the conversation, whereas various TCP and IP options might require many more octets than that. Granted that with sufficient ingenuity--or even by the simple expedient of conveying the entire H-FP as data (i.e., using X.25 only to get channels to demultiplex on, and DTE-DCE flow control, with the "DCE" actually being an Outboard Processing Environment that gets its commands in the data fields of X.25 data packets)--X.25 might be used to "get at" outboard protocol interpreters, but its failure to address the issue explicitly again reflects badly on its designers' grasp of intercomputer networking issues. (Another possibility is that the whole H-FP notion stems from the use of X.25 as a Host-Host protocol so that some might think of it in its Host aspect as "simply" a way of getting at the H-HP. This interpretation does give rise to the interesting observation that DCE's seem to need a protocol as strong as TCP amongst themselves, but doesn't strike the author as particularly convincing evidence for viewing X.25 as anything like a proper H-FP--if for no other reason than that a central premise of Outboard Processing is that the Host-side H-FP module must be compact relative to an inboard generic Network Control Program.)
X.25, then, is rather schizophrenic: It exceeds its brief as an interface protocol by pretending to be end-to-end (Host-Host) in some respects; it is by no means a full end-to-end protocol (its spec very properly insists on that point on several occasions); it's at once too full and too shallow to be a good interface; and it's poorly structured to be treated as if it were "just" an H-FP. (Some would phrase the foregoing as "It's extremely ill layered"; we wouldn't argue.)
* For more on the ARM, see Padlipsky, M. A., "A Perspective on the ARPANET Reference Model", M82-47, The MITRE Corporation, September 1982; also available in Proc. INFOCOM '83. (Some light may also be cast by the paper on the earlier-mentioned topic of Who Invented What.)
** That is, as a distributed processing mechanism which allows Host operating systems to be relieved of the burden of interpreting higher level protocols "inboard" of themselves by virtue of allowing Host processes to manipulate "outboard" interpreters of the protocols on their behalf. Note that the outboarding may be to a separate Front-End processor or to the CSNP itself. (The latter is likely to be found in microprocessor-based LAN "BIU's.") Note also that when dealing with "process-level" protocols (ARM L III; approximately ISORM L5-7), only part of the functionality is outboarded (e.g., there must be some Host-resident code to interface with the native File System for a File Transfer Protocol) and even when outboarding Host-Host protocols (ARM L II; approximately ISORM L4 plus some of 5) the association of logical connections (or "sockets") with processes must be performed inboard--which is why, by the way, it's annoying to find ISO L5 below ISO L6: because, that is, you'd like to outboard "Presentation" functionality but its protocol expects to interact with the "Session" protocol, the functionality of which can't be outboarded. (Although this approach, not the proper context for a full treatment of the H-FP approach, it is also of interest that the approach can effectively insulate the Host from changes in the protocol suite, which can be a major advantage in some environments.)