[quagga-users 14995] Which part of the kernel calculate the OSPF header checksum?
yanhc519 at 163.com
Sat Nov 17 13:57:33 GMT 2018
In line 1649 of ospf6_message.c (\quagga-1.2.4\ospf6d), it says that "/* checksum is calculated by kernel */" as following. I am wondering which part of the kernel calculate the OSPF header checksum? In Sockets layer or IPv6 layer? And in which file of what kernel?
/* fill OSPF header */
oh->version = OSPFV3_VERSION;
/* message type must be set before */
/* message length must be set before */
oh->router_id = oi->area->ospf6->router_id;
oh->area_id = oi->area->area_id;
/* checksum is calculated by kernel */
oh->instance_id = oi->instance_id;
oh->reserved = 0;
Thanks in advance!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Quagga-users