/macosx-10.5.8/xnu-1228.15.4/bsd/net/ |
H A D | radix.c | 222 caddr_t netmask = NULL; local 228 netmask = x->rn_key; 231 if (x && netmask) { 232 while (x && x->rn_mask != netmask) 490 caddr_t netmask = (caddr_t)n_arg; local 498 if ((mlen = *(u_char *)netmask) > max_keylen) 507 Bcopy(netmask + skip, addmask_key + skip, mlen - skip); 531 netmask = cp = (caddr_t)(x + 2); 543 cplim = netmask + mlen; isnormal = 1; 544 for (cp = netmask 599 caddr_t v = (caddr_t)v_arg, netmask = (caddr_t)n_arg; local 755 caddr_t v, netmask; local [all...] |
H A D | route.c | 803 struct sockaddr *netmask, int flags, struct sockaddr *src, 883 gateway, netmask, flags, NULL, ifscope); 888 * this destination. Should check about netmask!!! 920 info.rti_info[RTAX_NETMASK] = netmask; 1086 struct sockaddr *netmask, int flags, struct rtentry **ret_nrt) 1088 return (rtrequest_common_locked(req, dst, gateway, netmask, 1094 struct sockaddr *gateway, struct sockaddr *netmask, int flags, 1102 return (rtrequest_common_locked(req, dst, gateway, netmask, 1123 struct sockaddr *gateway, struct sockaddr *netmask, int flags, 1143 * a netmask i 802 rtredirect(struct ifnet *ifp, struct sockaddr *dst, struct sockaddr *gateway, struct sockaddr *netmask, int flags, struct sockaddr *src, struct rtentry **rtp) argument 1085 rtrequest_locked(int req, struct sockaddr *dst, struct sockaddr *gateway, struct sockaddr *netmask, int flags, struct rtentry **ret_nrt) argument 1093 rtrequest_scoped_locked(int req, struct sockaddr *dst, struct sockaddr *gateway, struct sockaddr *netmask, int flags, struct rtentry **ret_nrt, unsigned int ifscope) argument 1122 rtrequest_common_locked(int req, struct sockaddr *dst0, struct sockaddr *gateway, struct sockaddr *netmask, int flags, struct rtentry **ret_nrt, unsigned int ifscope) argument 1461 rtrequest( int req, struct sockaddr *dst, struct sockaddr *gateway, struct sockaddr *netmask, int flags, struct rtentry **ret_nrt) argument 1725 rt_maskedcopy(struct sockaddr *src, struct sockaddr *dst, struct sockaddr *netmask) argument 1749 node_lookup(struct sockaddr *dst, struct sockaddr *netmask, unsigned int ifscope) argument 1816 rt_lookup(boolean_t lookup_only, struct sockaddr *dst, struct sockaddr *netmask, struct radix_node_head *rnh, unsigned int ifscope) argument [all...] |
H A D | rtsock_mip.c | 53 netmask = rt_mask(rt);
|
H A D | rtsock.c | 122 #define netmask info.rti_info[RTAX_NETMASK] macro 441 (netmask && satosinaddr(netmask) == INADDR_BROADCAST) && 454 netmask, rtm->rtm_flags, &saved_nrt, ifscope); 500 gate, netmask, rtm->rtm_flags, &saved_nrt, ifscope); 517 rt = rt_lookup(TRUE, dst, netmask, rnh, ifscope); 528 netmask = rt_mask(rt); 1044 netmask = ifa->ifa_netmask; 1060 netmask = rt_mask(rt); 1128 netmask [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/ |
H A D | netboot.c | 617 struct in_addr netmask = { 0 }; local 649 if (get_ip_parameters(&iaddr, &netmask, &router) == FALSE) { 650 /* use DHCP to retrieve IP address, netmask and router */ 651 error = dhcp(ifp, &iaddr, 64, &netmask, &router, procp); 658 if (netmask.s_addr) { 659 printf(" netmask " IP_FORMAT, IP_LIST(&netmask)); 665 error = inet_aifaddr(so, ifr.ifr_name, &iaddr, &netmask, NULL);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/ |
H A D | in_dhcp.c | 135 struct in_addr netmask; member in struct:dhcp_context 477 context->netmask = *ip; 661 context->netmask = *ip; 957 *netmask_p = context->netmask;
|