Home
last modified time | relevance | path

Searched refs:domain (Results 1 – 15 of 15) sorted by relevance

/net/netlabel/
Dnetlabel_domainhash.c90 kfree(ptr->domain); in netlbl_domhsh_free_entry()
137 static struct netlbl_dom_map *netlbl_domhsh_search(const char *domain, in netlbl_domhsh_search() argument
144 if (domain != NULL) { in netlbl_domhsh_search()
145 bkt = netlbl_domhsh_hash(domain); in netlbl_domhsh_search()
151 strcmp(iter->domain, domain) == 0) in netlbl_domhsh_search()
172 static struct netlbl_dom_map *netlbl_domhsh_search_def(const char *domain, in netlbl_domhsh_search_def() argument
177 entry = netlbl_domhsh_search(domain, family); in netlbl_domhsh_search_def()
222 entry->domain ? entry->domain : "(default)"); in netlbl_domhsh_audit_add()
427 if (entry->domain != NULL) in netlbl_domhsh_add()
428 entry_old = netlbl_domhsh_search(entry->domain, entry->family); in netlbl_domhsh_add()
[all …]
Dnetlabel_domainhash.h59 char *domain; member
78 int netlbl_domhsh_remove_af4(const char *domain,
82 int netlbl_domhsh_remove_af6(const char *domain,
86 int netlbl_domhsh_remove(const char *domain, u16 family,
89 struct netlbl_dom_map *netlbl_domhsh_getentry(const char *domain, u16 family);
90 struct netlbl_dommap_def *netlbl_domhsh_getentry_af4(const char *domain,
93 struct netlbl_dommap_def *netlbl_domhsh_getentry_af6(const char *domain,
95 int netlbl_domhsh_remove_af6(const char *domain,
Dnetlabel_kapi.c56 int netlbl_cfg_map_del(const char *domain, in netlbl_cfg_map_del() argument
63 return netlbl_domhsh_remove(domain, family, audit_info); in netlbl_cfg_map_del()
67 return netlbl_domhsh_remove_af4(domain, addr, mask, in netlbl_cfg_map_del()
71 return netlbl_domhsh_remove_af6(domain, addr, mask, in netlbl_cfg_map_del()
95 int netlbl_cfg_unlbl_map_add(const char *domain, in netlbl_cfg_unlbl_map_add() argument
110 if (domain != NULL) { in netlbl_cfg_unlbl_map_add()
111 entry->domain = kstrdup(domain, GFP_ATOMIC); in netlbl_cfg_unlbl_map_add()
112 if (entry->domain == NULL) in netlbl_cfg_unlbl_map_add()
183 kfree(entry->domain); in netlbl_cfg_unlbl_map_add()
324 const char *domain, in netlbl_cfg_cipsov4_map_add() argument
[all …]
Dnetlabel_mgmt.c94 entry->domain = kmalloc(tmp_size, GFP_KERNEL); in netlbl_mgmt_add_common()
95 if (entry->domain == NULL) { in netlbl_mgmt_add_common()
99 nla_strlcpy(entry->domain, in netlbl_mgmt_add_common()
264 kfree(entry->domain); in netlbl_mgmt_add_common()
292 if (entry->domain != NULL) { in netlbl_mgmt_listentry()
294 NLBL_MGMT_A_DOMAIN, entry->domain); in netlbl_mgmt_listentry()
455 char *domain; in netlbl_mgmt_remove() local
463 domain = nla_data(info->attrs[NLBL_MGMT_A_DOMAIN]); in netlbl_mgmt_remove()
464 return netlbl_domhsh_remove(domain, AF_UNSPEC, &audit_info); in netlbl_mgmt_remove()
/net/tipc/
Daddr.c40 bool tipc_in_scope(bool legacy_format, u32 domain, u32 addr) in tipc_in_scope() argument
42 if (!domain || (domain == addr)) in tipc_in_scope()
46 if (domain == tipc_cluster_mask(addr)) /* domain <Z.C.0> */ in tipc_in_scope()
48 if (domain == (addr & TIPC_ZONE_CLUSTER_MASK)) /* domain <Z.C.0> */ in tipc_in_scope()
50 if (domain == (addr & TIPC_ZONE_MASK)) /* domain <Z.0.0> */ in tipc_in_scope()
Dmonitor.c77 struct tipc_mon_domain *domain; member
186 struct tipc_mon_domain *dom_aft = peer->domain; in mon_identify_lost_members()
218 struct tipc_mon_domain *dom = peer->domain; in mon_apply_domain()
244 struct tipc_mon_domain *dom = self->domain; in mon_update_local_domain()
339 kfree(peer->domain); in tipc_mon_remove_peer()
350 kfree(peer->domain); in tipc_mon_remove_peer()
351 peer->domain = NULL; in tipc_mon_remove_peer()
431 dom = peer->domain; in tipc_mon_peer_down()
432 peer->domain = NULL; in tipc_mon_peer_down()
507 dom = peer->domain; in tipc_mon_rcv()
[all …]
Ddiscover.c66 u32 domain; member
84 u32 dest_domain = b->domain; in tipc_disc_init_msg()
247 if (!tipc_in_scope(legacy, b->domain, src)) in tipc_disc_rcv()
304 if (tipc_node(d->domain) && d->num_nodes) { in tipc_disc_timeout()
373 d->domain = b->domain; in tipc_disc_create()
410 d->domain = b->domain; in tipc_disc_reset()
Dname_table.h122 u32 type, u32 domain);
125 bool tipc_nametbl_lookup(struct net *net, u32 type, u32 instance, u32 domain,
Daddr.h85 bool tipc_in_scope(bool legacy_format, u32 domain, u32 addr);
Dbearer.c331 b->domain = disc_domain; in tipc_enable_bearer()
982 u32 domain = 0; in __tipc_nl_bearer_enable() local
1002 domain = nla_get_u32(attrs[TIPC_NLA_BEARER_DOMAIN]); in __tipc_nl_bearer_enable()
1016 return tipc_enable_bearer(net, bearer, domain, prio, attrs, in __tipc_nl_bearer_enable()
Dbearer.h169 u32 domain; member
Dsocket.c745 addr->addr.name.domain = 0; in tipc_getname()
1463 dnode = dest->addr.name.domain; in __tipc_sendmsg()
1701 srcaddr->sock.addr.name.domain = 0; in tipc_sk_set_orig_addr()
1713 srcaddr->member.addr.name.domain = 0; in tipc_sk_set_orig_addr()
/net/unix/
DKconfig7 tristate "Unix domain sockets"
9 If you say Y here, you will include support for Unix domain sockets;
/net/sunrpc/auth_gss/
Dgss_mech_switch.c40 if (pf->domain) in gss_mech_free()
41 auth_domain_put(pf->domain); in gss_mech_free()
80 pf->domain = dom; in gss_mech_svc_setup()
/net/bridge/
Dbr_mrp.c172 memset(hdr->domain, 0xff, MRP_DOMAIN_UUID_LENGTH); in br_mrp_skb_common()