X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=NeXT%2Fif_pppvar.h;h=55f2250c69e77321fe81e8726d07fffffc3b4821;hb=cbb598e017f8808949953dc57e42c8cf4e9aeb92;hp=bbad31d05703f6669553237fe361f5eeb56e6840;hpb=ffed4c0be3569ea9c8901f66e67e289c11922692;p=ppp.git diff --git a/NeXT/if_pppvar.h b/NeXT/if_pppvar.h index bbad31d..55f2250 100644 --- a/NeXT/if_pppvar.h +++ b/NeXT/if_pppvar.h @@ -1,26 +1,51 @@ /* * if_ppp.h - Point-to-Point Protocol definitions. * - * Copyright (c) 1989 Carnegie Mellon University. - * All rights reserved. + * Copyright (c) 1984-2000 Carnegie Mellon University. All rights reserved. * - * Redistribution and use in source and binary forms are permitted - * provided that the above copyright notice and this paragraph are - * duplicated in all such forms and that any documentation, - * advertising materials, and other materials related to such - * distribution and use acknowledge that the software was developed - * by Carnegie Mellon University. The name of the - * University may not be used to endorse or promote products derived - * from this software without specific prior written permission. - * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR - * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED - * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in + * the documentation and/or other materials provided with the + * distribution. + * + * 3. The name "Carnegie Mellon University" must not be used to + * endorse or promote products derived from this software without + * prior written permission. For permission or any legal + * details, please contact + * Office of Technology Transfer + * Carnegie Mellon University + * 5000 Forbes Avenue + * Pittsburgh, PA 15213-3890 + * (412) 268-4387, fax: (412) 268-7395 + * tech-transfer@andrew.cmu.edu + * + * 4. Redistributions of any form whatsoever must retain the following + * acknowledgment: + * "This product includes software developed by Computing Services + * at Carnegie Mellon University (http://www.cmu.edu/computing/)." + * + * CARNEGIE MELLON UNIVERSITY DISCLAIMS ALL WARRANTIES WITH REGARD TO + * THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS, IN NO EVENT SHALL CARNEGIE MELLON UNIVERSITY BE LIABLE + * FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN + * AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING + * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ /* Portions Copyright (C) 1990 Brad K. Clements (streams support) */ +#if !(NS_TARGET >= 40) #import +#endif /* NS_TARGET */ /* * Supported network protocols. These values are used for @@ -34,7 +59,6 @@ /* only defined in the posix universe... */ /*typedef int pid_t; */ -typedef unsigned short u_int16_t; struct ppp_softc { netif_t sc_if; /* network-visible interface */ @@ -58,10 +82,6 @@ struct ppp_softc { #endif u_int sc_bytessent; /* count of octets sent */ u_int sc_bytesrcvd; /* count of octets received */ -#if NBPFILTER - caddr_t sc_bpf; /* hook for BPF */ - int if_pcount; /* Really belongs in ifnet_t */ -#endif enum NPmode sc_npmode[NUM_NP]; /* what to do with each NP */ #ifdef PPP_COMPRESS struct compressor *sc_xcomp; /* transmit compressor */