/titanic_44/usr/src/uts/common/inet/ip/ |
H A D | ip6_rts.c | 80 rts_fill_msg_v6(int type, int rtm_addrs, const in6_addr_t *dst, in rts_fill_msg_v6() argument 102 data_size = rts_data_msg_size(rtm_addrs, AF_INET6, gc != NULL ? 1 : 0); in rts_fill_msg_v6() 110 switch (rtm_addrs & (1 << i)) { in rts_fill_msg_v6() 199 int flags, int error, int rtm_addrs, ip_stack_t *ipst) in ip_rts_change_v6() argument 204 if (rtm_addrs == 0) in ip_rts_change_v6() 206 mp = rts_alloc_msg(type, rtm_addrs, AF_INET6, 0); in ip_rts_change_v6() 209 rts_fill_msg_v6(type, rtm_addrs, dst_addr, net_mask, gw_addr, source, in ip_rts_change_v6() 215 rtm->rtm_addrs = rtm_addrs; in ip_rts_change_v6()
|
H A D | ip_rts.c | 77 #define RTS_MSG_SIZE(type, rtm_addrs, af, sacnt) \ argument 78 (rts_data_msg_size(rtm_addrs, af, sacnt) + rts_header_msg_size(type)) 81 static void rts_fill_msg(int type, int rtm_addrs, ipaddr_t dst, 192 int rtm_addrs = (RTA_DST | RTA_NETMASK | RTA_GATEWAY); in ip_rts_rtmsg() local 204 rtm_addrs |= RTA_SRC; in ip_rts_rtmsg() 209 mp = rts_alloc_msg(type, rtm_addrs, af, 0); in ip_rts_rtmsg() 212 rts_fill_msg(type, rtm_addrs, ire->ire_addr, ire->ire_mask, in ip_rts_rtmsg() 218 mp = rts_alloc_msg(type, rtm_addrs, af, 0); in ip_rts_rtmsg() 224 rts_fill_msg_v6(type, rtm_addrs, &ire->ire_addr_v6, in ip_rts_rtmsg() 232 rtm->rtm_addrs = rtm_addrs; in ip_rts_rtmsg() [all …]
|
H A D | ip6_if.c | 945 const in6_addr_t *gw_addr, uint_t rtm_addrs, int flags, ill_t *ill, in ip_rt_delete_v6() argument 961 } else if (rtm_addrs & RTA_NETMASK) { in ip_rt_delete_v6()
|
H A D | ip_if.c | 5971 uint_t rtm_addrs, int flags, ill_t *ill, boolean_t ioctl_msg, in ip_rt_delete() argument 5988 } else if (rtm_addrs & RTA_NETMASK) { in ip_rt_delete()
|
/titanic_44/usr/src/lib/libipadm/common/ |
H A D | ipadm_ngz.c | 99 w.w_rtm.rtm_addrs = RTA_DST|RTA_GATEWAY; in i_ipadm_rtioctl4() 113 w.w_rtm.rtm_addrs |= RTA_NETMASK; in i_ipadm_rtioctl4() 124 w.w_rtm.rtm_addrs |= RTA_IFP; in i_ipadm_rtioctl4() 177 w.w_rtm.rtm_addrs = RTA_DST|RTA_GATEWAY; in i_ipadm_rtioctl6() 187 w.w_rtm.rtm_addrs |= RTA_NETMASK; in i_ipadm_rtioctl6() 200 w.w_rtm.rtm_addrs |= RTA_IFP; in i_ipadm_rtioctl6()
|
/titanic_44/usr/src/cmd/cmd-inet/lib/nwamd/ |
H A D | routing_events.c | 413 setaddr(RTA_DST, &rtm->rtm_addrs, &addrs, dest); in nwamd_add_route() 414 setaddr(RTA_GATEWAY, &rtm->rtm_addrs, &addrs, gateway); in nwamd_add_route() 415 setaddr(RTA_NETMASK, &rtm->rtm_addrs, &addrs, mask); in nwamd_add_route() 416 setaddr(RTA_IFP, &rtm->rtm_addrs, &addrs, (struct sockaddr *)&sdl); in nwamd_add_route()
|
/titanic_44/usr/src/uts/common/net/ |
H A D | route.h | 158 int rtm_addrs; /* bitmask identifying sockaddrs in msg */ member
|
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | 6to4relay.c | 125 rt_msg.rt_hdr.rtm_addrs = RTA_DST | RTA_GATEWAY | RTA_NETMASK; in modifyroute()
|
H A D | route.c | 740 rtm->rtm_addrs = RTA_DST | RTA_GATEWAY | RTA_NETMASK; in delRouteEntry() 2457 rtm.rtm_addrs = newrt->ri_addrs; in rtmsg() 2667 if (rtm->rtm_addrs != 0) { in print_getmsg() 2669 if (i & rtm->rtm_addrs) { in print_getmsg() 2759 if (rtm->rtm_addrs &~ RTA_IGN) { in print_getmsg() 2761 bprintf(stdout, rtm->rtm_addrs, addrnames); in print_getmsg() 2765 addrs = rtm->rtm_addrs; in print_getmsg() 2787 rtm->rtm_addrs); in pmsg_common()
|
/titanic_44/usr/src/cmd/cmd-inet/sbin/dhcpagent/ |
H A D | util.c | 332 rtmsg.rm_mh.rtm_addrs = RTA_GATEWAY | RTA_DST | RTA_NETMASK | RTA_IFP; in update_default_route()
|
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/in.routed/ |
H A D | table.c | 773 rtm->rtm_flags, rtm->rtm_addrs, rtm->rtm_pid, rtm->rtm_seq); in dump_rt_msg() 827 w.w_rtm.rtm_addrs = RTA_DST|RTA_GATEWAY; in rtioctl() 839 w.w_rtm.rtm_addrs |= RTA_NETMASK; in rtioctl() 857 w.w_rtm.rtm_addrs |= RTA_IFP; in rtioctl() 1673 1), (char *)&m + cc, m.r.rtm.rtm_addrs); in read_rt()
|
/titanic_44/usr/src/cmd/cmd-inet/usr.lib/ncaconfd/ |
H A D | ncaconfd.c | 1195 if ((rtm->rtm_addrs & RTA_DST) && in daemon_work() 1197 if (!(rtm->rtm_addrs & RTA_GATEWAY)) { in daemon_work()
|
/titanic_44/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/ |
H A D | tables.c | 663 rt_msg->rtm_addrs = RTA_DST | RTA_GATEWAY | RTA_NETMASK | RTA_IFP; in setup_rtsock()
|
/titanic_44/usr/src/cmd/zoneadmd/ |
H A D | vplat.c | 2038 rtmsg.hdr.rtm_addrs = RTA_IFP | RTA_DST; in who_is_using() 2083 if ((rtmsg.hdr.rtm_addrs & RTA_IFP) == 0) { in who_is_using() 2092 if ((i & rtmsg.hdr.rtm_addrs) != 0) in who_is_using()
|
/titanic_44/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/ |
H A D | main.c | 1492 rt_msg->rtm_addrs = RTA_DST | RTA_GATEWAY | RTA_NETMASK | RTA_IFP; in setup_rtsock()
|