Hi, everyone!
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!
Regards,
yanhc
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!
Regards,
yanhc