/macosx-10.10/bootp-298/IPConfiguration.bproj/ |
H A D | rtutil.h | 45 struct in_addr netmask, const char * ifname);
|
H A D | rtutil.c | 78 struct in_addr netmask, const char * ifname) 110 set_sockaddr_in(&rtmsg.mask, netmask); 153 struct in_addr netmask, const char * ifname) 155 return (subnet_route(RTM_ADD, gateway, netaddr, netmask, ifname)); 77 subnet_route(int cmd, struct in_addr gateway, struct in_addr netaddr, struct in_addr netmask, const char * ifname) argument 152 subnet_route_add(struct in_addr gateway, struct in_addr netaddr, struct in_addr netmask, const char * ifname) argument
|
/macosx-10.10/sudo-73/src/ |
H A D | interfaces.h | 36 * IP address and netmask pairs for checking against local interfaces. 41 union sudo_in_addr_un netmask; member in struct:interface
|
H A D | interfaces.c | 131 /* Store the ip addr / netmask pairs. */ 148 memcpy(&interfaces[i].netmask, &sin->sin_addr, 163 memcpy(&interfaces[i].netmask, &sin6->sin6_addr, 233 /* For each interface, store the ip address and netmask. */ 272 /* Get the netmask. */ 284 interfaces[num_interfaces].netmask.ip4.s_addr = sin->sin_addr.s_addr; 290 interfaces[num_interfaces].netmask.ip4.s_addr = htonl(IN_CLASSC_NET); 292 interfaces[num_interfaces].netmask.ip4.s_addr = htonl(IN_CLASSB_NET); 294 interfaces[num_interfaces].netmask.ip4.s_addr = htonl(IN_CLASSA_NET); 335 puts("Local IP address and netmask pair [all...] |
/macosx-10.10/ppp-786.1.1/Documentation/scripts/ |
H A D | ppp-on | 13 NETMASK=255.255.255.0 # The proper netmask if needed 36 noipdefault netmask $NETMASK defaultroute connect $DIALER_SCRIPT
|
H A D | ppp-on-rsh | 71 $LOC_IP:$REM_IP netmask $NETMASK $PPPD_IPV6 file $PPPD_LOC_OPT
|
H A D | ppp-on-ssh | 75 $LOC_IP:$REM_IP netmask $NETMASK $PPPD_IPV6 file $PPPD_LOC_OPT
|
/macosx-10.10/bind9-45.101/bind9/bin/tests/system/ |
H A D | ifconfig.sh | 84 ifconfig lo0:$int 10.53.0.$ns netmask 0xffffffff up 87 ifconfig lo0:$int 10.53.0.$ns netmask 0xffffffff up 100 ifconfig lo:$int 10.53.0.$ns up netmask 255.255.255.0 104 ifconfig lo0 10.53.0.$ns alias netmask 0xffffffff 108 ifconfig lo0 10.53.0.$ns alias netmask 255.255.255.0 112 ifconfig lo0 10.53.0.$ns alias netmask 255.255.255.0 116 ifconfig lo0 add 10.53.0.$ns netmask 255.255.255.0 125 ifconfig lo0 10.53.0.$ns alias netmask 0xffffffff 132 ifconfig lo0:$int 10.53.0.$ns netmask 255.255.255.0 up
|
/macosx-10.10/libpcap-48/libpcap/ |
H A D | fad-win32.c | 55 struct sockaddr *netmask, struct sockaddr *broadaddr, 82 if (netmask != NULL) { 83 curaddr->netmask = (struct sockaddr*)dup_sockaddr(netmask, sizeof(struct sockaddr_storage)); 84 if (curaddr->netmask == NULL) { 91 curaddr->netmask = NULL; 54 add_addr_to_list(pcap_if_t *curdev, struct sockaddr *addr, struct sockaddr *netmask, struct sockaddr *broadaddr, struct sockaddr *dstaddr, char *errbuf) argument
|
H A D | fad-getad.c | 156 struct sockaddr *addr, *netmask, *broadaddr, *dstaddr; local 204 * Therefore, we supply the address and netmask only 206 * there's obviously no netmask), and supply the 214 netmask = ifa->ifa_netmask; 218 netmask = NULL; 270 ifa->ifa_flags, addr, addr_size, netmask, addr_size,
|
H A D | fad-gifc.c | 153 struct sockaddr *netmask, *broadaddr, *dstaddr; local 208 * we still get the netmask, etc. with ioctls on 265 * Get the netmask for this address on this interface. 276 netmask = NULL; 288 netmask = &ifrnetmask.ifr_addr; 289 netmask_size = SA_LEN(netmask); 403 SA_LEN(&ifrp->ifr_addr), netmask, netmask_size,
|
H A D | inet.c | 409 struct sockaddr *netmask, size_t netmask_size, 532 if (netmask != NULL) { 533 curaddr->netmask = dup_sockaddr(netmask, netmask_size); 534 if (curaddr->netmask == NULL) { 543 curaddr->netmask = NULL; 550 if (curaddr->netmask != NULL) 551 free(curaddr->netmask); 567 if (curaddr->netmask != NULL) 568 free(curaddr->netmask); 407 add_addr_to_iflist(pcap_if_t **alldevs, const char *name, u_int flags, struct sockaddr *addr, size_t addr_size, struct sockaddr *netmask, size_t netmask_size, struct sockaddr *broadaddr, size_t broadaddr_size, struct sockaddr *dstaddr, size_t dstaddr_size, char *errbuf) argument [all...] |
H A D | fad-glifc.c | 96 struct sockaddr *netmask, *broadaddr, *dstaddr; local 231 * Get the netmask for this address on this interface. 242 netmask = NULL; 253 netmask = (struct sockaddr *)&ifrnetmask.lifr_addr; 354 netmask, sizeof (struct sockaddr_storage),
|
/macosx-10.10/bind9-45.101/bind9/lib/isc/include/isc/ |
H A D | interfaceiter.h | 31 * returned by the iterator. Interfaces whose netmask, interface flags, 55 isc_netaddr_t netmask; /*%< Network mask. */ member in struct:isc_interface
|
/macosx-10.10/libpcap-48/libpcap/tests/ |
H A D | findalldevstest.c | 76 if (a->netmask) 78 inet_ntoa(((struct sockaddr_in *)(a->netmask))->sin_addr)); 94 if (a->netmask) 97 ((struct sockaddr_in6 *)(a->netmask))->sin6_addr.s6_addr,
|
H A D | nonblocktest.c | 58 bpf_u_int32 localnet, netmask; local 96 if (pcap_lookupnet(device, &localnet, &netmask, ebuf) < 0) { 98 netmask = 0; 103 if (pcap_compile(pd, &fcode, cmdbuf, 1, netmask) < 0)
|
H A D | filtertest.c | 169 bpf_u_int32 netmask = PCAP_NETMASK_UNKNOWN; local 209 error("invalid netmask %s", optarg); 210 netmask = addr; 250 if (pcap_compile(pd, &fcode, cmdbuf, Oflag, netmask) < 0) 263 "Usage: %s [-dO] [ -F file ] [ -m netmask] [ -s snaplen ] dlt [ expression ]\n",
|
H A D | selpolltest.c | 58 bpf_u_int32 localnet, netmask; local 126 if (pcap_lookupnet(device, &localnet, &netmask, ebuf) < 0) { 128 netmask = 0; 133 if (pcap_compile(pd, &fcode, cmdbuf, 1, netmask) < 0)
|
/macosx-10.10/xnu-2782.1.97/bsd/net/ |
H A D | radix.c | 217 caddr_t netmask = NULL; local 223 netmask = x->rn_key; 226 if (x && netmask) { 227 while (x && x->rn_mask != netmask) 485 caddr_t netmask = (caddr_t)n_arg; local 493 if ((mlen = *(u_char *)netmask) > max_keylen) 502 Bcopy(netmask + skip, addmask_key + skip, mlen - skip); 526 netmask = cp = (caddr_t)(x + 2); 538 cplim = netmask + mlen; isnormal = 1; 539 for (cp = netmask 594 caddr_t v = (caddr_t)v_arg, netmask = (caddr_t)n_arg; local 750 caddr_t v, netmask; local [all...] |
H A D | route.c | 743 * and sa_len for the netmask might not be set to 1303 struct sockaddr *netmask, int flags, struct sockaddr *src, 1403 gateway, netmask, flags, NULL, ifscope); 1408 * this destination. Should check about netmask!!! 1449 info.rti_info[RTAX_NETMASK] = netmask; 1634 struct sockaddr *netmask, int flags, struct rtentry **ret_nrt) 1636 return (rtrequest_common_locked(req, dst, gateway, netmask, 1642 struct sockaddr *gateway, struct sockaddr *netmask, int flags, 1650 return (rtrequest_common_locked(req, dst, gateway, netmask, 1671 struct sockaddr *gateway, struct sockaddr *netmask, in 1302 rtredirect(struct ifnet *ifp, struct sockaddr *dst, struct sockaddr *gateway, struct sockaddr *netmask, int flags, struct sockaddr *src, struct rtentry **rtp) argument 1633 rtrequest_locked(int req, struct sockaddr *dst, struct sockaddr *gateway, struct sockaddr *netmask, int flags, struct rtentry **ret_nrt) argument 1641 rtrequest_scoped_locked(int req, struct sockaddr *dst, struct sockaddr *gateway, struct sockaddr *netmask, int flags, struct rtentry **ret_nrt, unsigned int ifscope) argument 1670 rtrequest_common_locked(int req, struct sockaddr *dst0, struct sockaddr *gateway, struct sockaddr *netmask, int flags, struct rtentry **ret_nrt, unsigned int ifscope) argument 2186 rtrequest(int req, struct sockaddr *dst, struct sockaddr *gateway, struct sockaddr *netmask, int flags, struct rtentry **ret_nrt) argument 2198 rtrequest_scoped(int req, struct sockaddr *dst, struct sockaddr *gateway, struct sockaddr *netmask, int flags, struct rtentry **ret_nrt, unsigned int ifscope) argument 2662 rt_maskedcopy(struct sockaddr *src, struct sockaddr *dst, struct sockaddr *netmask) argument 2686 node_lookup(struct sockaddr *dst, struct sockaddr *netmask, unsigned int ifscope) argument 2761 rt_lookup_common(boolean_t lookup_only, boolean_t coarse, struct sockaddr *dst, struct sockaddr *netmask, struct radix_node_head *rnh, unsigned int ifscope) argument 2937 rt_lookup(boolean_t lookup_only, struct sockaddr *dst, struct sockaddr *netmask, struct radix_node_head *rnh, unsigned int ifscope) argument 2945 rt_lookup_coarse(boolean_t lookup_only, struct sockaddr *dst, struct sockaddr *netmask, struct radix_node_head *rnh) argument 2998 struct sockaddr *netmask; local [all...] |
/macosx-10.10/bind9-45.101/bind9/bin/tests/ |
H A D | inter_test.c | 66 res = inet_ntop(ifdata.af, &ifdata.netmask.type, buf, 68 fprintf(stdout, "netmask = %s\n", res == NULL ? "BAD" : res); 69 INSIST(ifdata.netmask.family == ifdata.af); 113 res = inet_ntop(ifdata.af, &ifdata.netmask.type, buf, 115 fprintf(stdout, "netmask = %s\n", res == NULL ? "BAD" : res); 116 INSIST(ifdata.netmask.family == ifdata.af);
|
/macosx-10.10/ntp-92/lib/isc/include/isc/ |
H A D | interfaceiter.h | 31 * returned by the iterator. Interfaces whose netmask, interface flags, 55 isc_netaddr_t netmask; /*%< Network mask. */ member in struct:isc_interface
|
/macosx-10.10/cups-408/cups/scheduler/ |
H A D | auth.h | 70 netmask[4]; /* IP netmask */ member in struct:__anon7278 126 const unsigned netmask[4]);
|
/macosx-10.10/dcerpc-61/dcerpc/ncklib/ |
H A D | ipnaf_linux.c | 152 unsigned32 netmask; member in struct:__anon8339::__anon8340 184 ** netmask_addr netmask address 613 local_ip_addr_vec->elt[i].netmask = 622 mp = (unsigned8 *) &(local_ip_addr_vec->elt[i].netmask); 628 ("(rpc__ip_init_local_addr_vec) local network [%s] netmask [%s]\n", 742 addr1 = ip_addr->sa.sin_addr.s_addr & local_ip_addr_vec->elt[i].netmask; 743 addr2 = local_ip_addr_vec->elt[i].addr & local_ip_addr_vec->elt[i].netmask;
|
/macosx-10.10/bootp-298/bootplib/ |
H A D | util.h | 73 in_subnet(struct in_addr netaddr, struct in_addr netmask, struct in_addr ip) argument 75 if ((iptohl(ip) & iptohl(netmask)) != iptohl(netaddr)) {
|