Searched refs:subnetmask (Results 1 – 2 of 2) sorted by relevance
1036 struct in_addr subnetmask; in generate_classful_subnet() local1040 subnetmask.s_addr = IN_CLASSA_NET; in generate_classful_subnet()1042 subnetmask.s_addr = IN_CLASSB_NET; in generate_classful_subnet()1044 subnetmask.s_addr = IN_CLASSC_NET; in generate_classful_subnet()1046 subnetmask.s_addr = IN_CLASSE_NET; in generate_classful_subnet()1049 netstr = inet_ntoa(subnetmask); in generate_classful_subnet()1052 return (subnetmask.s_addr); in generate_classful_subnet()1083 static in_addr_t subnetmask, clnet; in config_incomplete() local1117 if ((subnetmask = inet_addr(buf)) == (in_addr_t)-1) { in config_incomplete()1124 subnetmask = generate_classful_subnet(client_ipaddr); in config_incomplete()[all …]
15658 ipaddr_t subnetmask = ipif->ipif_net_mask; in ipif_create_bcast_ires() local15683 if (netmask < subnetmask) { in ipif_create_bcast_ires()15695 if (subnetmask != 0xFFFFFFFF) { in ipif_create_bcast_ires()15698 irep = ire_create_bcast(ill, ~subnetmask | addr, zoneid, irep); in ipif_create_bcast_ires()15712 ipaddr_t subnetmask = ipif->ipif_net_mask; in ipif_delete_bcast_ires() local15740 if (netmask < subnetmask) { in ipif_delete_bcast_ires()15756 if (subnetmask != 0xFFFFFFFF) { in ipif_delete_bcast_ires()15761 ire = ire_lookup_bcast(ill, ~subnetmask | addr, zoneid); in ipif_delete_bcast_ires()