Changeset View
Changeset View
Standalone View
Standalone View
head/share/man/man9/ifnet.9
Show All 22 Lines | |||||
.\" USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | .\" USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | ||||
.\" ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, | .\" ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, | ||||
.\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT | .\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT | ||||
.\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | .\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||
.\" SUCH DAMAGE. | .\" SUCH DAMAGE. | ||||
.\" | .\" | ||||
.\" $FreeBSD$ | .\" $FreeBSD$ | ||||
.\" | .\" | ||||
.Dd November 14, 2018 | .Dd September 28, 2020 | ||||
.Dt IFNET 9 | .Dt IFNET 9 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm ifnet , | .Nm ifnet , | ||||
.Nm ifaddr , | .Nm ifaddr , | ||||
.Nm ifqueue , | .Nm ifqueue , | ||||
.Nm if_data | .Nm if_data | ||||
.Nd kernel interfaces for manipulating network interfaces | .Nd kernel interfaces for manipulating network interfaces | ||||
▲ Show 20 Lines • Show All 1,265 Lines • ▼ Show 20 Lines | |||||
Set the interface name. | Set the interface name. | ||||
.Dv RTM_IFANNOUNCE | .Dv RTM_IFANNOUNCE | ||||
departure and arrival messages are sent so that | departure and arrival messages are sent so that | ||||
routing code that relies on the interface name will update its interface | routing code that relies on the interface name will update its interface | ||||
list. | list. | ||||
Caller must have appropriate privilege. | Caller must have appropriate privilege. | ||||
(No call-down to driver.) | (No call-down to driver.) | ||||
.It Dv SIOCGIFCAP | .It Dv SIOCGIFCAP | ||||
.It Dv SIOCGIFDATA | |||||
.It Dv SIOCGIFFIB | .It Dv SIOCGIFFIB | ||||
.It Dv SIOCGIFFLAGS | .It Dv SIOCGIFFLAGS | ||||
.It Dv SIOCGIFMETRIC | .It Dv SIOCGIFMETRIC | ||||
.It Dv SIOCGIFMTU | .It Dv SIOCGIFMTU | ||||
.It Dv SIOCGIFPHYS | .It Dv SIOCGIFPHYS | ||||
Get interface capabilities, FIB, flags, metric, MTU, medium selection. | Get interface capabilities, data, FIB, flags, metric, MTU, medium selection. | ||||
(No call-down to driver.) | (No call-down to driver.) | ||||
.Pp | .Pp | ||||
.It Dv SIOCSIFCAP | .It Dv SIOCSIFCAP | ||||
Enable or disable interface capabilities. | Enable or disable interface capabilities. | ||||
Caller must have appropriate privilege. | Caller must have appropriate privilege. | ||||
Before a call to the driver-specific | Before a call to the driver-specific | ||||
.Fn if_ioctl | .Fn if_ioctl | ||||
routine, the requested mask for enabled capabilities is checked | routine, the requested mask for enabled capabilities is checked | ||||
▲ Show 20 Lines • Show All 228 Lines • Show Last 20 Lines |