ipv6 and exported kernel symbols

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I am trying to place a hook into the ipv6 routines (linux kernel
2.2.16);
specificly, I need to design a module that parses all incoming ICMP6
packets.

I already have a similar module running for IPv4, and there it was
possible to register as an ICMP-handler via inet_add_protocol().

Unfortunately, IPv6 exports only very few symbols; for example,
inet6_add_protocol() is not available to modules.

Any suggestions how to get around this?

I have considered using dev_add_pack instead to get all ipv6 packets,
but then I would have to do the parsing of the headers myself -
that's something I want to avoid.

Bye + thanks in advance,
  Hannes
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux