/external/libnl/lib/route/ |
rule.c | 107 rule->ce_mask = (RULE_ATTR_FAMILY | RULE_ATTR_TYPE | RULE_ATTR_DSFIELD | 113 rule->ce_mask |= RULE_ATTR_PRIO; 120 rule->ce_mask |= RULE_ATTR_SRC; 127 rule->ce_mask |= RULE_ATTR_DST; 132 rule->ce_mask |= RULE_ATTR_MARK; 137 rule->ce_mask |= RULE_ATTR_IIF; 142 rule->ce_mask |= RULE_ATTR_REALMS; 149 rule->ce_mask |= RULE_ATTR_SRCMAP; 154 rule->ce_mask |= RULE_ATTR_TABLE; 177 nl_dump_line(p, "%8d ", (r->ce_mask & RULE_ATTR_PRIO) ? r->r_prio : 0) [all...] |
nexthop.c | 62 nh->ce_mask = src->ce_mask; 116 if (nh->ce_mask & NH_ATTR_GATEWAY) 120 if(nh->ce_mask & NH_ATTR_IFINDEX) { 142 if (nh->ce_mask & NH_ATTR_GATEWAY) 146 if(nh->ce_mask & NH_ATTR_IFINDEX) { 156 if (nh->ce_mask & NH_ATTR_WEIGHT) 159 if (nh->ce_mask & NH_ATTR_REALMS) 164 if (nh->ce_mask & NH_ATTR_FLAGS) 176 if (nh->ce_mask & NH_ATTR_GATEWAY [all...] |
neightbl.c | 75 if (!(a->ce_mask & NEIGHTBL_ATTR_PARMS) && 76 !(b->ce_mask & NEIGHTBL_ATTR_PARMS)) 151 ntbl->ce_mask |= NEIGHTBL_ATTR_NAME; 155 ntbl->ce_mask |= NEIGHTBL_ATTR_THRESH1; 160 ntbl->ce_mask |= NEIGHTBL_ATTR_THRESH2; 165 ntbl->ce_mask |= NEIGHTBL_ATTR_THRESH3; 170 ntbl->ce_mask |= NEIGHTBL_ATTR_GC_INTERVAL; 176 ntbl->ce_mask |= NEIGHTBL_ATTR_CONFIG; 182 ntbl->ce_mask |= NEIGHTBL_ATTR_STATS; 216 ntbl->ce_mask |= NEIGHTBL_ATTR_PARMS [all...] |
addr.c | 215 addr->ce_mask = (ADDR_ATTR_FAMILY | ADDR_ATTR_PREFIXLEN | 220 addr->ce_mask |= ADDR_ATTR_LABEL; 231 addr->ce_mask |= ADDR_ATTR_CACHEINFO; 238 addr->ce_mask |= ADDR_ATTR_LOCAL; 254 addr->ce_mask |= ADDR_ATTR_LOCAL; 257 addr->ce_mask |= ADDR_ATTR_PEER; 270 addr->ce_mask |= ADDR_ATTR_BROADCAST; 279 addr->ce_mask |= ADDR_ATTR_MULTICAST; 288 addr->ce_mask |= ADDR_ATTR_ANYCAST; 315 if (addr->ce_mask & ADDR_ATTR_LOCAL [all...] |
link.c | 289 link->ce_mask = (LINK_ATTR_IFNAME | LINK_ATTR_FAMILY | 319 link->ce_mask |= LINK_ATTR_STATS; 324 link->ce_mask |= LINK_ATTR_TXQLEN; 329 link->ce_mask |= LINK_ATTR_MTU; 340 link->ce_mask |= LINK_ATTR_ADDR; 352 link->ce_mask |= LINK_ATTR_BRD; 357 link->ce_mask |= LINK_ATTR_LINK; 362 link->ce_mask |= LINK_ATTR_WEIGHT; 367 link->ce_mask |= LINK_ATTR_QDISC; 373 link->ce_mask |= LINK_ATTR_MAP [all...] |
neigh.c | 279 neigh->ce_mask |= (NEIGH_ATTR_FAMILY | NEIGH_ATTR_IFINDEX | 291 neigh->ce_mask |= NEIGH_ATTR_LLADDR; 300 neigh->ce_mask |= NEIGH_ATTR_DST; 311 neigh->ce_mask |= NEIGH_ATTR_CACHEINFO; 316 neigh->ce_mask |= NEIGH_ATTR_PROBES; 349 if (n->ce_mask & NEIGH_ATTR_LLADDR) 394 if (neigh->ce_mask & NEIGH_ATTR_LLADDR) 398 if (neigh->ce_mask & NEIGH_ATTR_DST) 402 if (neigh->ce_mask & NEIGH_ATTR_IFINDEX) { 415 if (neigh->ce_mask & NEIGH_ATTR_PROBES [all...] |
route_obj.c | 142 if (!(r->ce_mask & ROUTE_ATTR_DST) || 148 if (r->ce_mask & ROUTE_ATTR_TABLE && !cache) 152 if (r->ce_mask & ROUTE_ATTR_TYPE) 156 if (r->ce_mask & ROUTE_ATTR_TOS && r->rt_tos != 0) 159 if (r->ce_mask & ROUTE_ATTR_MULTIPATH) { 169 if (r->ce_mask & ROUTE_ATTR_FLAGS && flags) { 217 if (r->ce_mask & ROUTE_ATTR_PREF_SRC) 221 if (r->ce_mask & ROUTE_ATTR_SCOPE && r->rt_scope != RT_SCOPE_NOWHERE) 225 if (r->ce_mask & ROUTE_ATTR_PRIO) 228 if (r->ce_mask & ROUTE_ATTR_PROTOCOL [all...] |
tc.c | 40 if (g->ce_mask & TCA_ATTR_OPTS) 80 g->ce_mask = (TCA_ATTR_FAMILY | TCA_ATTR_IFINDEX | TCA_ATTR_HANDLE | 87 g->ce_mask |= TCA_ATTR_OPTS; 126 g->ce_mask |= TCA_ATTR_STATS; 147 g->ce_mask |= TCA_ATTR_STATS; 155 g->ce_mask |= TCA_ATTR_XSTATS; 267 t->ce_mask |= TCA_ATTR_IFINDEX; 278 t->ce_mask |= TCA_ATTR_HANDLE; 283 if (t->ce_mask & TCA_ATTR_HANDLE) 292 t->ce_mask |= TCA_ATTR_PARENT [all...] |
cls_obj.c | 167 if (cls->ce_mask & TCA_ATTR_KIND) 186 cls->ce_mask |= CLS_ATTR_PRIO; 191 if (cls->ce_mask & CLS_ATTR_PRIO) 200 cls->ce_mask |= CLS_ATTR_PROTOCOL; 205 if (cls->ce_mask & CLS_ATTR_PROTOCOL)
|
class.c | 167 if ((class->ce_mask & required) != required)
|
qdisc.c | 321 if ((qdisc->ce_mask & required) != required)
|
/external/libnl/lib/netfilter/ |
queue_msg_obj.c | 73 if (msg->ce_mask & QUEUE_MSG_ATTR_GROUP) 76 if (msg->ce_mask & QUEUE_MSG_ATTR_INDEV) { 86 if (msg->ce_mask & QUEUE_MSG_ATTR_PHYSINDEV) { 96 if (msg->ce_mask & QUEUE_MSG_ATTR_OUTDEV) { 106 if (msg->ce_mask & QUEUE_MSG_ATTR_PHYSOUTDEV) { 116 if (msg->ce_mask & QUEUE_MSG_ATTR_HWADDR) { 126 if (msg->ce_mask & QUEUE_MSG_ATTR_FAMILY) 130 if (msg->ce_mask & QUEUE_MSG_ATTR_HWPROTO) 135 if (msg->ce_mask & QUEUE_MSG_ATTR_HOOK) 140 if (msg->ce_mask & QUEUE_MSG_ATTR_MARK [all...] |
log_msg_obj.c | 83 if (msg->ce_mask & LOG_MSG_ATTR_PREFIX) 86 if (msg->ce_mask & LOG_MSG_ATTR_INDEV) { 96 if (msg->ce_mask & LOG_MSG_ATTR_PHYSINDEV) { 106 if (msg->ce_mask & LOG_MSG_ATTR_OUTDEV) { 116 if (msg->ce_mask & LOG_MSG_ATTR_PHYSOUTDEV) { 126 if (msg->ce_mask & LOG_MSG_ATTR_HWADDR) { 137 if (msg->ce_mask & LOG_MSG_ATTR_FAMILY) 141 if (msg->ce_mask & LOG_MSG_ATTR_HWPROTO) 146 if (msg->ce_mask & LOG_MSG_ATTR_HOOK) 151 if (msg->ce_mask & LOG_MSG_ATTR_MARK [all...] |
queue_obj.c | 38 if (queue->ce_mask & QUEUE_ATTR_GROUP) 41 if (queue->ce_mask & QUEUE_ATTR_MAXLEN) 44 if (queue->ce_mask & QUEUE_ATTR_COPY_MODE) 49 if (queue->ce_mask & QUEUE_ATTR_COPY_RANGE) 103 queue->ce_mask |= QUEUE_ATTR_GROUP; 108 return !!(queue->ce_mask & QUEUE_ATTR_GROUP); 119 queue->ce_mask |= QUEUE_ATTR_MAXLEN; 124 return !!(queue->ce_mask & QUEUE_ATTR_MAXLEN); 135 queue->ce_mask |= QUEUE_ATTR_COPY_MODE; 140 return !!(queue->ce_mask & QUEUE_ATTR_COPY_MODE) [all...] |
log_obj.c | 36 if (log->ce_mask & LOG_ATTR_GROUP) 39 if (log->ce_mask & LOG_ATTR_COPY_MODE) 44 if (log->ce_mask & LOG_ATTR_COPY_RANGE) 47 if (log->ce_mask & LOG_ATTR_FLUSH_TIMEOUT) 50 if (log->ce_mask & LOG_ATTR_ALLOC_SIZE) 53 if (log->ce_mask & LOG_ATTR_QUEUE_THRESHOLD) 107 log->ce_mask |= LOG_ATTR_GROUP; 112 return !!(log->ce_mask & LOG_ATTR_GROUP); 123 log->ce_mask |= LOG_ATTR_COPY_MODE; 128 return !!(log->ce_mask & LOG_ATTR_COPY_MODE) [all...] |
ct_obj.c | 390 ct->ce_mask |= CT_ATTR_FAMILY; 395 if (ct->ce_mask & CT_ATTR_FAMILY) 404 ct->ce_mask |= CT_ATTR_PROTO; 409 return !!(ct->ce_mask & CT_ATTR_PROTO); 420 ct->ce_mask |= CT_ATTR_TCP_STATE; 425 return !!(ct->ce_mask & CT_ATTR_TCP_STATE); 460 ct->ce_mask |= CT_ATTR_STATUS; 467 ct->ce_mask |= CT_ATTR_STATUS; 503 ct->ce_mask |= CT_ATTR_TIMEOUT; 508 return !!(ct->ce_mask & CT_ATTR_TIMEOUT) [all...] |
/external/libnl/include/netlink/ |
object-api.h | 131 * my_obj->ce_mask |= MY_ATTR_FOO; 135 * if (my_obj->ce_mask & MY_ATTR_FOO) 191 uint32_t ce_mask; 201 #define AVAILABLE(A, B, ATTR) (((A)->ce_mask & (B)->ce_mask) & (ATTR)) 212 #define AVAILABLE_MISMATCH(A, B, ATTR) (((A)->ce_mask ^ (B)->ce_mask) & (ATTR))
|
/external/libnl/lib/fib_lookup/ |
request.c | 97 req->ce_mask |= REQUEST_ATTR_FWMARK; 102 if (req->ce_mask & REQUEST_ATTR_FWMARK) 111 req->ce_mask |= REQUEST_ATTR_TOS; 116 if (req->ce_mask & REQUEST_ATTR_TOS) 125 req->ce_mask |= REQUEST_ATTR_SCOPE; 130 if (req->ce_mask & REQUEST_ATTR_SCOPE) 139 req->ce_mask |= REQUEST_ATTR_TABLE; 144 if (req->ce_mask & REQUEST_ATTR_TABLE) 161 req->ce_mask |= REQUEST_ATTR_ADDR; 168 if (req->ce_mask & REQUEST_ATTR_ADDR [all...] |
/external/libnl/lib/ |
object.c | 111 new->ce_mask = obj->ce_mask; 269 req_attrs = a->ce_mask & b->ce_mask; 273 if ((a->ce_mask & req_attrs) != req_attrs || 274 (b->ce_mask & req_attrs) != req_attrs) 322 return !(ops->oo_compare(obj, filter, filter->ce_mask, 361 return nl_object_attrs2str(obj, obj->ce_mask, buf, len);
|
/external/libnl/lib/genl/ |
family.c | 102 if (family->ce_mask & FAMILY_ATTR_OPS) { 173 if (family->ce_mask & FAMILY_ATTR_ID) 182 family->ce_mask |= FAMILY_ATTR_ID; 187 if (family->ce_mask & FAMILY_ATTR_NAME) 196 family->ce_mask |= FAMILY_ATTR_NAME; 201 if (family->ce_mask & FAMILY_ATTR_VERSION) 210 family->ce_mask |= FAMILY_ATTR_VERSION; 215 if (family->ce_mask & FAMILY_ATTR_HDRSIZE) 224 family->ce_mask |= FAMILY_ATTR_HDRSIZE; 229 if (family->ce_mask & FAMILY_ATTR_MAXATTR [all...] |
/external/libnl/lib/route/sch/ |
red.c | 61 if (!(qdisc->ce_mask & TCA_ATTR_OPTS))
|
sfq.c | 60 if (!(qdisc->ce_mask & TCA_ATTR_OPTS))
|
/external/libnl/src/ |
nl-addr-list.c | 98 if (addr->ce_mask & ADDR_ATTR_CACHEINFO) {
|
/external/libnl/include/ |
netlink-types.h | 249 uint32_t ce_mask; /* HACK to support attr macros */ member in struct:rtnl_nexthop
|