Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A D6to4relay.c109 struct rt_msghdr rt_hdr; in modifyroute() member
123 rt_msg.rt_hdr.rtm_msglen = sizeof (rt_msg); in modifyroute()
124 rt_msg.rt_hdr.rtm_version = RTM_VERSION; in modifyroute()
125 rt_msg.rt_hdr.rtm_addrs = RTA_DST | RTA_GATEWAY | RTA_NETMASK; in modifyroute()
126 rt_msg.rt_hdr.rtm_pid = getpid(); in modifyroute()
127 rt_msg.rt_hdr.rtm_type = cmd; in modifyroute()
128 rt_msg.rt_hdr.rtm_seq = ++rtmseq; in modifyroute()
129 rt_msg.rt_hdr.rtm_flags = RTF_STATIC | RTF_GATEWAY; in modifyroute()
147 rlen = write(rtsock, &rt_msg, rt_msg.rt_hdr.rtm_msglen); in modifyroute()
148 if (rlen < rt_msg.rt_hdr.rtm_msglen) { in modifyroute()
/illumos-gate/usr/src/boot/sys/sys/
H A Defi.h117 struct efi_tblhdr rt_hdr; member