/net/netlabel/ |
D | netlabel_domainhash.c | 90 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 …]
|
D | netlabel_domainhash.h | 59 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,
|
D | netlabel_kapi.c | 56 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 …]
|
D | netlabel_mgmt.c | 94 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/ |
D | addr.c | 41 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()
|
D | discover.c | 66 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()
|
D | monitor.c | 77 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 …]
|
D | addr.h | 130 bool tipc_in_scope(bool legacy_format, u32 domain, u32 addr);
|
D | bearer.c | 341 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()
|
D | bearer.h | 170 u32 domain; member
|
D | socket.c | 768 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/ |
D | Kconfig | 7 tristate "Unix domain sockets" 9 If you say Y here, you will include support for Unix domain sockets;
|
/net/sunrpc/auth_gss/ |
D | gss_mech_switch.c | 40 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/ |
D | br_cfm.c | 507 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()
|
D | br_private_cfm.h | 10 enum br_cfm_domain domain; /* Domain for this MEP */ member
|
D | br_private_mrp.h | 118 __u8 domain[MRP_DOMAIN_UUID_LENGTH]; member
|
D | br_cfm_netlink.c | 123 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()
|
D | br_mrp.c | 179 memset(hdr->domain, 0xff, MRP_DOMAIN_UUID_LENGTH); in br_mrp_skb_common()
|