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/modules/if_ef/ef.4

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 .\" Copyright (c) 1999, Boris Popov
    3 .\" All rights reserved.
    4 .\"
    5 .\" Redistribution and use in source and binary forms, with or without
    6 .\" modification, are permitted provided that the following conditions
    7 .\" are met:
    8 .\" 1. Redistributions of source code must retain the above copyright
    9 .\"    notice, this list of conditions and the following disclaimer.
   10 .\" 2. Redistributions in binary form must reproduce the above copyright
   11 .\"    notice, this list of conditions and the following disclaimer in the
   12 .\"    documentation and/or other materials provided with the distribution.
   13 .\"
   14 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
   15 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   16 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   17 .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
   18 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   19 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   20 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   21 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   22 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   23 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   24 .\" SUCH DAMAGE.
   25 .\"
   26 .\" $FreeBSD$
   27 .\"
   28 .Dd June 20, 1999
   29 .Dt EF 4
   30 .Os
   31 .Sh NAME
   32 .Nm ef
   33 .Nd "pseudo-device driver providing support for multiple ethernet frame types"
   34 .Sh SYNOPSIS
   35 .Cd "pseudo-device ef"
   36 .Sh DESCRIPTION
   37 The
   38 .Nm
   39 pseudo-device driver clones each ethernet type device with four
   40 additional interfaces. Each of them capable to send or receive only
   41 one predefined frame type.
   42 .Pp
   43 Names for the new interfaces created by adding
   44 .Ar fN
   45 suffix to an existing device name. Where
   46 .Ar N
   47 is a device unit which can have one of the following values:
   48 .Bd -literal -offset indent
   49 0     interface with an Ethernet_II frame
   50 1     interface with a Novell Ethernet_802.3 frame
   51 2     interface with an Ethernet_802.2 frame
   52 3     interface with an Ethernet_802.2/SNAP frame support.
   53 .Ed
   54 .Pp
   55 For example, device
   56 .Ar ed0
   57 will be populated with four devices:
   58 .Ar ed0f0 ,
   59 .Ar ed0f1 ,
   60 .Ar ed0f2
   61 and
   62 .Ar ed0f3 .
   63 .Pp
   64 After that, each device can be configured as usually:
   65 .Dl # ifconfig ed0f1 ipx 0x105
   66 This will configure IPX protocol with network number
   67 .Ar 0x105
   68 and
   69 .Ar Ethernet_802.3
   70 frame type.
   71 .Pp
   72 Please note that it is impossible to configure IPX protocol on the 'raw'
   73 .Ar ed0
   74 device after
   75 .Ar if_ef.ko
   76 driver loaded.
   77 .Sh EXAMPLES
   78 The
   79 .Nm
   80 driver can be loaded via
   81 .Xr loader.conf 5
   82 file:
   83 .Dl if_ef_load="YES"
   84 .Pp
   85 In this case an ordinary interface configuration commands can be used
   86 in the
   87 .Xr rc.conf 5
   88 file:
   89 .Dl network_interfaces="ed2 lo0 tun0 ed2f0 ed2f1"
   90 .Dl ifconfig_ed2f0_ipx="ipx 0x101"
   91 .Dl ifconfig_ed2f1_ipx="ipx 0x102"
   92 .Sh DIAGNOSTICS
   93 None.
   94 .Sh CAVEATS
   95 Avoid to configuring 'raw' ethernet device for IPX protocol after
   96 .Nm
   97 driver is loaded.
   98 .Sh SEE ALSO
   99 .Xr ipx 3 ,
  100 .Xr ifconfig 8
  101 .Sh AUTHORS
  102 .An Boris Popov Aq bp@FreeBSD.org .

Cache object: 8dfff35de9ca5e5d185818c5d699b183


[ 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.