Annotation of 43BSDReno/share/man/man4/nsip.4, revision 1.1.1.1

1.1       root        1: .\" Copyright (c) 1985 The Regents of the University of California.
                      2: .\" All rights reserved.
                      3: .\"
                      4: .\" Redistribution and use in source and binary forms are permitted provided
                      5: .\" that: (1) source distributions retain this entire copyright notice and
                      6: .\" comment, and (2) distributions including binaries display the following
                      7: .\" acknowledgement:  ``This product includes software developed by the
                      8: .\" University of California, Berkeley and its contributors'' in the
                      9: .\" documentation or other materials provided with the distribution and in
                     10: .\" all advertising materials mentioning features or use of this software.
                     11: .\" Neither the name of the University nor the names of its contributors may
                     12: .\" be used to endorse or promote products derived from this software without
                     13: .\" specific prior written permission.
                     14: .\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
                     15: .\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
                     16: .\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
                     17: .\"
                     18: .\"    @(#)nsip.4      1.3 (Berkeley) 6/23/90
                     19: .\"
                     20: .TH NSIP 4 "June 23, 1990"
                     21: .UC 6
                     22: .SH NAME
                     23: nsip \- software network interface encapsulating ns packets in ip packets.
                     24: .SH SYNOPSIS
                     25: .B options NSIP
                     26: .br
                     27: .B #include <netns/ns_if.h>
                     28: .SH DESCRIPTION
                     29: The
                     30: .I nsip
                     31: interface is a software mechanism which may be
                     32: used to transmit Xerox NS(tm) packets through otherwise uncooperative
                     33: networks.
                     34: It functions by prepending an IP header, and resubmitting the packet
                     35: through the unix IP machinery.
                     36: .LP
                     37: The super-user can advise the operating system of a willing partner
                     38: by naming an IP address to be associated with an NS address.
                     39: Presently, only specific hosts pairs are allowed, and for each host
                     40: pair, an artificial point-to-point interface is constructed.
                     41: At some future date, IP broadcast addresses or hosts may be paired
                     42: with NS networks or hosts.
                     43: .LP
                     44: Specifically, a socket option of SO_NSIP_ROUTE is set on a socket
                     45: of family AF_NS, type SOCK_DGRAM, passing the following structure:
                     46: .nf
                     47: 
                     48: struct nsip_req {
                     49:        struct sockaddr rq_ns;  /* must be ns format destination */
                     50:        struct sockaddr rq_ip;  /* must be ip format gateway */
                     51:        short rq_flags;
                     52: };
                     53: 
                     54: .SH DIAGNOSTICS
                     55: \fBnsip%d: can't handle af%d\fP.  The interface was handed
                     56: a message with addresses formatted in an unsuitable address
                     57: family; the packet was dropped.
                     58: .SH SEE ALSO
                     59: intro(4), ns(4)
                     60: .SH BUGS
                     61: It is absurd to have a separate pseudo-device for each pt-to-pt
                     62: link.
                     63: There is no way to change the IP address for an NS host once the
                     64: the encapsulation interface is set up.
                     65: The request should honor flags of RTF_GATEWAY to indicate
                     66: remote networks, and the absence of RTF_UP should be a clue
                     67: to remove that partner.
                     68: This was intended to postpone the necessity of rewriting reverse ARP
                     69: for the 
                     70: .B en
                     71: device, and to allow passing XNS packets through an
                     72: Arpanet-Milnet gateway, to facilitate testing between some co-operating
                     73: universities.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.