[user@fbsd1:~]$ man -a re
re(3) Perl Programmers Reference Guide re(3)
NAME
re - Perl pragma to alter regular expression behaviour
SYNOPSIS
use re 'taint';
($x) = ($^X =~ /^(.*)$/s); # $x is tainted here
$pat = '(?{ $foo = 1 })';
use re 'eval';
/foo${pat}bar/; # won't fail (when not under -T switch)
{
no re 'taint'; # the default
($x) = ($^X =~ /^(.*)$/s); # $x is not tainted here
no re 'eval'; # the default
/foo${pat}bar/; # disallowed (with or without -T switch)
}
use re 'debug'; # NOT lexically scoped (as others are)
/^(.*)$/s; # output debugging info during
# compile and run time
use re 'debugcolor'; # same as 'debug', but with colored output
...
(We use $^X in these examples because it's tainted by default.)
DESCRIPTION
When "use re 'taint'" is in effect, and a tainted string is the target
of a regex, the regex memories (or values returned by the m// operator
in list context) are tainted. This feature is useful when regex opera-
tions on tainted data aren't meant to extract safe substrings, but to
perform other transformations.
When "use re 'eval'" is in effect, a regex is allowed to contain "(?{
... })" zero-width assertions even if regular expression contains vari-
RE(4) FreeBSD Kernel Interfaces Manual RE(4)
NAME
re -- RealTek 8139C+/8169/816xS/811xS/8101E PCI/PCIe Ethernet adapter
driver
SYNOPSIS
To compile this driver into the kernel, place the following lines in your
kernel configuration file:
device miibus
device re
Alternatively, to load the driver as a module at boot time, place the
following line in loader.conf(5):
if_re_load="YES"
DESCRIPTION
The re driver provides support for various NICs based on the RealTek
RTL8139C+, RTL8169, RTL8169S, RTL8110S, RTL8168S, RTL8111S and RTL8101E
PCI and PCIe Ethernet controllers.
NICs based on the 8139C+ and 8101E are capable of 10 and 100Mbps speeds
over CAT5 cable. NICs based on the 8169, 816xS and 811xS are capable of
10, 100 and 1000Mbps operation.
All NICs supported by the re driver have TCP/IP checksum offload and
hardware VLAN tagging/insertion features, and use a descriptor-based DMA
mechanism. They are also capable of TCP large send (TCP segmentation
offload).
The 8139C+ is a single-chip solution combining both a 10/100 MAC and PHY.
The 8169 is a 10/100/1000 MAC only, requiring a GMII or TBI external PHY.
The 8169S and 8110S are single-chip devices containing both a 10/100/1000
MAC and 10/100/1000 copper PHY. Standalone 10/100/1000 cards are avail-
able in both 32-bit PCI and 64-bit PCI models. The 8110S is designed for
embedded LAN-on-motherboard applications.
The 8169, 8169S and 8110S also support jumbo frames, which can be config-
ured via the interface MTU setting. The MTU is limited to 7422, since
the chip cannot transmit larger frames. Selecting an MTU larger than
1500 bytes with the ifconfig(8) utility configures the adapter to receive
and transmit jumbo frames.
The re driver supports the following media types:
autoselect Enable autoselection of the media type and options. The
user can manually override the autoselected mode by adding
media options to rc.conf(5).
10baseT/UTP Set 10Mbps operation. The ifconfig(8) mediaopt option can
also be used to select either full-duplex or half-duplex
modes.
100baseTX Set 100Mbps (Fast Ethernet) operation. The ifconfig(8)
mediaopt option can also be used to select either
full-duplex or half-duplex modes.
1000baseTX Set 1000baseTX operation over twisted pair. The RealTek
gigE chips support 1000Mbps in full-duplex mode only.
The re driver supports the following media options:
full-duplex Force full duplex operation.
half-duplex Force half duplex operation.
For more information on configuring this device, see ifconfig(8).
HARDWARE
The re driver supports RealTek RTL8139C+, RTL8169, RTL816xS, RTL811xS,
and RTL8101E based Fast Ethernet and Gigabit Ethernet adapters including:
exit
Connection to 192.168.16.21 closed.