.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "REGISTER_NETDEVICE_NOTIFIER" "9" "09 October 2005" "" ""
.SH NAME
register_netdevice_notifier \- register a network notifier block
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int register_netdevice_notifier (struct notifier_block * \fInb\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fInb\fB\fR
notifier
.SH "DESCRIPTION"
.PP
Register a notifier to be called when network device events occur.
The notifier passed is linked into the kernel structures and must
not be reused until it has been unregistered. A negative errno code
is returned on a failure.
.PP
When registered all registration and up events are replayed
to the new notifier to allow device to have a race free
view of the network device list.