Searched refs:domain (Results 1 - 13 of 13) sorted by relevance

/net/tipc/
H A Daddr.c41 * tipc_addr_domain_valid - validates a network domain address
46 * Returns 1 if domain address is valid, otherwise 0
73 int tipc_in_scope(u32 domain, u32 addr) argument
75 if (!domain || (domain == addr))
77 if (domain == tipc_cluster_mask(addr)) /* domain <Z.C.0> */
79 if (domain == tipc_zone_mask(addr)) /* domain <Z.0.0> */
85 * tipc_addr_scope - convert message lookup domain t
87 tipc_addr_scope(u32 domain) argument
[all...]
H A Daddr.h75 * addr_domain - convert 2-bit scope value to equivalent message lookup domain
91 int tipc_in_scope(u32 domain, u32 addr);
92 int tipc_addr_scope(u32 domain);
H A Dnode.c332 u32 domain; local
341 domain = ntohl(*(__be32 *)TLV_DATA(req_tlv_area));
342 if (!tipc_addr_domain_valid(domain))
367 if (!tipc_in_scope(domain, n_ptr->addr))
381 u32 domain; local
390 domain = ntohl(*(__be32 *)TLV_DATA(req_tlv_area));
391 if (!tipc_addr_domain_valid(domain))
424 if (!tipc_in_scope(domain, n_ptr->addr))
H A Ddiscover.c51 * @domain: network domain to which links can be established
60 u32 domain; member in struct:tipc_link_req
70 * @dest_domain: network domain of node(s) which should respond to message
151 if (!tipc_in_scope(b_ptr->link_req->domain, orig))
314 if (tipc_node(req->domain) && req->num_nodes) {
345 * @dest_domain: network domain to which links can be established
366 req->domain = dest_domain;
H A Dconfig.c269 u32 domain = 0; local
271 if ((tipc_nametbl_translate(TIPC_ZM_SRV, 0, &domain) == 0) ||
272 (domain != orig_node)) {
H A Dport.h215 int tipc_send2name(u32 portref, struct tipc_name const *name, u32 domain,
H A Dport.c1234 int tipc_send2name(u32 ref, struct tipc_name const *name, unsigned int domain, argument
1240 u32 destnode = domain;
1253 msg_set_lookup_scope(msg, tipc_addr_scope(domain));
H A Dsocket.c370 addr->addr.name.domain = 0;
545 dest->addr.name.domain,
796 addr->addr.name.domain = 0; /* could leave uninitialized */
/net/netlabel/
H A Dnetlabel_domainhash.h4 * This file manages the domain hash table that NetLabel uses to determine
5 * which network labeling protocol to use for a given domain. The NetLabel
71 char *domain; member in struct:netlbl_dom_map
86 /* Manipulate the domain hash table */
93 int netlbl_domhsh_remove_af4(const char *domain,
97 int netlbl_domhsh_remove(const char *domain, struct netlbl_audit *audit_info);
99 struct netlbl_dom_map *netlbl_domhsh_getentry(const char *domain);
100 struct netlbl_domaddr4_map *netlbl_domhsh_getentry_af4(const char *domain,
108 struct netlbl_domaddr6_map *netlbl_domhsh_getentry_af6(const char *domain,
H A Dnetlabel_domainhash.c4 * This file manages the domain hash table that NetLabel uses to determine
5 * which network labeling protocol to use for a given domain. The NetLabel
67 * netlbl_domhsh_free_entry - Frees a domain hash table entry
101 kfree(ptr->domain);
106 * netlbl_domhsh_hash - Hashing function for the domain hash table
107 * @domain: the domain name to hash
110 * This is the hashing function for the domain hash table, it returns the
111 * correct bucket number for the domain. The caller is responsible for
131 * netlbl_domhsh_search - Search for a domain entr
141 netlbl_domhsh_search(const char *domain) argument
171 netlbl_domhsh_search_def(const char *domain) argument
574 netlbl_domhsh_remove_af4(const char *domain, const struct in_addr *addr, const struct in_addr *mask, struct netlbl_audit *audit_info) argument
639 netlbl_domhsh_remove(const char *domain, struct netlbl_audit *audit_info) argument
680 netlbl_domhsh_getentry(const char *domain) argument
696 netlbl_domhsh_getentry_af4(const char *domain, __be32 addr) argument
728 netlbl_domhsh_getentry_af6(const char *domain, const struct in6_addr *addr) argument
[all...]
H A Dnetlabel_kapi.c56 * netlbl_cfg_map_del - Remove a NetLabel/LSM domain mapping
57 * @domain: the domain mapping to remove
64 * Removes a NetLabel/LSM domain mapping. A @domain value of NULL causes the
65 * default domain mapping to be removed. Returns zero on success, negative
69 int netlbl_cfg_map_del(const char *domain, argument
76 return netlbl_domhsh_remove(domain, audit_info);
80 return netlbl_domhsh_remove_af4(domain, addr, mask,
91 * @domain
103 netlbl_cfg_unlbl_map_add(const char *domain, u16 family, const void *addr, const void *mask, struct netlbl_audit *audit_info) argument
332 netlbl_cfg_cipsov4_map_add(u32 doi, const char *domain, const struct in_addr *addr, const struct in_addr *mask, struct netlbl_audit *audit_info) argument
[all...]
H A Dnetlabel_mgmt.c88 * Helper function for the ADD and ADDDEF messages to add the domain mappings
110 entry->domain = kmalloc(tmp_size, GFP_KERNEL);
111 if (entry->domain == NULL) {
115 nla_strlcpy(entry->domain,
249 kfree(entry->domain);
256 * netlbl_mgmt_listentry - List a NetLabel/LSM domain map entry
277 if (entry->domain != NULL) {
279 NLBL_MGMT_A_DOMAIN, entry->domain);
415 * Process a user generated REMOVE message and remove the specified domain
421 char *domain; local
[all...]
/net/unix/
H A DKconfig6 tristate "Unix domain sockets"
8 If you say Y here, you will include support for Unix domain sockets;

Completed in 113 milliseconds