/netbsd-src/external/mpl/dhcp/dist/common/ |
H A D | comapi.c | 45 OMAPI_OBJECT_ALLOC (shared_network, struct shared_network, 124 sizeof (struct shared_network), 0, RC_MISC); in dhcp_common_objects_setup() 670 if (subnet -> shared_network) in dhcp_subnet_destroy() 671 shared_network_dereference (&subnet -> shared_network, in dhcp_subnet_destroy() 808 struct shared_network *shared_network; in dhcp_shared_network_destroy() local 813 shared_network = (struct shared_network *)h; in dhcp_shared_network_destroy() 814 if (shared_network -> next) in dhcp_shared_network_destroy() 815 shared_network_dereference (&shared_network -> next, in dhcp_shared_network_destroy() 817 if (shared_network -> name) { in dhcp_shared_network_destroy() 818 dfree (shared_network -> name, file, line); in dhcp_shared_network_destroy() [all …]
|
H A D | upf.c | 135 (info -> shared_network ? "/" : ""), 136 (info -> shared_network ? 137 info -> shared_network -> name : "")); 153 (info -> shared_network ? "/" : ""), 154 (info -> shared_network ? 155 info -> shared_network -> name : "")); 222 (info -> shared_network ? "/" : ""), 223 (info -> shared_network ? 224 info -> shared_network -> name : "")); 238 (info -> shared_network ? "/" : ""), [all …]
|
H A D | socket.c | 378 (info->shared_network ? "/" : ""), 379 (info->shared_network ? 380 info->shared_network->name : "")); 395 (info -> shared_network ? "/" : ""), 396 (info -> shared_network ? 397 info -> shared_network -> name : "")); 434 (info->shared_network ? "/" : ""), 435 (info->shared_network ? 436 info->shared_network->name : "")); 463 (info -> shared_network ? "/" : ""), [all …]
|
H A D | nit.c | 150 (info -> shared_network ? "/" : ""), 151 (info -> shared_network ? 152 info -> shared_network -> name : "")); 169 (info -> shared_network ? "/" : ""), 170 (info -> shared_network ? 171 info -> shared_network -> name : "")); 257 (info -> shared_network ? "/" : ""), 258 (info -> shared_network ? 259 info -> shared_network -> name : "")); 275 (info -> shared_network ? "/" : ""), [all …]
|
H A D | raw.c | 89 (info -> shared_network ? "/" : ""), 90 (info -> shared_network ? 91 info -> shared_network -> name : "")); 103 (info -> shared_network ? "/" : ""), 104 (info -> shared_network ? 105 info -> shared_network -> name : ""));
|
H A D | lpf.c | 151 (info -> shared_network ? "/" : ""), 152 (info -> shared_network ? 153 info -> shared_network -> name : "")); 173 (info -> shared_network ? "/" : ""), 174 (info -> shared_network ? 175 info -> shared_network -> name : "")); 231 (info -> shared_network ? "/" : ""), 232 (info -> shared_network ? 233 info -> shared_network -> name : "")); 249 (info -> shared_network ? "/" : ""), [all …]
|
H A D | bpf.c | 148 (info -> shared_network ? "/" : ""), 149 (info -> shared_network ? 150 info -> shared_network -> name : "")); 169 (info -> shared_network ? "/" : ""), 170 (info -> shared_network ? 171 info -> shared_network -> name : "")); 379 (info -> shared_network ? "/" : ""), 380 (info -> shared_network ? 381 info -> shared_network -> name : "")); 396 (info -> shared_network ? "/" : ""), [all …]
|
H A D | ctrace.c | 127 (ip -> shared_network ? "/" : ""), in trace_interface_input() 128 (ip -> shared_network ? in trace_interface_input() 129 ip -> shared_network -> name : "")); in trace_interface_input() 136 (ip -> shared_network ? "/" : ""), in trace_interface_input() 137 (ip -> shared_network ? in trace_interface_input() 138 ip -> shared_network -> name : "")); in trace_interface_input()
|
H A D | dlpi.c | 376 (info -> shared_network ? "/" : ""), 377 (info -> shared_network ? 378 info -> shared_network -> name : "")); 406 (info -> shared_network ? "/" : ""), 407 (info -> shared_network ? 408 info -> shared_network -> name : "")); 495 (info -> shared_network ? "/" : ""), 496 (info -> shared_network ? 497 info -> shared_network -> name : "")); 525 (info -> shared_network ? "/" : ""), [all …]
|
H A D | discover.c | 813 if (!tmp->shared_network && (state == DISCOVER_SERVER)) { 870 for (subnet = (tmp -> shared_network 871 ? tmp -> shared_network -> subnets 1295 if (interface -> shared_network) 1297 &interface -> shared_network, MDL);
|
H A D | alloc.c | 249 if (group -> shared_network) 250 shared_network_dereference (&group -> shared_network, 1126 if (packet -> shared_network) 1127 shared_network_dereference (&packet -> shared_network, MDL);
|
/netbsd-src/external/mpl/dhcp/dist/server/ |
H A D | dhcp.c | 310 find_lease (&lease, packet, packet -> shared_network, 354 if (!packet -> shared_network) { 401 packet -> shared_network -> pools, 409 packet -> shared_network -> name); 502 subnet -> shared_network, &ours, 0, ip_lease, MDL); 720 if (!packet -> shared_network || 728 if (!packet -> shared_network) { 745 if (!find_grouped_subnet (&subnet, packet -> shared_network, 747 if (packet -> shared_network -> group -> authoritative) 1289 cip_lease->pool->shared_network->group, [all …]
|
H A D | confpars.c | 370 struct shared_network *share; 455 if (group->shared_network != NULL) { 458 group->shared_network); 461 group->shared_network); 481 shared_network_reference (&share -> group -> shared_network, 947 (&group -> shared_network -> failover_peer, 1200 group->shared_network->failover_peer = peer; 1746 shared_network_reference(&pool->shared_network, 1747 group->subnet->shared_network, 1750 shared_network_reference(&pool->shared_network, [all …]
|
H A D | bootp.c | 80 find_lease (&lease, packet, packet -> shared_network, 117 packet -> shared_network -> pools, 308 if ((lease->subnet->shared_network->interface != NULL) && 309 lease->subnet->shared_network->interface->address_count) 311 lease->subnet->shared_network->interface->addresses[0];
|
H A D | mdb.c | 38 struct shared_network *shared_networks; 741 struct iaddr *addr, struct shared_network *share) in find_host_for_network() 799 struct shared_network *share = subnet -> shared_network; 958 struct shared_network *share, struct iaddr addr, in find_grouped_subnet() 1060 struct shared_network *share; in enter_shared_network() 1072 struct shared_network *share; 1105 shared_network_reference (&ip -> shared_network, share, MDL); 2399 struct shared_network *s; in write_leases4() 2841 struct shared_network *s; 2940 struct shared_network *s; [all …]
|
H A D | dhcpd.c | 1619 struct shared_network *share; in dhcpd_interface_setup_hook() 1626 status = shared_network_allocate (&ip -> shared_network, MDL); in dhcpd_interface_setup_hook() 1630 ip -> shared_network -> name = dmalloc (strlen (fnn) + 1, MDL); in dhcpd_interface_setup_hook() 1631 if (!ip -> shared_network -> name) in dhcpd_interface_setup_hook() 1633 strcpy (ip -> shared_network -> name, fnn); in dhcpd_interface_setup_hook() 1651 share = subnet -> shared_network; in dhcpd_interface_setup_hook() 1652 if (ip -> shared_network && in dhcpd_interface_setup_hook() 1653 ip -> shared_network != share) { in dhcpd_interface_setup_hook() 1657 if (!ip -> shared_network) in dhcpd_interface_setup_hook() 1659 (&ip -> shared_network, share, MDL); in dhcpd_interface_setup_hook()
|
H A D | salloc.c | 212 if (ptr -> shared_network) 213 shared_network_dereference (&ptr -> shared_network,
|
H A D | dhcpv6.c | 69 struct shared_network *shared; 128 static isc_result_t shared_network_from_packet6(struct shared_network **shared, 131 struct shared_network *shared); 133 struct shared_network *shared); 184 static isc_result_t shared_network_from_requested_addr (struct shared_network 1009 if ((pond->shared_network != NULL) && in check_pool6_threshold() 1010 (pond->shared_network->name != NULL)) { in check_pool6_threshold() 1011 shared_name = pond->shared_network->name; in check_pool6_threshold() 3643 struct shared_network *candidate_shared; 3647 candidate_shared = lease->ipv6_pool->shared_network; [all …]
|
H A D | failover.c | 1803 struct shared_network *s; in dhcp_failover_set_state() 2527 struct shared_network *s; in dhcp_failover_pool_dobalance() 2596 (p->shared_network ? in dhcp_failover_pool_dobalance() 2597 p->shared_network->name : ""), p->lease_count, in dhcp_failover_pool_dobalance() 2689 (p->shared_network ? in dhcp_failover_pool_dobalance() 2690 p->shared_network->name : ""), p->lease_count, in dhcp_failover_pool_dobalance() 2804 struct shared_network *s; in dhcp_failover_state_pool_check() 5697 struct shared_network *s; in dhcp_failover_generate_update_queue()
|
H A D | omapi.c | 1671 if (pool -> shared_network) in dhcp_pool_destroy() 1672 shared_network_dereference (&pool -> shared_network, file, line); in dhcp_pool_destroy()
|
H A D | mdb6.c | 2708 struct shared_network* s; in report_jumbo_ranges()
|
H A D | ldap.c | 2986 snprintf(buf1, sizeof(buf1), "cn=%s,%s", packet->interface->shared_network->name, curr->dn); in find_client_in_ldap()
|
/netbsd-src/external/mpl/dhcp/dist/includes/ |
H A D | dhcpd.h | 450 struct shared_network *shared_network; member 670 struct shared_network *shared_network; /* Shared network of interface member 966 struct shared_network *shared_network; member 1031 struct shared_network *shared_network; member 1055 struct shared_network { struct 1057 struct shared_network *next; argument 1077 struct shared_network *shared_network; argument 1379 struct shared_network *shared_network; member 1722 struct shared_network *shared_network; /* shared_network for member 1743 struct shared_network *shared_network; /* backpointer to the enclosing member [all …]
|
/netbsd-src/external/mpl/dhcp/dist/ |
H A D | RELNOTES | 4213 - Don't rerun the shared_network when evaluating the pool.
|