]> git.ipfire.org Git - thirdparty/dhcpcd.git/commit
route: Remove kroutes and make froutes optional
authorRoy Marples <roy@marples.name>
Tue, 5 Mar 2019 00:28:36 +0000 (00:28 +0000)
committerRoy Marples <roy@marples.name>
Tue, 5 Mar 2019 00:28:36 +0000 (00:28 +0000)
commit0f3fef65c52ebe102f242ef6b79f45aef46d52d5
tree25a23bc0321843a3138530c57418bb433a55226f
parent0477f89ccb582fa533ff535ee6d10d502c3e6906
route: Remove kroutes and make froutes optional

This is an attempt to reduce the memory dhcpcd uses.
By removing kroutes and froutes from global context.

kroutes are generated at the start of rt_build and freed at
the end.
12 files changed:
src/dhcp.c
src/dhcp6.c
src/dhcpcd.h
src/if-bsd.c
src/if-linux.c
src/if.h
src/ipv4.c
src/ipv4ll.c
src/ipv6.c
src/ipv6nd.c
src/route.c
src/route.h