
5.16 Home Agent and Correspondent Node 603
932 mip6_dad_stop(mbc);
933 } else {
934 error = mip6_bc_proxy_control(&mbc->mbc_phaddr,
935 &mbc->mbc_addr, RTM_DELETE);
936 if (error) {
....
942 }
943 error = mip6_tunnel_control(MIP6_TUNNEL_DELETE,
944 mbc, mip6_bc_encapcheck, &mbc->mbc_encap);
945 if (error) {
....
951 }
952 }
953 }
954 #endif /* MIP6_HOME_AGENT */
955 FREE(mbc, M_TEMP);
956
957 return (error);
958 }
mip6_cncore.c
929–954 If a node is acting as a home agent, then the proxy Neighbor Discovery and tunneling
for the mobile node needs to be stopped. The MIP6_IS_BC_DAD_WAIT() macro checks
to see if the entry has finished the DAD procedure. If the DAD procedure ...