Lines Matching refs:netmask
525 struct sockaddr *netmask,
530 rtredirect_fib(dst, gateway, netmask, flags, src, RT_DEFAULT_FIB);
536 struct sockaddr *netmask,
600 info.rti_info[RTAX_NETMASK] = netmask;
621 * this destination. Should check about netmask!!!
651 info.rti_info[RTAX_NETMASK] = netmask;
774 struct sockaddr *netmask,
779 return (rtrequest_fib(req, dst, gateway, netmask, flags, ret_nrt,
787 struct sockaddr *netmask,
801 info.rti_info[RTAX_NETMASK] = netmask;
811 #define netmask info->rti_info[RTAX_NETMASK]
1019 rn = rnh->rnh_lookup(dst, netmask, rnh);
1058 rn = rnh->rnh_deladdr(dst, netmask, rnh);
1154 * a netmask in the tree, nor do we want to clone it.
1157 netmask = NULL;
1161 if (netmask) {
1162 rt_maskedcopy(dst, (struct sockaddr *)&mdst, netmask);
1180 netmask, rnh);
1189 rn = rnh->rnh_deladdr(dst, netmask, rnh);
1272 if (netmask) {
1273 rt_maskedcopy(dst, ndst, netmask);
1289 rt_mpath_conflict(rnh, rt, netmask)) {
1332 } else if (!(flags & RTF_HOST) && netmask) {
1336 n = (u_char *)netmask;
1354 rn = rnh->rnh_addaddr(ndst, netmask, rnh, rt->rt_nodes);
1418 #undef netmask
1472 rt_maskedcopy(struct sockaddr *src, struct sockaddr *dst, struct sockaddr *netmask)
1476 register u_char *cp3 = (u_char *)netmask;
1499 struct sockaddr *netmask;
1512 netmask = NULL;
1515 netmask = ifa->ifa_netmask;
1554 if (netmask != NULL) {
1555 rt_maskedcopy(dst, (struct sockaddr *)tempbuf, netmask);
1577 rn = rnh->rnh_lookup(dst, netmask, rnh);
1624 info.rti_info[RTAX_NETMASK] = netmask;