OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:anodecon
(Results
1 - 2
of
2
) sorted by null
/external/selinux/libsepol/cil/test/unit/
test_cil_post.c
402
struct cil_nodecon *
anodecon
;
local
403
cil_nodecon_init(&
anodecon
);
404
cil_ipaddr_init(&
anodecon
->addr);
405
cil_ipaddr_init(&
anodecon
->mask);
412
anodecon
->addr->ip.v4.s_addr = 103;
413
anodecon
->mask->ip.v4.s_addr = 100;
414
anodecon
->addr->family = AF_INET;
420
int rc = cil_post_nodecon_compare(&
anodecon
, &bnodecon);
425
struct cil_nodecon *
anodecon
;
local
426
cil_nodecon_init(&
anodecon
);
448
struct cil_nodecon *
anodecon
;
local
471
struct cil_nodecon *
anodecon
;
local
494
struct cil_nodecon *
anodecon
;
local
517
struct cil_nodecon *
anodecon
;
local
540
struct cil_nodecon *
anodecon
;
local
563
struct cil_nodecon *
anodecon
;
local
586
struct cil_nodecon *
anodecon
;
local
609
struct cil_nodecon *
anodecon
;
local
[
all
...]
/external/selinux/libsepol/cil/src/
cil_post.c
197
struct cil_nodecon *
anodecon
;
local
199
anodecon
= *(struct cil_nodecon**)a;
203
if (
anodecon
->addr->family != bnodecon->addr->family) {
204
if (
anodecon
->addr->family == AF_INET) {
212
if (
anodecon
->addr->family == AF_INET) {
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))
[
all
...]
Completed in 33 milliseconds