Home
last modified time | relevance | path

Searched refs:domain (Results 1 – 18 of 18) 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_strscpy(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.c41 bool tipc_in_scope(bool legacy_format, u32 domain, u32 addr) in tipc_in_scope() argument
43 if (!domain || (domain == addr)) in tipc_in_scope()
47 if (domain == tipc_cluster_mask(addr)) /* domain <Z.C.0> */ in tipc_in_scope()
49 if (domain == (addr & TIPC_ZONE_CLUSTER_MASK)) /* domain <Z.C.0> */ in tipc_in_scope()
51 if (domain == (addr & TIPC_ZONE_MASK)) /* domain <Z.0.0> */ in tipc_in_scope()
Ddiscover.c66 u32 domain; member
85 u32 dest_domain = b->domain; in tipc_disc_init_msg()
248 if (!tipc_in_scope(legacy, b->domain, src)) in tipc_disc_rcv()
305 if (tipc_node(d->domain) && d->num_nodes) { in tipc_disc_timeout()
374 d->domain = b->domain; in tipc_disc_create()
411 d->domain = b->domain; in tipc_disc_reset()
Dmonitor.c77 struct tipc_mon_domain *domain; member
216 struct tipc_mon_domain *dom_aft = peer->domain; in mon_identify_lost_members()
248 struct tipc_mon_domain *dom = peer->domain; in mon_apply_domain()
274 struct tipc_mon_domain *dom = self->domain; in mon_update_local_domain()
369 kfree(peer->domain); in tipc_mon_remove_peer()
380 kfree(peer->domain); in tipc_mon_remove_peer()
381 peer->domain = NULL; in tipc_mon_remove_peer()
461 dom = peer->domain; in tipc_mon_peer_down()
462 peer->domain = NULL; in tipc_mon_peer_down()
538 dom = peer->domain; in tipc_mon_rcv()
[all …]
Daddr.h130 bool tipc_in_scope(bool legacy_format, u32 domain, u32 addr);
Dbearer.c341 b->domain = disc_domain; in tipc_enable_bearer()
1011 u32 domain = 0; in __tipc_nl_bearer_enable() local
1031 domain = nla_get_u32(attrs[TIPC_NLA_BEARER_DOMAIN]); in __tipc_nl_bearer_enable()
1045 return tipc_enable_bearer(net, bearer, domain, prio, attrs, in __tipc_nl_bearer_enable()
Dbearer.h170 u32 domain; member
Dsocket.c768 addr->addr.name.domain = 0; in tipc_getname()
1710 srcaddr->sock.addr.name.domain = 0; in tipc_sk_set_orig_addr()
1722 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_cfm.c507 if (create->domain == BR_CFM_VLAN) { in br_cfm_mep_create()
512 if (create->domain != BR_CFM_PORT) { in br_cfm_mep_create()
541 if (create->domain == BR_CFM_PORT) { in br_cfm_mep_create()
Dbr_private_cfm.h10 enum br_cfm_domain domain; /* Domain for this MEP */ member
Dbr_private_mrp.h118 __u8 domain[MRP_DOMAIN_UUID_LENGTH]; member
Dbr_cfm_netlink.c123 create.domain = nla_get_u32(tb[IFLA_BRIDGE_CFM_MEP_CREATE_DOMAIN]); in br_mep_create_parse()
471 mep->create.domain)) in br_cfm_config_fill_info()
Dbr_mrp.c179 memset(hdr->domain, 0xff, MRP_DOMAIN_UUID_LENGTH); in br_mrp_skb_common()