/external/libnl/lib/netfilter/ |
D | log_msg_obj.c | 83 if (msg->ce_mask & LOG_MSG_ATTR_PREFIX) in log_msg_dump() 86 if (msg->ce_mask & LOG_MSG_ATTR_INDEV) { in log_msg_dump() 96 if (msg->ce_mask & LOG_MSG_ATTR_PHYSINDEV) { in log_msg_dump() 106 if (msg->ce_mask & LOG_MSG_ATTR_OUTDEV) { in log_msg_dump() 116 if (msg->ce_mask & LOG_MSG_ATTR_PHYSOUTDEV) { in log_msg_dump() 126 if (msg->ce_mask & LOG_MSG_ATTR_HWADDR) { in log_msg_dump() 137 if (msg->ce_mask & LOG_MSG_ATTR_FAMILY) in log_msg_dump() 141 if (msg->ce_mask & LOG_MSG_ATTR_HWPROTO) in log_msg_dump() 146 if (msg->ce_mask & LOG_MSG_ATTR_HOOK) in log_msg_dump() 151 if (msg->ce_mask & LOG_MSG_ATTR_MARK) in log_msg_dump() [all …]
|
D | queue_msg_obj.c | 73 if (msg->ce_mask & QUEUE_MSG_ATTR_GROUP) in nfnl_queue_msg_dump() 76 if (msg->ce_mask & QUEUE_MSG_ATTR_INDEV) { in nfnl_queue_msg_dump() 86 if (msg->ce_mask & QUEUE_MSG_ATTR_PHYSINDEV) { in nfnl_queue_msg_dump() 96 if (msg->ce_mask & QUEUE_MSG_ATTR_OUTDEV) { in nfnl_queue_msg_dump() 106 if (msg->ce_mask & QUEUE_MSG_ATTR_PHYSOUTDEV) { in nfnl_queue_msg_dump() 116 if (msg->ce_mask & QUEUE_MSG_ATTR_HWADDR) { in nfnl_queue_msg_dump() 126 if (msg->ce_mask & QUEUE_MSG_ATTR_FAMILY) in nfnl_queue_msg_dump() 130 if (msg->ce_mask & QUEUE_MSG_ATTR_HWPROTO) in nfnl_queue_msg_dump() 135 if (msg->ce_mask & QUEUE_MSG_ATTR_HOOK) in nfnl_queue_msg_dump() 140 if (msg->ce_mask & QUEUE_MSG_ATTR_MARK) in nfnl_queue_msg_dump() [all …]
|
D | log_obj.c | 36 if (log->ce_mask & LOG_ATTR_GROUP) in nfnl_log_dump() 39 if (log->ce_mask & LOG_ATTR_COPY_MODE) in nfnl_log_dump() 44 if (log->ce_mask & LOG_ATTR_COPY_RANGE) in nfnl_log_dump() 47 if (log->ce_mask & LOG_ATTR_FLUSH_TIMEOUT) in nfnl_log_dump() 50 if (log->ce_mask & LOG_ATTR_ALLOC_SIZE) in nfnl_log_dump() 53 if (log->ce_mask & LOG_ATTR_QUEUE_THRESHOLD) in nfnl_log_dump() 107 log->ce_mask |= LOG_ATTR_GROUP; in nfnl_log_set_group() 112 return !!(log->ce_mask & LOG_ATTR_GROUP); in nfnl_log_test_group() 123 log->ce_mask |= LOG_ATTR_COPY_MODE; in nfnl_log_set_copy_mode() 128 return !!(log->ce_mask & LOG_ATTR_COPY_MODE); in nfnl_log_test_copy_mode() [all …]
|
D | queue_obj.c | 38 if (queue->ce_mask & QUEUE_ATTR_GROUP) in nfnl_queue_dump() 41 if (queue->ce_mask & QUEUE_ATTR_MAXLEN) in nfnl_queue_dump() 44 if (queue->ce_mask & QUEUE_ATTR_COPY_MODE) in nfnl_queue_dump() 49 if (queue->ce_mask & QUEUE_ATTR_COPY_RANGE) in nfnl_queue_dump() 103 queue->ce_mask |= QUEUE_ATTR_GROUP; in nfnl_queue_set_group() 108 return !!(queue->ce_mask & QUEUE_ATTR_GROUP); in nfnl_queue_test_group() 119 queue->ce_mask |= QUEUE_ATTR_MAXLEN; in nfnl_queue_set_maxlen() 124 return !!(queue->ce_mask & QUEUE_ATTR_MAXLEN); in nfnl_queue_test_maxlen() 135 queue->ce_mask |= QUEUE_ATTR_COPY_MODE; in nfnl_queue_set_copy_mode() 140 return !!(queue->ce_mask & QUEUE_ATTR_COPY_MODE); in nfnl_queue_test_copy_mode() [all …]
|
D | ct_obj.c | 390 ct->ce_mask |= CT_ATTR_FAMILY; in nfnl_ct_set_family() 395 if (ct->ce_mask & CT_ATTR_FAMILY) in nfnl_ct_get_family() 404 ct->ce_mask |= CT_ATTR_PROTO; in nfnl_ct_set_proto() 409 return !!(ct->ce_mask & CT_ATTR_PROTO); in nfnl_ct_test_proto() 420 ct->ce_mask |= CT_ATTR_TCP_STATE; in nfnl_ct_set_tcp_state() 425 return !!(ct->ce_mask & CT_ATTR_TCP_STATE); in nfnl_ct_test_tcp_state() 460 ct->ce_mask |= CT_ATTR_STATUS; in nfnl_ct_set_status() 467 ct->ce_mask |= CT_ATTR_STATUS; in nfnl_ct_unset_status() 503 ct->ce_mask |= CT_ATTR_TIMEOUT; in nfnl_ct_set_timeout() 508 return !!(ct->ce_mask & CT_ATTR_TIMEOUT); in nfnl_ct_test_timeout() [all …]
|
/external/libnl/lib/route/ |
D | rule.c | 107 rule->ce_mask = (RULE_ATTR_FAMILY | RULE_ATTR_TYPE | RULE_ATTR_DSFIELD | in rule_msg_parser() 113 rule->ce_mask |= RULE_ATTR_PRIO; in rule_msg_parser() 120 rule->ce_mask |= RULE_ATTR_SRC; in rule_msg_parser() 127 rule->ce_mask |= RULE_ATTR_DST; in rule_msg_parser() 132 rule->ce_mask |= RULE_ATTR_MARK; in rule_msg_parser() 137 rule->ce_mask |= RULE_ATTR_IIF; in rule_msg_parser() 142 rule->ce_mask |= RULE_ATTR_REALMS; in rule_msg_parser() 149 rule->ce_mask |= RULE_ATTR_SRCMAP; in rule_msg_parser() 154 rule->ce_mask |= RULE_ATTR_TABLE; in rule_msg_parser() 177 nl_dump_line(p, "%8d ", (r->ce_mask & RULE_ATTR_PRIO) ? r->r_prio : 0); in rule_dump_line() [all …]
|
D | addr.c | 215 addr->ce_mask = (ADDR_ATTR_FAMILY | ADDR_ATTR_PREFIXLEN | in addr_msg_parser() 220 addr->ce_mask |= ADDR_ATTR_LABEL; in addr_msg_parser() 231 addr->ce_mask |= ADDR_ATTR_CACHEINFO; in addr_msg_parser() 238 addr->ce_mask |= ADDR_ATTR_LOCAL; in addr_msg_parser() 254 addr->ce_mask |= ADDR_ATTR_LOCAL; in addr_msg_parser() 257 addr->ce_mask |= ADDR_ATTR_PEER; in addr_msg_parser() 270 addr->ce_mask |= ADDR_ATTR_BROADCAST; in addr_msg_parser() 279 addr->ce_mask |= ADDR_ATTR_MULTICAST; in addr_msg_parser() 288 addr->ce_mask |= ADDR_ATTR_ANYCAST; in addr_msg_parser() 315 if (addr->ce_mask & ADDR_ATTR_LOCAL) in addr_dump_line() [all …]
|
D | nexthop.c | 62 nh->ce_mask = src->ce_mask; in rtnl_route_nh_clone() 116 if (nh->ce_mask & NH_ATTR_GATEWAY) in nh_dump_line() 120 if(nh->ce_mask & NH_ATTR_IFINDEX) { in nh_dump_line() 142 if (nh->ce_mask & NH_ATTR_GATEWAY) in nh_dump_details() 146 if(nh->ce_mask & NH_ATTR_IFINDEX) { in nh_dump_details() 156 if (nh->ce_mask & NH_ATTR_WEIGHT) in nh_dump_details() 159 if (nh->ce_mask & NH_ATTR_REALMS) in nh_dump_details() 164 if (nh->ce_mask & NH_ATTR_FLAGS) in nh_dump_details() 176 if (nh->ce_mask & NH_ATTR_GATEWAY) in nh_dump_env() 180 if(nh->ce_mask & NH_ATTR_IFINDEX) { in nh_dump_env() [all …]
|
D | neightbl.c | 75 if (!(a->ce_mask & NEIGHTBL_ATTR_PARMS) && in neightbl_compare() 76 !(b->ce_mask & NEIGHTBL_ATTR_PARMS)) in neightbl_compare() 151 ntbl->ce_mask |= NEIGHTBL_ATTR_NAME; in neightbl_msg_parser() 155 ntbl->ce_mask |= NEIGHTBL_ATTR_THRESH1; in neightbl_msg_parser() 160 ntbl->ce_mask |= NEIGHTBL_ATTR_THRESH2; in neightbl_msg_parser() 165 ntbl->ce_mask |= NEIGHTBL_ATTR_THRESH3; in neightbl_msg_parser() 170 ntbl->ce_mask |= NEIGHTBL_ATTR_GC_INTERVAL; in neightbl_msg_parser() 176 ntbl->ce_mask |= NEIGHTBL_ATTR_CONFIG; in neightbl_msg_parser() 182 ntbl->ce_mask |= NEIGHTBL_ATTR_STATS; in neightbl_msg_parser() 216 ntbl->ce_mask |= NEIGHTBL_ATTR_PARMS; in neightbl_msg_parser() [all …]
|
D | link.c | 289 link->ce_mask = (LINK_ATTR_IFNAME | LINK_ATTR_FAMILY | in link_msg_parser() 319 link->ce_mask |= LINK_ATTR_STATS; in link_msg_parser() 324 link->ce_mask |= LINK_ATTR_TXQLEN; in link_msg_parser() 329 link->ce_mask |= LINK_ATTR_MTU; in link_msg_parser() 340 link->ce_mask |= LINK_ATTR_ADDR; in link_msg_parser() 352 link->ce_mask |= LINK_ATTR_BRD; in link_msg_parser() 357 link->ce_mask |= LINK_ATTR_LINK; in link_msg_parser() 362 link->ce_mask |= LINK_ATTR_WEIGHT; in link_msg_parser() 367 link->ce_mask |= LINK_ATTR_QDISC; in link_msg_parser() 373 link->ce_mask |= LINK_ATTR_MAP; in link_msg_parser() [all …]
|
D | route_obj.c | 142 if (!(r->ce_mask & ROUTE_ATTR_DST) || in route_dump_line() 148 if (r->ce_mask & ROUTE_ATTR_TABLE && !cache) in route_dump_line() 152 if (r->ce_mask & ROUTE_ATTR_TYPE) in route_dump_line() 156 if (r->ce_mask & ROUTE_ATTR_TOS && r->rt_tos != 0) in route_dump_line() 159 if (r->ce_mask & ROUTE_ATTR_MULTIPATH) { in route_dump_line() 169 if (r->ce_mask & ROUTE_ATTR_FLAGS && flags) { in route_dump_line() 217 if (r->ce_mask & ROUTE_ATTR_PREF_SRC) in route_dump_details() 221 if (r->ce_mask & ROUTE_ATTR_SCOPE && r->rt_scope != RT_SCOPE_NOWHERE) in route_dump_details() 225 if (r->ce_mask & ROUTE_ATTR_PRIO) in route_dump_details() 228 if (r->ce_mask & ROUTE_ATTR_PROTOCOL) in route_dump_details() [all …]
|
D | neigh.c | 279 neigh->ce_mask |= (NEIGH_ATTR_FAMILY | NEIGH_ATTR_IFINDEX | in neigh_msg_parser() 291 neigh->ce_mask |= NEIGH_ATTR_LLADDR; in neigh_msg_parser() 300 neigh->ce_mask |= NEIGH_ATTR_DST; in neigh_msg_parser() 311 neigh->ce_mask |= NEIGH_ATTR_CACHEINFO; in neigh_msg_parser() 316 neigh->ce_mask |= NEIGH_ATTR_PROBES; in neigh_msg_parser() 349 if (n->ce_mask & NEIGH_ATTR_LLADDR) in neigh_dump_line() 394 if (neigh->ce_mask & NEIGH_ATTR_LLADDR) in neigh_dump_env() 398 if (neigh->ce_mask & NEIGH_ATTR_DST) in neigh_dump_env() 402 if (neigh->ce_mask & NEIGH_ATTR_IFINDEX) { in neigh_dump_env() 415 if (neigh->ce_mask & NEIGH_ATTR_PROBES) in neigh_dump_env() [all …]
|
D | tc.c | 40 if (g->ce_mask & TCA_ATTR_OPTS) in tca_parse() 80 g->ce_mask = (TCA_ATTR_FAMILY | TCA_ATTR_IFINDEX | TCA_ATTR_HANDLE | in tca_msg_parser() 87 g->ce_mask |= TCA_ATTR_OPTS; in tca_msg_parser() 126 g->ce_mask |= TCA_ATTR_STATS; in tca_msg_parser() 147 g->ce_mask |= TCA_ATTR_STATS; in tca_msg_parser() 155 g->ce_mask |= TCA_ATTR_XSTATS; in tca_msg_parser() 267 t->ce_mask |= TCA_ATTR_IFINDEX; in tca_set_ifindex() 278 t->ce_mask |= TCA_ATTR_HANDLE; in tca_set_handle() 283 if (t->ce_mask & TCA_ATTR_HANDLE) in tca_get_handle() 292 t->ce_mask |= TCA_ATTR_PARENT; in tca_set_parent() [all …]
|
D | cls_obj.c | 167 if (cls->ce_mask & TCA_ATTR_KIND) in rtnl_cls_set_kind() 186 cls->ce_mask |= CLS_ATTR_PRIO; in rtnl_cls_set_prio() 191 if (cls->ce_mask & CLS_ATTR_PRIO) in rtnl_cls_get_prio() 200 cls->ce_mask |= CLS_ATTR_PROTOCOL; in rtnl_cls_set_protocol() 205 if (cls->ce_mask & CLS_ATTR_PROTOCOL) in rtnl_cls_get_protocol()
|
D | class.c | 167 if ((class->ce_mask & required) != required) in rtnl_class_build_delete_request()
|
D | qdisc.c | 321 if ((qdisc->ce_mask & required) != required) in rtnl_qdisc_build_delete_request()
|
/external/libnl/lib/fib_lookup/ |
D | request.c | 97 req->ce_mask |= REQUEST_ATTR_FWMARK; in flnl_request_set_fwmark() 102 if (req->ce_mask & REQUEST_ATTR_FWMARK) in flnl_request_get_fwmark() 111 req->ce_mask |= REQUEST_ATTR_TOS; in flnl_request_set_tos() 116 if (req->ce_mask & REQUEST_ATTR_TOS) in flnl_request_get_tos() 125 req->ce_mask |= REQUEST_ATTR_SCOPE; in flnl_request_set_scope() 130 if (req->ce_mask & REQUEST_ATTR_SCOPE) in flnl_request_get_scope() 139 req->ce_mask |= REQUEST_ATTR_TABLE; in flnl_request_set_table() 144 if (req->ce_mask & REQUEST_ATTR_TABLE) in flnl_request_get_table() 161 req->ce_mask |= REQUEST_ATTR_ADDR; in flnl_request_set_addr() 168 if (req->ce_mask & REQUEST_ATTR_ADDR) in flnl_request_get_addr()
|
/external/libnl/lib/genl/ |
D | family.c | 102 if (family->ce_mask & FAMILY_ATTR_OPS) { in family_dump_details() 173 if (family->ce_mask & FAMILY_ATTR_ID) in genl_family_get_id() 182 family->ce_mask |= FAMILY_ATTR_ID; in genl_family_set_id() 187 if (family->ce_mask & FAMILY_ATTR_NAME) in genl_family_get_name() 196 family->ce_mask |= FAMILY_ATTR_NAME; in genl_family_set_name() 201 if (family->ce_mask & FAMILY_ATTR_VERSION) in genl_family_get_version() 210 family->ce_mask |= FAMILY_ATTR_VERSION; in genl_family_set_version() 215 if (family->ce_mask & FAMILY_ATTR_HDRSIZE) in genl_family_get_hdrsize() 224 family->ce_mask |= FAMILY_ATTR_HDRSIZE; in genl_family_set_hdrsize() 229 if (family->ce_mask & FAMILY_ATTR_MAXATTR) in genl_family_get_maxattr() [all …]
|
/external/libnl/include/netlink/ |
D | object-api.h | 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/ |
D | object.c | 111 new->ce_mask = obj->ce_mask; in nl_object_clone() 269 req_attrs = a->ce_mask & b->ce_mask; in nl_object_identical() 273 if ((a->ce_mask & req_attrs) != req_attrs || in nl_object_identical() 274 (b->ce_mask & req_attrs) != req_attrs) in nl_object_identical() 322 return !(ops->oo_compare(obj, filter, filter->ce_mask, in nl_object_match_filter() 361 return nl_object_attrs2str(obj, obj->ce_mask, buf, len); in nl_object_attr_list()
|
/external/libnl/lib/route/sch/ |
D | red.c | 61 if (!(qdisc->ce_mask & TCA_ATTR_OPTS)) in red_msg_parser()
|
D | sfq.c | 60 if (!(qdisc->ce_mask & TCA_ATTR_OPTS)) in sfq_msg_parser()
|
/external/libnl/src/ |
D | nl-addr-list.c | 98 if (addr->ce_mask & ADDR_ATTR_CACHEINFO) { in env_dump()
|
/external/libnl/include/ |
D | netlink-types.h | 249 uint32_t ce_mask; /* HACK to support attr macros */ member
|