I check it on the website it seems netlink can achieve, but haven't found relevant example, under the great god can help you?
CodePudding user response:
In busybox can find IP this command source code, can go to see the realization of this commandCodePudding user response:
IP route get inside the inside is the route of a record, you can see the realization of this route command, it is ok to match the:https://blog.csdn.net/sjingpink/article/details/44268141? Utm_medium=distribute. Pc_relevant_bbs_down. None - task - blog - baidujs - 2. Nonecase& Depth_1 - utm_source=distribute. Pc_relevant_bbs_down. None - task - blog - baidujs - 2. Nonecase