On Wed, 2 Mar 2005, jzhao wrote:
> Looks like they changed the struct inet_protocol in protocol.h from the
> kernel:
>
> from 2.4.21-4.EL:
>
> struct inet_protocol
> {
> int (*handler)(struct sk_buff *skb);
> void (*err_handler)(struct sk_buff *skb, u32
> info);
> int no_policy;
> };
For which the Linux-2.6.0 to 2.6.7 code should work.. assuming they also
changed the inet_add/del_protocol() functions in a way compatible with
Linux-2.6.
The second part of the question still remains. How to reliably detect this
kernel type?
Regards
Henrik
Received on Wed Mar 02 2005 - 07:09:45 MST
This archive was generated by hypermail pre-2.1.9 : Fri Apr 01 2005 - 12:00:01 MST