没有合适的资源?快使用搜索试试~ 我知道了~
SDK_MPLS_561_new.ppt
5星 · 超过95%的资源 需积分: 9 18 下载量 143 浏览量
2012-05-08
10:27:18
上传
评论 1
收藏 21.21MB PPT 举报
温馨提示
试读
62页
bcm 关于MPLS的SDK培训ppt,对需要了解MPLS的兄弟们应该会有用!
资源推荐
资源详情
资源评论
BROADCOM PROPRIETARY & CONFIDENTIAL
1
SDK_MPLS
Asia Application Engineering
Jan., 2008
BROADCOM PROPRIETARY & CONFIDENTIAL
2
Agenda
•
Generic Port Concept
•
L2 VPWS APIs
•
L2 VPLS APIs
•
L3 MPLS APIs
•
MPLS FAILOVER
•
MPLS TTL Processing
BROADCOM PROPRIETARY & CONFIDENTIAL
3
Generic Port
BROADCOM PROPRIETARY & CONFIDENTIAL
4
GPORT
•
The GPORT (generic port) type is a single 32-bit identifier that is
used to uniquely identify the destination types.
Destination Type
(1) Local port number (a physical port on the local unit)
(2) {module, port} pair
(3) Trunk identifier
(4) Black hole (packets are to be dropped)
(5) Local CPU (packets are to be directed to local CPU)
(6) L2 MPLS virtual-port (VPLS/VPWS)
(7) Subport group
(8) Subport virtual-port
(9) COSQ Scheduler
(10){device ID, port} pair (ports on devices without a module ID)
int bcm_gport_t
6 Bits 26 Bits
Type
ID
BROADCOM PROPRIETARY & CONFIDENTIAL
5
GPORT Macros
•
Constants or Expressions suitable for assignment:
–
GPORT_NONE gport initializer
–
GPORT_INVALID invalid gport identifier
–
GPORT_BLACK_HOLE black-hole gport idenitifier
–
GPORT_LOCAL_CPU local CPU gport identifier
•
Predicates:
–
GPORT_IS_MPLS_PORT() is the gport a MPLS port type?
–
GPORT_IS_MCAST() is the gport a multicast set type?
•
Statements:
–
BCM_GPORT_MPLS_PORT_SET() set a MPLS ID type and value
–
BCM_GPORT_MPLS_PORT_GET() get a MPLS ID from a MPLS gport
剩余61页未读,继续阅读
资源评论
- ljj11082013-10-18非常好 正在对照着看SDK代码
- beta_guo2013-09-05不错,讲得非常详细,对直接用bcm的sdk来编写mpls相关功能非常有帮助
Littlerock_man
- 粉丝: 0
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功