OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:bnodecon
(Results
1 - 2
of
2
) sorted by null
/external/selinux/libsepol/cil/test/unit/
test_cil_post.c
407
struct cil_nodecon *
bnodecon
;
local
408
cil_nodecon_init(&
bnodecon
);
409
cil_ipaddr_init(&
bnodecon
->addr);
410
cil_ipaddr_init(&
bnodecon
->mask);
416
bnodecon
->addr->ip.v4.s_addr = 100;
417
bnodecon
->mask->ip.v4.s_addr = 100;
418
bnodecon
->addr->family = AF_INET6;
420
int rc = cil_post_nodecon_compare(&anodecon, &
bnodecon
);
430
struct cil_nodecon *
bnodecon
;
local
431
cil_nodecon_init(&
bnodecon
);
453
struct cil_nodecon *
bnodecon
;
local
476
struct cil_nodecon *
bnodecon
;
local
499
struct cil_nodecon *
bnodecon
;
local
522
struct cil_nodecon *
bnodecon
;
local
545
struct cil_nodecon *
bnodecon
;
local
568
struct cil_nodecon *
bnodecon
;
local
591
struct cil_nodecon *
bnodecon
;
local
614
struct cil_nodecon *
bnodecon
;
local
[
all
...]
/external/selinux/libsepol/cil/src/
cil_post.c
198
struct cil_nodecon *
bnodecon
;
local
200
bnodecon
= *(struct cil_nodecon**)b;
203
if (anodecon->addr->family !=
bnodecon
->addr->family) {
213
int rc = memcmp(&anodecon->mask->ip.v4, &
bnodecon
->mask->ip.v4, sizeof(anodecon->mask->ip.v4));
217
return memcmp(&anodecon->addr->ip.v4, &
bnodecon
->addr->ip.v4, sizeof(anodecon->addr->ip.v4));
219
int rc = memcmp(&anodecon->mask->ip.v6, &
bnodecon
->mask->ip.v6, sizeof(anodecon->mask->ip.v6));
223
return memcmp(&anodecon->addr->ip.v6, &
bnodecon
->addr->ip.v6, sizeof(anodecon->addr->ip.v6));
[
all
...]
Completed in 39 milliseconds