Where in the IP standard model suite is the code that fragments packets that are larger than the MTU?
Where in the IP standard model suite is the code that fragments packets that are larger than the MTU?
IP Datagram fragmentation/re-assembly is done by the ip module and not ip_encap because ip_encap does not know the output interface on which the packet is being sent out. The fragmentaion is done in the function ip_rte_pk_frag_send(), defined in the external code file ip_rte_support.ex.c. The ip module also performs the reassembly; this is performed by the function ip_frag_sup_insert() in ip_frag_sup_v3.ex.c.
DES Kernel->Process Modeling/Coding