Interface Layer

本文介绍了网络设备接口层的功能和支持特性,包括定义了一系列接口函数、标准统计和控制标志、独立于设备的协议地址存储方法及标准的数据包队列机制。此外,还详细解释了 ifnet 结构的作用和组成部分。

The interface layer supports provides for all devices:

  • a well-defined set of interface functions,
  • a standard set of statistics and control flags,
  • a device-independent method of storing protocol addresses, and
  • a standard queueing method for outgoing packets.

ifnet Structure

The ifnet structure contains information common to all interfaces.During system initialization, a separate ifnet structure is allocated for each network device.Every ifnet structure has a list of one or more protocol addresses associated with it.

The ifnet structure is large so we describe it in five sections:

  1. implementation information
  2. hardware information
  3. interface statistics
  4. function pointers
  5. the output queue


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值