Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/cmd-inet/sbin/dhcpagent/
H A Dutil.c324 } rtmsg; in update_default_route() local
326 (void) memset(&rtmsg, 0, sizeof (rtmsg)); in update_default_route()
327 rtmsg.rm_mh.rtm_version = RTM_VERSION; in update_default_route()
328 rtmsg.rm_mh.rtm_msglen = sizeof (rtmsg); in update_default_route()
329 rtmsg.rm_mh.rtm_type = type; in update_default_route()
330 rtmsg.rm_mh.rtm_pid = getpid(); in update_default_route()
331 rtmsg.rm_mh.rtm_flags = RTF_GATEWAY | RTF_STATIC | flags; in update_default_route()
332 rtmsg.rm_mh.rtm_addrs = RTA_GATEWAY | RTA_DST | RTA_NETMASK | RTA_IFP; in update_default_route()
334 rtmsg.rm_gw.sin_family = AF_INET; in update_default_route()
335 rtmsg.rm_gw.sin_addr = *gateway_nbo; in update_default_route()
[all …]
/titanic_50/usr/src/cmd/zoneadmd/
H A Dvplat.c1966 } rtmsg; variable
2005 char *cp = rtmsg.space; in who_is_using()
2034 (void) memset(&rtmsg, 0, sizeof (rtmsg)); in who_is_using()
2035 rtmsg.hdr.rtm_type = RTM_GET; in who_is_using()
2036 rtmsg.hdr.rtm_flags = RTF_UP | RTF_HOST; in who_is_using()
2037 rtmsg.hdr.rtm_version = RTM_VERSION; in who_is_using()
2038 rtmsg.hdr.rtm_seq = ++rts_seqno; in who_is_using()
2039 rtmsg.hdr.rtm_addrs = RTA_IFP | RTA_DST; in who_is_using()
2048 rtmsg.hdr.rtm_msglen = l = cp - (char *)&rtmsg; in who_is_using()
2050 if ((rlen = write(s, &rtmsg, l)) < 0) { in who_is_using()
[all …]
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/
H A Droute.c278 static int rtmsg(rtcmd_irep_t *rcip);
1820 if ((ret = rtmsg(newrt)) == 0) in newroute()
2437 rtmsg(rtcmd_irep_t *newrt) in rtmsg() function