Home
last modified time | relevance | path

Searched refs:rtmsg (Results 1 – 1 of 1) sorted by relevance

/xnu-8019.80.24/tests/
H A Dnet_bridge.c587 route_msg rtmsg; in IPv4RouteApply() local
609 memset(&rtmsg, 0, sizeof(rtmsg)); in IPv4RouteApply()
610 rtmsg.hdr.rtm_type = cmd; in IPv4RouteApply()
611 rtmsg.hdr.rtm_version = RTM_VERSION; in IPv4RouteApply()
612 rtmsg.hdr.rtm_seq = rtm_seq++; in IPv4RouteApply()
613 rtmsg.hdr.rtm_addrs = RTA_DST | RTA_GATEWAY | RTA_IFP; in IPv4RouteApply()
615 rtmsg.hdr.rtm_addrs |= RTA_IFA; in IPv4RouteApply()
617 rtmsg.hdr.rtm_flags = RTF_UP | RTF_STATIC; in IPv4RouteApply()
619 rtmsg.hdr.rtm_flags |= RTF_HOST; in IPv4RouteApply()
621 rtmsg.hdr.rtm_addrs |= RTA_NETMASK; in IPv4RouteApply()
[all …]