Home
last modified time | relevance | path

Searched refs:host_decl (Results 1 – 14 of 14) sorted by relevance

/netbsd-src/external/mpl/dhcp/dist/server/
H A Dsalloc.c148 OMAPI_OBJECT_ALLOC (host, struct host_decl, dhcp_type_host)
150 isc_result_t host_allocate (struct host_decl **p, const char *file, int line)
156 isc_result_t host_reference (struct host_decl **pptr, struct host_decl *ptr,
163 isc_result_t host_dereference (struct host_decl **ptr,
H A Dmdb.c171 struct host_decl *h;
175 h = (struct host_decl *)value;
188 change_host_uid(struct host_decl *host, const char *uid, int len) { in change_host_uid()
226 struct host_decl *hd; in enter_host()
230 struct host_decl *hp = (struct host_decl *)0;
231 struct host_decl *np = (struct host_decl *)0;
495 struct host_decl *hd; in delete_host()
498 struct host_decl *hp = (struct host_decl *)0;
499 struct host_decl *np = (struct host_decl *)0;
500 struct host_decl *foo;
[all …]
H A Domapi.c146 sizeof (struct host_decl), in dhcp_db_objects_setup()
936 struct host_decl *host; in dhcp_host_set_value()
941 host = (struct host_decl *)h; in dhcp_host_set_value()
1130 struct host_decl *host; in dhcp_host_get_value()
1136 host = (struct host_decl *)h; in dhcp_host_get_value()
1201 struct host_decl *host = (struct host_decl *)h; in dhcp_host_destroy()
1226 struct host_decl *host; in dhcp_host_signal_handler()
1232 host = (struct host_decl *)h; in dhcp_host_signal_handler()
1275 struct host_decl *host; in dhcp_host_stuff_values()
1281 host = (struct host_decl *)h; in dhcp_host_stuff_values()
[all …]
H A Dbootp.c45 struct host_decl *hp = (struct host_decl *)0;
46 struct host_decl *host = (struct host_decl *)0;
87 struct host_decl *h;
H A Dconfpars.c260 (struct host_decl *)0, in conf_file_subparse()
361 int parse_statement (cfile, group, type, host_decl, declaration) in parse_statement() argument
365 struct host_decl *host_decl;
574 if (host_decl && memcmp(&hardware, &(host_decl->interface),
577 "configured.", host_decl->name);
582 if (host_decl)
583 host_decl -> interface = hardware;
594 if (host_decl) {
595 if (host_decl->fixed_addr) {
601 host_decl->fixed_addr = cache;
[all …]
H A Ddhcp.c451 (struct host_decl *)0);
769 (struct host_decl *)0);
1111 struct host_decl *host = NULL, *hp = NULL, *h;
2180 struct host_decl *hp;
2185 struct host_decl *host = (struct host_decl *)0;
2423 struct host_decl *hp = (struct host_decl *)0;
2424 struct host_decl *h;
4189 struct host_decl *hp = (struct host_decl *)0; in find_lease()
4190 struct host_decl *host = (struct host_decl *)0; in find_lease()
4846 struct host_decl *p = NULL; in find_lease()
[all …]
H A Dmdb6.c2388 struct host_decl *h; in mark_hosts_unavailable_support()
2393 h = (struct host_decl *)value; in mark_hosts_unavailable_support()
2445 struct host_decl *h; in mark_phosts_unavailable_support()
2450 h = (struct host_decl *)value; in mark_phosts_unavailable_support()
2838 find_hosts_by_haddr6(struct host_decl **hp, in find_hosts_by_haddr6()
2914 find_hosts_by_duid_chaddr(struct host_decl **host, in find_hosts_by_duid_chaddr()
2985 find_hosts6(struct host_decl** host, struct packet* packet, in find_hosts6()
H A Dldap.c2487 int type, struct host_decl *host, in ldap_parse_options()
2599 find_haddr_in_ldap (struct host_decl **hp, int htype, unsigned hlen, in find_haddr_in_ldap()
2604 struct host_decl * host; in find_haddr_in_ldap()
2712 host = (struct host_decl *)0; in find_haddr_in_ldap()
2953 int find_client_in_ldap (struct host_decl **hp, struct packet *packet, in find_client_in_ldap()
2958 struct host_decl * host; in find_client_in_ldap()
3062 host = (struct host_decl *)0; in find_client_in_ldap()
H A Ddhcpv6.c70 struct host_decl *host;
130 static void seek_shared_host(struct host_decl **hp,
132 static isc_boolean_t fixed_matches_shared(struct host_decl *host,
5867 struct host_decl *packet_host;
5873 struct host_decl *host;
6376 struct host_decl *packet_host;
6382 struct host_decl *host;
8022 seek_shared_host(struct host_decl **hp, struct shared_network *shared) {
8023 struct host_decl *nofixed = NULL;
8024 struct host_decl *seek, *hold = NULL;
[all …]
H A Ddb.c304 struct host_decl *host; in write_host()
/netbsd-src/external/mpl/dhcp/dist/server/tests/
H A Dhash_unittest.c81 int lease_set_clientid(struct host_decl *host, const unsigned char *uid, int uid_len) { in lease_set_clientid()
124 struct host_decl *host1 = 0, *host2 = 0; in lease_hash_test_2hosts()
125 struct host_decl *check = 0; in lease_hash_test_2hosts()
318 struct host_decl *host1 = 0, *host2 = 0, *host3 = 0; in lease_hash_test_3hosts()
319 struct host_decl *check = 0; in lease_hash_test_3hosts()
/netbsd-src/external/mpl/dhcp/dist/includes/
H A Ddhcpd.h574 struct host_decl *host;
972 struct host_decl { struct
974 struct host_decl *n_ipaddr; argument
975 struct host_decl *n_dynamic; argument
1864 HASH_FUNCTIONS_DECL (host, const unsigned char *, struct host_decl, host_hash_t)
2200 struct host_decl *, int);
2232 void parse_fixed_prefix6(struct parse *cfile, struct host_decl *host_decl);
2433 unsigned int, TIME, char *, int, struct host_decl *);
2443 struct host_decl *);
2503 OMAPI_OBJECT_ALLOC_DECL (host, struct host_decl, dhcp_type_host)
[all …]
/netbsd-src/external/mpl/dhcp/dist/keama/
H A Dconfparse.c600 size_t host_decl = 0; in parse_statement() local
686 if (!host_decl) { in parse_statement()
689 host_decl = i; in parse_statement()
694 if (!host_decl) in parse_statement()
697 if (mapContains(cfile->stack[host_decl], "hw-address")) in parse_statement()
701 mapSet(cfile->stack[host_decl], hardware, "hw-address"); in parse_statement()
703 cfile->stack[host_decl]->skip = ISC_TRUE; in parse_statement()
709 if (!host_decl) { in parse_statement()
712 host_decl = i; in parse_statement()
717 if (!host_decl) in parse_statement()
[all …]
/netbsd-src/external/mpl/dhcp/dist/client/
H A Ddhclient.c1883 struct host_decl *host; in write_host()