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: head/share/man/man4/ef.4 76175 2001-05-01 09:15:30Z schweikh $
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 "kldload if_ef.ko"
36.Sh DESCRIPTION
37The
38.Nm
39pseudo-device driver clones each ethernet type device with four
40additional interfaces. Each of them capable to send or receive only
41one predefined frame type.
42.Pp
43Names for the new interfaces created by adding
44.Ar fN
45suffix to an existing device name. Where
46.Ar N
47is a device unit which can have one of the following values:
48.Bd -literal -offset indent
490 interface with an Ethernet_II frame
501 interface with a Novell Ethernet_802.3 frame
512 interface with an Ethernet_802.2 frame
523 interface with an Ethernet_802.2/SNAP frame support.
53.Ed
54.Pp
55For example, device
56.Ar ed0
57will be populated with four devices:
58.Ar ed0f0 ,
59.Ar ed0f1 ,
60.Ar ed0f2
61and
62.Ar ed0f3 .
63.Pp
64After that, each device can be configured as usually:
65.Dl # ifconfig ed0f1 ipx 0x105
66This will configure IPX protocol with network number
67.Ar 0x105
68and
69.Ar Ethernet_802.3
70frame type.
71.Pp
72Please note that it is impossible to configure IPX protocol on the 'raw'
73.Ar ed0
74device after
75.Ar if_ef.ko
76driver loaded.
77.Sh EXAMPLES
78The
79.Nm
80driver can be loaded via
81.Xr loader.conf 5
82file:
83.Dl if_ef_load="YES"
84.Pp
85In this case an ordinary interface configuration commands can be used
86in the
87.Xr rc.conf 5
88file:
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
93None.
94.Sh CAVEATS
95Avoid to configuring 'raw' ethernet device for IPX protocol after
96.Nm
97driver 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 .
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: head/share/man/man4/ef.4 76175 2001-05-01 09:15:30Z schweikh $
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 "kldload if_ef.ko"
36.Sh DESCRIPTION
37The
38.Nm
39pseudo-device driver clones each ethernet type device with four
40additional interfaces. Each of them capable to send or receive only
41one predefined frame type.
42.Pp
43Names for the new interfaces created by adding
44.Ar fN
45suffix to an existing device name. Where
46.Ar N
47is a device unit which can have one of the following values:
48.Bd -literal -offset indent
490 interface with an Ethernet_II frame
501 interface with a Novell Ethernet_802.3 frame
512 interface with an Ethernet_802.2 frame
523 interface with an Ethernet_802.2/SNAP frame support.
53.Ed
54.Pp
55For example, device
56.Ar ed0
57will be populated with four devices:
58.Ar ed0f0 ,
59.Ar ed0f1 ,
60.Ar ed0f2
61and
62.Ar ed0f3 .
63.Pp
64After that, each device can be configured as usually:
65.Dl # ifconfig ed0f1 ipx 0x105
66This will configure IPX protocol with network number
67.Ar 0x105
68and
69.Ar Ethernet_802.3
70frame type.
71.Pp
72Please note that it is impossible to configure IPX protocol on the 'raw'
73.Ar ed0
74device after
75.Ar if_ef.ko
76driver loaded.
77.Sh EXAMPLES
78The
79.Nm
80driver can be loaded via
81.Xr loader.conf 5
82file:
83.Dl if_ef_load="YES"
84.Pp
85In this case an ordinary interface configuration commands can be used
86in the
87.Xr rc.conf 5
88file:
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
93None.
94.Sh CAVEATS
95Avoid to configuring 'raw' ethernet device for IPX protocol after
96.Nm
97driver 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 .