zhaoxf007
驱动牛犊
驱动牛犊
  • 注册日期2004-08-04
  • 最后登录2010-08-24
  • 粉丝0
  • 关注0
  • 积分30分
  • 威望5点
  • 贡献值0点
  • 好评度3点
  • 原创分0分
  • 专家分0分
阅读:1102回复:0

mtpppoe中为什么要有 ++a->pppoeHostUniq; 语句呀?

楼主#
更多 发布于:2004-08-17 16:45
 我参考mtpppoe开发自己的pppoe客户端,但是++a->pppoeHostUniq;不明白, rfc2516上关于HostUniq的描述是:0x0103 Host-Uniq
 This TAG is used by a Host to uniquely associate an Access
Concentrator response (PADO or PADS) to a particular Host request (PADI or PADR).  The TAG_VALUE is binary data of any value and length that the Host chooses.  It is not interpreted by the Access Concentrator.  The Host MAY include a Host-Uniq TAG in a PADI of PADR.  If the Access Concentrator receives this TAG, it MUST include the TAG unmodified in the associated PADO or PADS response.
这表明在一次协商中这个值是不应该变化的,可是为什么在PADI 和PADR函数中都有 ++语句呀? 请教高手呀^_^
游客

返回顶部