Linux内核ipsec密码库,关于2.6.18 ipsec内核支持(NETKEY)的问题

请教各位:

本人在将Linux 内核对ipsec的支持模块(也就是NETKEY)移植到ARM上的时候,遇到了如下的问题:

在交叉编译的时候,如下的module 已经在make menuconfig已经选中:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~`

Networking  --->

Networking options  --->

Transformation user configuration interface

PF_KEY sockets

TCP/IP networking

IP: advanced router

IP: policy routing

IP: AH transformation

IP: ESP transformation

IP: IPComp transformation

IP: IPsec transport mode

IP: IPsec tunnel mode

IP: IPsec BEET mode (experimental)

The IPv6 protocol

IPv6: AH transformation

IPv6: ESP transformation

IPv6: IPComp transformation

IPv6: IPsec transport mode

IPv6: IPsec tunnel mode

IPv6: IPsec BEET mode

IPv6: Multiple Routing Tables

Network packet filtering framework (Netfilter)  --->

Core Netfilter Configuration

IPsec "policy" match support

Cryptographic API

Select algorithms you want to use...

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

并且在生成的system.map中能够查到如下的symbol: skb_cow_data, pskb_put, skb_to_sgvec。

但是到了arm板上,却没法insmod esp4.ko, 提示的错误就是这些symbol未知。 我在arm上查看了/proc/kallsyms,的确没有这些symbol。

(这些symbol在net/xfrm_algo.c定义)

各位是否遇到过这个问题,请不吝赐教,谢谢!

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值