nwfilter: move code for IP address map into separate file
The goal of this patch is to prepare for support for multiple IP addresses per interface in the DHCP snooping code. Move the code for the IP address map that maps interface names to IP addresses into their own file. Rename the functions on the way but otherwise leave the code as-is. Initialize this new layer separately before dependent layers (iplearning, dhcpsnooping) and shut it down after them.
Showing
src/conf/nwfilter_ipaddrmap.c
0 → 100644
src/conf/nwfilter_ipaddrmap.h
0 → 100644
想要评论请 注册 或 登录