 |
Index for Section 9 |
|
 |
Alphabetical listing for P |
|
 |
Bottom of page |
|
pfilt_newaddress(9r)
NAME
pfilt_newaddress - Network: Copies a new hardware address to the packet
filter
SYNOPSIS
int pfilt_newaddress(
int unit,
u_char *hwaddr );
ARGUMENTS
unit
Specifies the unit number for the packet filter. This number is stored
in the ess_enetunit member of the ether_driver structure. The number is
assigned when the driver calls the attachpfilter routine as part of the
attach process.
hwaddr
Specifies a pointer to the 6-byte physical (MAC) address.
DESCRIPTION
The pfilt_newaddress interface notifies the packet filter of the physical
(MAC) address for the network interface. This is the address that the
packet filter recognizes as the local address for the interface. Whenever
a user issues a SIOCSPHYSADDR ioctl command to change the hardware physical
address, the driver must call this routine to notify the packet filter of
the change.
If the unit does not exist, the pfilt_newaddress interface causes the
system to panic.
RETURN VALUES
None
 |
Index for Section 9 |
|
 |
Alphabetical listing for P |
|
 |
Top of page |
|