Hello!
> Is there any plan to add the ESP header to the ipv6_ext_hdr() function (as a
> known header)?
No, ESP is not a normal extension header, it terminates parse.
So, ipv6_skip_headers cannot skip it.
BTW the same is with netfilter. I do not see how are you going to use it. :-)
> (It requires changes in this file and in the icmp.c at the first round.)
I am afraid this will simply break the function.
> If this functon remains untouched, I'll add an another one into the Netfilter
> code (which can be used at the special matches).
This may be right even not depending on this issue. Goals are different:
the function in exthdrs.c does the best efforts to guess what protocol
is, the function in netfilter should be paranoid.
Alexey
|