home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!spool.mu.edu!agate!doc.ic.ac.uk!warwick!nott-cs!ucl-cs!news
- From: J.Crowcroft@cs.ucl.ac.uk (Jon Crowcroft)
- Newsgroups: comp.dcom.cell-relay
- Subject: Re: Mapping to VCs...
- Message-ID: <3396@ucl-cs.uucp>
- Date: 21 Jan 93 09:06:25 GMT
- Sender: news@cs.ucl.ac.uk
- Lines: 43
-
-
- >Multiple VCs (one VC per TCP stream) means all TCP streams get similar
- >performance.
-
- or indeed different performance speficially if you want it....
-
- someone asked me how you select a different VC above a TCP service
- interface (e.g. socket) since it happes below the IP layer without
- layer violation (personally i think layer violation is a GOOD THING
- since many useful thingfs like encryption, comnpression and network
- management USE layer violation of necessity, but thats a different
- war)
-
- well, imagine you open a socket,
-
- as an active or passive opener of a TCP connection , you still
- normally bind your socket and the bind call takes a sockaddr- so you
- do like iso (see isode for psapaddr format) - simply extend thje
- sockaddr to include not just IP addr and TCP port, but also a VCI/VPIU
- number (if left 0, the system allocates you next free one from pool
- and returns it)
-
- another, orthognal way, is to implicitly specify it via a socketoption
- for setting QoS - again, prioor to the open or listen/accept call, you
- simply do a getqos (see crays for the current /etc/tos - could be
- extended to /etc/qos and a getqos, say for slow scan, domestic, hdtv
- etc TV, pcm, cd, lpc, gsm audio, etc) and a setsockopt for that - then
- go aherad and start uip the tcp - again the system will either use
- existing VCI/VPI or open up more to match the QoS
-
- the TCP passes the opts through to IP, and IP uses these fields as a
- slecxtor in the local route lookup (same as how it decides which
- interfasce to exit the host on a multihomed host...)
-
- really pretty easy if you ask me...
-
- of course, how the other end finds you is a distributed name/service
- problem...e.g. through some mulktimedia conference control protocol as
- yet to be specified - or else through a crummy network management
- interface to Q.931b:-)
-
- jon
- p.s. that will be $5 please
-