Lines Matching refs:in_addr_t
62 const in_addr_t ip,
63 const in_addr_t netmask,
153 ifconfig_sanity_check (bool tun, in_addr_t addr, int topology)
176 static in_addr_t
177 generate_ifconfig_broadcast_addr (in_addr_t local,
178 in_addr_t netmask)
190 in_addr_t public,
191 in_addr_t local,
192 in_addr_t remote_netmask)
207 const in_addr_t test_netmask = 0xFFFFFF00;
208 const in_addr_t public_net = public & test_netmask;
209 const in_addr_t local_net = local & test_netmask;
210 const in_addr_t remote_net = remote_netmask & test_netmask;
232 const in_addr_t public_network = public & remote_netmask;
233 const in_addr_t virtual_network = local & remote_netmask;
255 check_subnet_conflict (const in_addr_t ip,
256 const in_addr_t netmask,
261 in_addr_t lan_gw = 0;
262 in_addr_t lan_netmask = 0;
266 const in_addr_t lan_network = lan_gw & lan_netmask;
267 const in_addr_t network = ip & netmask;
295 const in_addr_t lan_network = rgi.gateway.addr & rgi.gateway.netmask;
407 in_addr_t local_public,
408 in_addr_t remote_public,
2933 verify_255_255_255_252 (in_addr_t local, in_addr_t remote)
3383 get_adapter_ip_netmask (const IP_ADAPTER_INFO *ai, const int n, in_addr_t *ip, in_addr_t *netmask)
3423 test_adapter_ip_netmask (const IP_ADAPTER_INFO *ai, const in_addr_t ip, const in_addr_t netmask)
3427 in_addr_t ip_adapter = 0;
3428 in_addr_t netmask_adapter = 0;
3460 in_addr_t ip, netmask;
3485 is_ip_in_adapter_subnet (const IP_ADAPTER_INFO *ai, const in_addr_t ip, in_addr_t *highest_netmask)
3498 in_addr_t adapter_ip, adapter_netmask;
3515 const in_addr_t ip,
3517 in_addr_t *netmask)
3521 in_addr_t highest_netmask = 0;
3529 in_addr_t hn;
4043 ip_addr_string_to_array (in_addr_t *dest, int *dest_len, const IP_ADDR_STRING *src)
4050 in_addr_t ip = 0;
4081 ip_addr_one_to_one (const in_addr_t *a1, const int a1len, const IP_ADDR_STRING *ias)
4083 in_addr_t a2[8];
4101 ip_addr_member_of (const in_addr_t addr, const IP_ADDR_STRING *ias)
4103 in_addr_t aa[8];
4118 const in_addr_t *addr_list,
4205 const in_addr_t ip,
4206 const in_addr_t netmask,
4500 dhcp_masq_addr (const in_addr_t local, const in_addr_t netmask, const int offset)
4503 in_addr_t dsa; /* DHCP server addr */
4733 in_addr_t ep[3];
4752 in_addr_t ep[2];