- 论坛徽章:
- 0
|
为2.6.13.3添加模块编译不过.
net/ipv4/netfilter/ipt_time.c:60: error: structure has no member named `tstamp'net/ipv4/netfilter/ipt_time.c:61: warning: implicit declaration of function `__n et_timestamp'
net/ipv4/netfilter/ipt_time.c:64: error: structure has no member named `tstamp'net/ipv4/netfilter/ipt_time.c:64: error: structure has no member named `tstamp'net/ipv4/netfilter/ipt_time.c:68: error: structure has no member named `tstamp'net/ipv4/netfilter/ipt_time.c: At top level:
这个错误是什么原因?
60行的代码:
/* We might not have a timestamp, get one */
if (skb->tstamp.off_sec == 0)
__net_timestamp((struct sk_buff *)skb);
/* First we make sure we are in the date start-stop boundaries */
if ((skb->tstamp.off_sec < info->date_start) || (skb->tstamp.off_sec > info->date_stop))
return 0; /* We are outside the date boundaries */ |
|