linux pppoe优化性能,基于Linux内核模式的PPPoE优化与实现.pdf

基于Linux内核模式的PPPoE优化与实现.pdf

第18卷第7期 电子设计工程 2010年7月

V01.18 No.7 Electronic Jul.2010

DesignEngineering

基于Linux内核模式的PPPoE优化与实现

张南平.徐永

(武汉理工大学计算机学院,湖北武汉430071)

现于内核,即把PPP层的封包解包实现于内核。这样就可以大大降低了内核空间数据与用户空间数据的切换开销。

另外为了减低路由模块设计者的任务,还提出了以物理接口来代替传统的虚拟PPP接口。即所有的数据传输直接经

过物理网卡。该系统设计已在Linux2.6.18内核版本上完全测试通过。

关键词:网络;PPPOE;Linux内核;封包

中圈分类号:7rP312 文献标识码:A

and ofkernelmodePPPoEbasedonLinux

Implementoptimization

ZHANG

Nan—ping,XUYong

(School Scienceand 430071,China)

ofComputer Thechnology,WuhanUnivers酊ofThechnology,Wuhan

alsocalledTunnelNetwork Linux.themain modeofPPPOEisbasedon

Abstract:PPPoE protoc01.Under implementation

PPPoE underLinuxkernel isto encasulatafionand

mode。that

user-space.711lispapergave implementation say。the

of was inthekernel thismethodcandecreasethecostofthecontext

deeapsulationPPPlayer implemented package.and

betweentheuser andkernel thisschematicabandonedthemethodof information

space space.And design transmitting by

thevirtual called willtransmitallinformationthe interfaceinsteadof reduce

interfacePPP.It by physical PPP,to

the have thetestontheLinux2.6.18.

developers’tasks.Allimplementationpassed

words:network;PPPoE;Linux

Key kernel;encapsulation

Protocolover

PPPoE(Point.to.PointEthernet)是将PPP协会话分配资源并向客户机发送PADS(Ox65)。当此阶段完成,

议封装在以太网帧上进行传输。它的通信过程分为探测 这两次的对话完成了SESSION_ID以及双方物理地址.为后

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值