| /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.sadm/dhcpmgr/com/sun/dhcpmgr/data/ |
| Network.java | 40 private IPAddress netmask; field in class:Network 50 netmask = new IPAddress(); 64 // Initialize a default netmask based on address class 69 netmask = new IPAddress("255.0.0.0"); 71 netmask = new IPAddress("255.255.0.0"); 73 netmask = new IPAddress("255.255.255.0"); 114 netmask = new IPAddress(mask); 124 netmask = mask; 145 netmask = new IPAddress(mask); 169 // If netmask is not set then ignore it and return address ra [all...] |
| ResourceBundle.properties | 40 invalid_netmask={0} is not valid netmask
|
| /onnv/onnv-gate/usr/src/lib/nsswitch/ldap/common/ |
| getnetmasks.c | 56 * The front end marshaller str2add expects "netmask" only 70 char *buffer, **netmask; local 77 netmask = __ns_ldap_getAttr(result->entry, _N_NETMASK); 78 if (netmask == NULL || netmask[0] == NULL || 79 (strlen(netmask[0]) < 1)) { 84 len = strlen(netmask[0]) + 1; 96 (void) snprintf(buffer, len, "%s", netmask[0]); 106 * ldap search filter using the netmask name invocation parameter and the
|
| /onnv/onnv-gate/usr/src/cmd/getent/ |
| dogetnetmask.c | 42 putnetmask(const struct in_addr key, const struct in_addr netmask, FILE *fp) 51 if (fprintf(fp, " %s", inet_ntoa(netmask)) == EOF) 65 struct in_addr addr, netmask; local 73 if (getnetmaskbyaddr(addr, &netmask) == 0) { 74 (void) putnetmask(addr, netmask, stdout);
|
| /onnv/onnv-gate/usr/src/cmd/ipf/examples/ |
| mkfilters.sh | 14 $net{$i} = $inet{$i}."/".$netmask{$i} if (defined($inet{$i})); 106 if (/netmask/) { 107 ($mask = $_) =~ s/.*netmask ([^ ]+).*/$1/; 109 $netmask{$iface} = $mask;
|
| /onnv/onnv-gate/usr/src/common/net/patricia/ |
| radix.c | 216 * when m_arg is a finer-granularity netmask -- it represents a subset 252 caddr_t netmask = NULL; local 258 netmask = x->rn_key; 261 if (x && netmask) { 262 while (x && x->rn_mask != netmask) 563 caddr_t netmask = (caddr_t)n_arg; local 572 if ((mlen = LEN(netmask)) > max_keylen) 581 bcopy(netmask + skip, addmask_key + skip, mlen - skip); 605 netmask = cp = (caddr_t)(x + 2); 624 cplim = netmask + mlen 693 caddr_t v = (caddr_t)v_arg, netmask = (caddr_t)n_arg; local 891 caddr_t v, netmask; local [all...] |
| /onnv/onnv-gate/usr/src/lib/libslp/clib/ |
| slp_net_utils.c | 45 struct sockaddr_in netmask; member in struct:slp_ifinfo 144 struct in_addr netmask, net_addr, masked_addr; local 165 /* get netmask */ 166 netmask.s_addr = all_ifs[i].netmask.sin_addr.s_addr; 169 all_ifs[i].addr.sin_addr.s_addr & netmask.s_addr; 170 /* apply netmask to input addr */ 171 masked_addr.s_addr = addr.s_addr & netmask.s_addr; 301 (void) memset(&(all_ifs[i].netmask), 0, 302 sizeof (all_ifs[i].netmask)); [all...] |
| /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/ |
| radix.c | 147 * when m_arg is a finer-granularity netmask -- it represents a subset 172 uint8_t *netmask = NULL; local 180 netmask = x->rn_key; 183 if (x && netmask) { 184 while (x && x->rn_mask != netmask) 435 uint8_t *netmask = n_arg; local 451 (void) memmove(addmask_key + skip, netmask + skip, mlen - skip); 474 netmask = cp = (uint8_t *)(x + 2); 489 cplim = netmask + mlen; 491 for (cp = netmask + skip; (cp < cplim) && *cp == 0xff; 547 uint8_t *v = v_arg, *netmask = n_arg; local 714 uint8_t *v, *netmask; local [all...] |
| parms.c | 223 uint32_t dst, netmask, gate; local 304 netmask = HOST_MASK; 306 if (!getnet(dname, &dst, &netmask)) { 388 addroutefordefault(dst, gate, netmask, metric, 393 ifp = check_dup(NULL, gate, dst, netmask, 0, _B_FALSE); 403 if (netmask == HOST_MASK) 410 ifp->int_mask = netmask; 411 ifp->int_ripv1_mask = netmask;
|
| rtquery.c | 123 in_addr_t netaddr, netmask; local 166 rflag = getnet(optarg, &netaddr, &netmask); 170 OMSG.rip_nets[0].n_mask = htonl(netmask); 657 * Without a netmask, do not worry about 662 * If we have a netmask we can make a
|
| /onnv/onnv-gate/usr/src/lib/libdhcpsvc/modules/binfiles/tools/ |
| printnet.c | 53 char netmask[INET_ADDRSTRLEN], network[INET_ADDRSTRLEN]; local 83 (void) inet_ntop(AF_INET, &in_addr, netmask, INET_ADDRSTRLEN); 86 (void) printf("%12s: %s\n", "netmask", netmask);
|
| /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.sadm/dhcpmgr/com/sun/dhcpmgr/cli/dhcpconfig/ |
| ConfigureNetwork.java | 110 IPAddress netmask = null; local 114 netmask = new IPAddress(mask); 115 network.setMask(netmask);
|
| /onnv/onnv-gate/usr/src/lib/libdladm/common/ |
| flowattr.c | 88 uchar_t *netmask; local 112 netmask = (uchar_t *)&fd->fd_local_netmask; 116 netmask = (uchar_t *)&fd->fd_remote_netmask; 123 netmask = (uchar_t *) 124 &(V4_PART_OF_V6((*((in6_addr_t *)(void *)netmask)))); 134 status = dladm_prefixlen2mask(prefix_len, prefix_max, netmask);
|
| /onnv/onnv-gate/usr/src/grub/grub-0.97/netboot/ |
| nic.c | 35 static unsigned long netmask; variable 262 DEFAULT_NETMASK - Return default netmask for IP address 322 if (((destip & netmask) != 323 (arptable[ARP_CLIENT].ipaddr.s_addr & netmask)) && 561 netmask = default_netmask(); 658 netmask = default_netmask(); 1073 memcpy(&netmask, p+2, sizeof(in_addr)); [all...] |
| /onnv/onnv-gate/usr/src/uts/common/sys/ib/mgt/ibcm/ |
| ibcm_arp.h | 64 ibt_ip_addr_t netmask; /* rts returned netmask */ member in struct:ibcm_arp_prwqn
|
| /onnv/onnv-gate/usr/src/lib/udapl/udapl_tavor/common/ |
| dapl_name_service.c | 551 uint32_t netmask, netaddr, netaddr_dest; local 560 "ns_subnet_match_v4: cannot get netmask: %s\n", 564 netmask = ((struct sockaddr_in *)&lifreq.lifr_addr)-> 580 sin_addr.s_addr & netmask; 581 netaddr_dest = addr->sin_addr.s_addr & netmask; 597 uchar_t *netmask, *local_addr, *dest_addr; local 607 "ns_subnet_match_v6: cannot get netmask: %s\n", 626 netmask = (uchar_t *)&netmask_sock.sin6_addr; 632 if (((local_addr[i] ^ dest_addr[i]) & netmask[i]) != 0) {
|
| /onnv/onnv-gate/usr/src/cmd/svc/milestone/ |
| net-physical | 98 # DHCP, reset the netmask using the local "/etc/netmasks" file if one 99 # exists, and then reset the broadcast address based on the netmask. 101 /sbin/ifconfig -auD4 netmask + broadcast + 377 /sbin/ifconfig -adD4 auto-revarp netmask + broadcast + up 447 netmask $mask broadcast + up 2>/dev/null;
|
| net-svc | 281 # We now need to reset the netmask and broadcast address for our network 294 # Re-set the netmask and broadcast addr for all IP interfaces. This 296 # "netmask +" will find the netmask if it lives in a NIS map. The 'D' 300 /usr/sbin/ifconfig -auD4 netmask + broadcast +
|
| /onnv/onnv-gate/usr/src/stand/lib/inet/ |
| ipv4.c | 58 static struct in_addr netmask = variable in typeref:struct:in_addr 59 { 0xff, 0xff, 0xff, 0xff }; /* our network-order netmask */ 60 static boolean_t netmask_set = B_FALSE; /* has anyone set netmask? */ 470 * Set our netmask. 477 netmask.s_addr = htonl(ip->s_addr); 478 mynet.s_addr = netmask.s_addr & myip.s_addr; /* implicit */ 494 * Returns our current netmask in host order. 496 * that the netmask be specified, so in the absence of 497 * a netmask, we attempt to derive it using class-based 504 ip->s_addr = ntohl(netmask.s_addr) [all...] |
| /onnv/onnv-gate/usr/src/uts/common/io/ib/mgt/ibcm/ |
| ibcm_arp_link.c | 176 wqnp->netmask.un.ip4addr = ire->ire_mask; 179 wqnp->netmask.family = AF_INET; 230 wqnp->netmask.un.ip6addr = ire->ire_mask_v6; 233 wqnp->netmask.family = AF_INET6;
|
| /onnv/onnv-gate/usr/src/lib/libnsl/nss/ |
| netdir_inet_sundry.c | 307 struct in_addr if_netmask; /* netmask in network order */ 509 uint32_t mask, netmask, clnt_addr, if_addr; local 521 netmask = ntohl(ifn->if_netmask.s_addr); /* host order */ 525 * set initial count to first bit set in netmask, with 529 for (mask = netmask; mask && ((mask & 1) == 0); mask >>= 1) 534 * than the inherent netmask for the class (A, B, C, etc). 546 * We assume that the netmask consists of a contiguous 560 while (netmask && count < subnet_count) { 561 if ((netmask & clnt_addr) == (netmask & if_addr)) [all...] |
| /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.sbin/ifconfig/ |
| ifconfig.c | 220 /* Refer to the comments in ifconfig() on the netmask "hack" */ 221 #define NETMASK_CMD "netmask" 689 * such as address, netmask, broadcast, ... is set separately. But 691 * example, setting an address without a netmask does not make sense. 693 * ifconfig(1M) syntax. The kernel then "infers" the correct netmask 698 * the netmask command first. Then use this netmask to set the 702 * Note that if the "netmask" command argument is a "+", we need 720 /* Only go thru the command list once to find the netmask. */ 724 * Currently, if multiple netmask commands are specified, th 907 struct sockaddr_storage netmask; local 1291 struct sockaddr_in netmask; local 3077 struct sockaddr_in netmask = { AF_INET }; local 3286 struct sockaddr_in netmask = { AF_INET }; local [all...] |
| /onnv/onnv-gate/usr/src/lib/libsldap/common/ |
| ns_common.c | 56 struct in_addr addr, netmask; member in struct:ifinfo 680 struct in_addr netmask; local 732 netmask = ((struct sockaddr_in *)&ifreq.ifr_addr)->sin_addr; 740 localinfo[i].netmask = netmask; 781 if ((iaddr & ifs[i].netmask.s_addr) == 783 ifs[i].netmask.s_addr)) [all...] |
| /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
| options.c | 87 u_int32_t netmask = 0; /* IP netmask to set on interface */ variable 266 { "netmask", o_special, (void *)setnetmask, 267 "set netmask" }, [all...] |
| /onnv/onnv-gate/usr/src/uts/common/io/mac/ |
| mac_flow.c | 1934 in6_addr_t *addr, *netmask; local [all...] |