The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/chips/spans.c

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 /* 
    2  * Mach Operating System
    3  * Copyright (c) 1991,1990,1989,1988,1987 Carnegie Mellon University
    4  * All Rights Reserved.
    5  * 
    6  * Permission to use, copy, modify and distribute this software and its
    7  * documentation is hereby granted, provided that both the copyright
    8  * notice and this permission notice appear in all copies of the
    9  * software, derivative works or modified versions, and any portions
   10  * thereof, and that both notices appear in supporting documentation.
   11  * 
   12  * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
   13  * CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
   14  * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
   15  * 
   16  * Carnegie Mellon requests users of this software to return to
   17  * 
   18  *  Software Distribution Coordinator  or  Software.Distribution@CS.CMU.EDU
   19  *  School of Computer Science
   20  *  Carnegie Mellon University
   21  *  Pittsburgh PA 15213-3890
   22  * 
   23  * any improvements or extensions that they make and grant Carnegie Mellon
   24  * the rights to redistribute these changes.
   25  */
   26 /*
   27  * HISTORY
   28  * $Log:        spans.c,v $
   29  * Revision 2.2  93/08/10  15:18:53  mrt
   30  *      Grabbed from jcb's branch.
   31  *      [93/07/03  01:53:08  cmaeda]
   32  * 
   33  *
   34  */
   35 
   36 /*** SPANS SIGNALING  ***/
   37 
   38 #ifndef STUB
   39 #include <chips/spans.h>
   40 #include <chips/tca100_if.h>
   41 #else
   42 #include "spans.h"
   43 #include "tca100_if.h"
   44 #endif
   45 
   46 nw_result spans_initialize(int dev) {
   47 
   48 #if !PERMANENT_VIRTUAL_CONNECTIONS
   49 #endif
   50 
   51 }
   52 
   53 
   54 void spans_input(nw_buffer_t msg) {
   55 
   56 #if !PERMANENT_VIRTUAL_CONNECTIONS
   57 #endif
   58 
   59 }
   60 
   61 nw_result spans_open(nw_ep ep, nw_address_1 rem_addr_1,
   62                      nw_address_2 rem_addr_2, nw_ep remote_ep) {
   63   nw_result rc;
   64 
   65 #if PERMANENT_VIRTUAL_CONNECTIONS
   66   rc = NW_FAILURE;
   67 #else
   68 #endif
   69 
   70   return rc;
   71 }
   72 
   73 nw_result spans_accept(nw_ep ep, nw_buffer_t msg, nw_ep_t new_epp) {
   74   nw_result rc;
   75 
   76 #if PERMANENT_VIRTUAL_CONNECTIONS
   77   rc = NW_FAILURE;
   78 #else
   79 #endif
   80 
   81   return rc;
   82 }
   83 
   84 nw_result spans_close(nw_ep ep) {
   85   nw_result rc;
   86 
   87   tct[ep].rx_sar_header = 0;
   88   rc = NW_SUCCESS;
   89   return rc;
   90 }
   91 
   92 nw_result spans_add(nw_ep ep, nw_address_1 rem_addr_1,
   93                     nw_address_2 rem_addr_2, nw_ep remote_ep) {
   94   nw_result rc;
   95 
   96 #if PERMANENT_VIRTUAL_CONNECTIONS
   97   rc = NW_FAILURE;
   98 #else
   99 #endif
  100 
  101   return rc;
  102 }
  103 
  104 nw_result spans_drop(nw_ep ep, nw_address_1 rem_addr_1,
  105                      nw_address_2 rem_addr_2, nw_ep remote_ep) {
  106   nw_result rc;
  107 
  108 #if PERMANENT_VIRTUAL_CONNECTIONS
  109   rc = NW_FAILURE;
  110 #else
  111 #endif
  112 
  113   return rc;
  114 }
  115 
  116 void spans_timer_sweep() {
  117 
  118 #if !PERMANENT_VIRTUAL_CONNECTIONS
  119 #endif
  120 
  121 }
  122 
  123 

Cache object: b82937ca88c2a9cf1dfe1dac2c88307a


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.