264: #endif
265: memset(&info, 0, sizeof(info));
266: info.rti_addrs = rtm->rtm_addrs;
624: if (len > datalen)
625: (void)memset(mtod(m, char *) + datalen, 0, len - datalen);
626: rtm = mtod(m, struct rt_msghdr *);
752: return;
753: memset(&rtm, 0, sizeof(rtm));
754: rtm.rtm_flags = RTF_DONE | flags;
778: return;
779: memset(&info, 0, sizeof(info));
780: memset(&ifm, 0, sizeof(ifm));
781: ifm.ifm_index = ifp->if_index;
789: #ifdef COMPAT_14
790: memset(&info, 0, sizeof(info));
791: memset(&oifm, 0, sizeof(oifm));
792: oifm.ifm_index = ifp->if_index;
839: for (pass = 1; pass < 3; pass++) {
840: memset(&info, 0, sizeof(info));
841: if ((cmd == RTM_ADD && pass == 1) ||
849: info.rti_info[RTAX_BRD] = ifa->ifa_dstaddr;
850: memset(&ifam, 0, sizeof(ifam));
851: ifam.ifam_index = ifp->if_index;
868: info.rti_info[RTAX_GATEWAY] = rt->rt_gateway;
869: memset(&rtm, 0, sizeof(rtm));
870: rtm.rtm_index = ifp->if_index;
891:
892: memset(info, 0, sizeof(*info));
893: memset(&ifan, 0, sizeof(ifan));
894: ifan.ifan_index = ifp->if_index;
973: return 0;
974: memset(&info, 0, sizeof(info));
975: info.rti_info[RTAX_DST] = rt_getkey(rt);
1021:
1022: memset(&info, 0, sizeof(info));
1023: IFNET_FOREACH(ifp) {