Home
last modified time | relevance | path

Searched refs:ce_mask (Results 1 – 25 of 29) sorted by relevance

12

/external/libnl/lib/netfilter/
Dlog_msg_obj.c83 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 …]
Dqueue_msg_obj.c73 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 …]
Dlog_obj.c36 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 …]
Dqueue_obj.c38 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 …]
Dct_obj.c417 ct->ce_mask |= CT_ATTR_FAMILY; in nfnl_ct_set_family()
422 if (ct->ce_mask & CT_ATTR_FAMILY) in nfnl_ct_get_family()
431 ct->ce_mask |= CT_ATTR_PROTO; in nfnl_ct_set_proto()
436 return !!(ct->ce_mask & CT_ATTR_PROTO); in nfnl_ct_test_proto()
447 ct->ce_mask |= CT_ATTR_TCP_STATE; in nfnl_ct_set_tcp_state()
452 return !!(ct->ce_mask & CT_ATTR_TCP_STATE); in nfnl_ct_test_tcp_state()
487 ct->ce_mask |= CT_ATTR_STATUS; in nfnl_ct_set_status()
494 ct->ce_mask |= CT_ATTR_STATUS; in nfnl_ct_unset_status()
499 return !!(ct->ce_mask & CT_ATTR_STATUS); in nfnl_ct_test_status()
535 ct->ce_mask |= CT_ATTR_TIMEOUT; in nfnl_ct_set_timeout()
[all …]
Dexp_obj.c436 exp->ce_mask |= EXP_ATTR_FAMILY; in nfnl_exp_set_family()
441 if (exp->ce_mask & EXP_ATTR_FAMILY) in nfnl_exp_get_family()
450 exp->ce_mask |= EXP_ATTR_FLAGS; in nfnl_exp_set_flags()
455 return !!(exp->ce_mask & EXP_ATTR_FLAGS); in nfnl_exp_test_flags()
461 exp->ce_mask |= EXP_ATTR_FLAGS; in nfnl_exp_unset_flags()
489 exp->ce_mask |= EXP_ATTR_TIMEOUT; in nfnl_exp_set_timeout()
494 return !!(exp->ce_mask & EXP_ATTR_TIMEOUT); in nfnl_exp_test_timeout()
505 exp->ce_mask |= EXP_ATTR_ID; in nfnl_exp_set_id()
510 return !!(exp->ce_mask & EXP_ATTR_ID); in nfnl_exp_test_id()
525 exp->ce_mask |= EXP_ATTR_HELPER_NAME; in nfnl_exp_set_helper_name()
[all …]
/external/libnl/lib/route/
Drule.c110 rule->ce_mask = (RULE_ATTR_FAMILY | RULE_ATTR_TABLE | RULE_ATTR_ACTION | in rule_msg_parser()
116 rule->ce_mask |= RULE_ATTR_DSFIELD; in rule_msg_parser()
121 rule->ce_mask |= RULE_ATTR_TABLE; in rule_msg_parser()
126 rule->ce_mask |= RULE_ATTR_IIFNAME; in rule_msg_parser()
131 rule->ce_mask |= RULE_ATTR_OIFNAME; in rule_msg_parser()
136 rule->ce_mask |= RULE_ATTR_PRIO; in rule_msg_parser()
141 rule->ce_mask |= RULE_ATTR_MARK; in rule_msg_parser()
146 rule->ce_mask |= RULE_ATTR_MASK; in rule_msg_parser()
151 rule->ce_mask |= RULE_ATTR_GOTO; in rule_msg_parser()
159 rule->ce_mask |= RULE_ATTR_SRC; in rule_msg_parser()
[all …]
Daddr.c224 addr->ce_mask = (ADDR_ATTR_FAMILY | ADDR_ATTR_PREFIXLEN | in addr_msg_parser()
229 addr->ce_mask |= ADDR_ATTR_LABEL; in addr_msg_parser()
241 addr->ce_mask |= ADDR_ATTR_CACHEINFO; in addr_msg_parser()
248 addr->ce_mask |= ADDR_ATTR_LOCAL; in addr_msg_parser()
265 addr->ce_mask |= ADDR_ATTR_LOCAL; in addr_msg_parser()
268 addr->ce_mask |= ADDR_ATTR_PEER; in addr_msg_parser()
283 addr->ce_mask |= ADDR_ATTR_BROADCAST; in addr_msg_parser()
293 addr->ce_mask |= ADDR_ATTR_MULTICAST; in addr_msg_parser()
303 addr->ce_mask |= ADDR_ATTR_ANYCAST; in addr_msg_parser()
341 if (addr->ce_mask & ADDR_ATTR_LOCAL) in addr_dump_line()
[all …]
Dneightbl.c75 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 …]
Dlink.c342 link->ce_mask |= LINK_ATTR_STATS; in rtnl_link_info_parse()
385 link->ce_mask |= LINK_ATTR_STATS; in rtnl_link_info_parse()
390 link->ce_mask |= LINK_ATTR_TXQLEN; in rtnl_link_info_parse()
395 link->ce_mask |= LINK_ATTR_MTU; in rtnl_link_info_parse()
404 link->ce_mask |= LINK_ATTR_ADDR; in rtnl_link_info_parse()
414 link->ce_mask |= LINK_ATTR_BRD; in rtnl_link_info_parse()
419 link->ce_mask |= LINK_ATTR_LINK; in rtnl_link_info_parse()
424 link->ce_mask |= LINK_ATTR_WEIGHT; in rtnl_link_info_parse()
429 link->ce_mask |= LINK_ATTR_QDISC; in rtnl_link_info_parse()
435 link->ce_mask |= LINK_ATTR_MAP; in rtnl_link_info_parse()
[all …]
Dnexthop.c62 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()
145 if (nh->ce_mask & NH_ATTR_GATEWAY) in nh_dump_details()
149 if(nh->ce_mask & NH_ATTR_IFINDEX) { in nh_dump_details()
159 if (nh->ce_mask & NH_ATTR_WEIGHT) in nh_dump_details()
162 if (nh->ce_mask & NH_ATTR_REALMS) in nh_dump_details()
167 if (nh->ce_mask & NH_ATTR_FLAGS) in nh_dump_details()
201 nh->ce_mask |= NH_ATTR_WEIGHT; in rtnl_route_nh_set_weight()
212 nh->ce_mask |= NH_ATTR_IFINDEX; in rtnl_route_nh_set_ifindex()
[all …]
Droute_obj.c144 if (!(r->ce_mask & ROUTE_ATTR_DST) || in route_dump_line()
150 if (r->ce_mask & ROUTE_ATTR_TABLE && !cache) in route_dump_line()
154 if (r->ce_mask & ROUTE_ATTR_TYPE) in route_dump_line()
158 if (r->ce_mask & ROUTE_ATTR_TOS && r->rt_tos != 0) in route_dump_line()
161 if (r->ce_mask & ROUTE_ATTR_MULTIPATH) { in route_dump_line()
171 if (r->ce_mask & ROUTE_ATTR_FLAGS && flags) { in route_dump_line()
219 if (r->ce_mask & ROUTE_ATTR_PREF_SRC) in route_dump_details()
223 if (r->ce_mask & ROUTE_ATTR_SCOPE && r->rt_scope != RT_SCOPE_NOWHERE) in route_dump_details()
227 if (r->ce_mask & ROUTE_ATTR_PRIO) in route_dump_details()
230 if (r->ce_mask & ROUTE_ATTR_PROTOCOL) in route_dump_details()
[all …]
Dneigh.c362 neigh->ce_mask |= (NEIGH_ATTR_FAMILY | NEIGH_ATTR_IFINDEX | in rtnl_neigh_parse()
374 neigh->ce_mask |= NEIGH_ATTR_LLADDR; in rtnl_neigh_parse()
383 neigh->ce_mask |= NEIGH_ATTR_DST; in rtnl_neigh_parse()
394 neigh->ce_mask |= NEIGH_ATTR_CACHEINFO; in rtnl_neigh_parse()
399 neigh->ce_mask |= NEIGH_ATTR_PROBES; in rtnl_neigh_parse()
413 neigh->ce_mask |= NEIGH_ATTR_MASTER; in rtnl_neigh_parse()
455 if (n->ce_mask & NEIGH_ATTR_LLADDR) in neigh_dump_line()
573 if (!(tmpl->ce_mask & NEIGH_ATTR_DST)) in build_neigh_msg()
580 if (tmpl->ce_mask & NEIGH_ATTR_FLAGS) in build_neigh_msg()
583 if (tmpl->ce_mask & NEIGH_ATTR_STATE) in build_neigh_msg()
[all …]
Dtc.c43 if (g->ce_mask & TCA_ATTR_OPTS) in tca_parse()
89 tc->ce_mask |= (TCA_ATTR_FAMILY | TCA_ATTR_IFINDEX | TCA_ATTR_HANDLE| in rtnl_tc_msg_parse()
96 tc->ce_mask |= TCA_ATTR_OPTS; in rtnl_tc_msg_parse()
134 tc->ce_mask |= TCA_ATTR_STATS; in rtnl_tc_msg_parse()
155 tc->ce_mask |= TCA_ATTR_STATS; in rtnl_tc_msg_parse()
163 tc->ce_mask |= TCA_ATTR_XSTATS; in rtnl_tc_msg_parse()
213 if (tc->ce_mask & TCA_ATTR_KIND) in rtnl_tc_msg_build()
244 t->ce_mask |= TCA_ATTR_KIND; in tca_set_kind()
270 tc->ce_mask &= ~TCA_ATTR_LINK; in rtnl_tc_set_ifindex()
273 tc->ce_mask |= TCA_ATTR_IFINDEX; in rtnl_tc_set_ifindex()
[all …]
Dcls.c42 if ((cls->ce_mask & required) != required) { in cls_build()
90 cls->ce_mask |= CLS_ATTR_PRIO; in rtnl_cls_set_prio()
95 if (cls->ce_mask & CLS_ATTR_PRIO) in rtnl_cls_get_prio()
104 cls->ce_mask |= CLS_ATTR_PROTOCOL; in rtnl_cls_set_protocol()
109 if (cls->ce_mask & CLS_ATTR_PROTOCOL) in rtnl_cls_get_protocol()
140 if (!(flags & NLM_F_CREATE) && !(cls->ce_mask & CLS_ATTR_PRIO)) { in rtnl_cls_build_add_request()
256 if ((cls->ce_mask & required) != required) { in rtnl_cls_build_delete_request()
372 cls->ce_mask |= CLS_ATTR_PRIO; in cls_msg_parser()
375 cls->ce_mask |= CLS_ATTR_PROTOCOL; in cls_msg_parser()
Dqdisc.c92 if (!(qdisc->ce_mask & TCA_ATTR_IFINDEX)) { in build_qdisc_msg()
117 if (!(qdisc->ce_mask & (TCA_ATTR_HANDLE | TCA_ATTR_PARENT))) { in rtnl_qdisc_build_add_request()
198 if (!(qdisc->ce_mask & TCA_ATTR_IFINDEX)) { in rtnl_qdisc_build_update_request()
203 if (!(qdisc->ce_mask & (TCA_ATTR_HANDLE | TCA_ATTR_PARENT))) { in rtnl_qdisc_build_update_request()
210 if (qdisc->ce_mask & TCA_ATTR_HANDLE) in rtnl_qdisc_build_update_request()
213 if (qdisc->ce_mask & TCA_ATTR_PARENT) in rtnl_qdisc_build_update_request()
280 if ((qdisc->ce_mask & required) != required) { in rtnl_qdisc_build_delete_request()
294 if (qdisc->ce_mask & TCA_ATTR_HANDLE) in rtnl_qdisc_build_delete_request()
300 if (qdisc->ce_mask & TCA_ATTR_KIND) in rtnl_qdisc_build_delete_request()
Dclass.c105 if ((class->ce_mask & needed) == needed && in class_build()
201 if ((class->ce_mask & required) != required) { in rtnl_class_build_delete_request()
214 if (class->ce_mask & TCA_ATTR_PARENT) in rtnl_class_build_delete_request()
Dact.c79 if (tc->ce_mask & TCA_ATTR_KIND) in rtnl_act_fill_one()
430 tc->ce_mask |= TCA_ATTR_OPTS; in rtnl_act_parse()
/external/libnl/lib/fib_lookup/
Drequest.c97 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/
Dfamily.c119 if (family->ce_mask & FAMILY_ATTR_OPS) { in family_dump_details()
215 if (family->ce_mask & FAMILY_ATTR_ID) in genl_family_get_id()
229 family->ce_mask |= FAMILY_ATTR_ID; in genl_family_set_id()
247 if (family->ce_mask & FAMILY_ATTR_NAME) in genl_family_get_name()
261 family->ce_mask |= FAMILY_ATTR_NAME; in genl_family_set_name()
277 if (family->ce_mask & FAMILY_ATTR_VERSION) in genl_family_get_version()
291 family->ce_mask |= FAMILY_ATTR_VERSION; in genl_family_set_version()
309 if (family->ce_mask & FAMILY_ATTR_HDRSIZE) in genl_family_get_hdrsize()
318 family->ce_mask |= FAMILY_ATTR_HDRSIZE; in genl_family_set_hdrsize()
330 if (family->ce_mask & FAMILY_ATTR_MAXATTR) in genl_family_get_maxattr()
[all …]
/external/libnl/lib/route/link/
Dbridge.c44 uint32_t ce_mask; /* HACK to support attr macros */ member
110 bd->ce_mask |= BRIDGE_ATTR_PORT_STATE; in bridge_parse_protinfo()
123 bd->ce_mask |= BRIDGE_ATTR_PORT_STATE; in bridge_parse_protinfo()
128 bd->ce_mask |= BRIDGE_ATTR_PRIORITY; in bridge_parse_protinfo()
133 bd->ce_mask |= BRIDGE_ATTR_COST; in bridge_parse_protinfo()
151 if (bd->ce_mask & BRIDGE_ATTR_PORT_STATE) in bridge_dump_details()
154 if (bd->ce_mask & BRIDGE_ATTR_PRIORITY) in bridge_dump_details()
157 if (bd->ce_mask & BRIDGE_ATTR_COST) in bridge_dump_details()
299 bd->ce_mask |= BRIDGE_ATTR_PORT_STATE; in rtnl_link_bridge_set_port_state()
339 bd->ce_mask |= BRIDGE_ATTR_PRIORITY; in rtnl_link_bridge_set_priority()
[all …]
/external/libnl/include/netlink-private/
Dobject-api.h192 uint32_t ce_mask;
208 #define AVAILABLE(A, B, ATTR) (((A)->ce_mask & (B)->ce_mask) & (ATTR))
219 #define AVAILABLE_MISMATCH(A, B, ATTR) (((A)->ce_mask ^ (B)->ce_mask) & (ATTR))
/external/libnl/lib/
Dobject.c131 new->ce_mask = obj->ce_mask; in nl_object_clone()
334 req_attrs = a->ce_mask & b->ce_mask; in nl_object_identical()
338 if ((a->ce_mask & req_attrs) != req_attrs || in nl_object_identical()
339 (b->ce_mask & req_attrs) != req_attrs) in nl_object_identical()
387 return !(ops->oo_compare(obj, filter, filter->ce_mask, in nl_object_match_filter()
426 return nl_object_attrs2str(obj, obj->ce_mask, buf, len); in nl_object_attr_list()
/external/libnl/lib/route/cls/
Dcgroup.c119 if (!(tc->ce_mask & TCA_ATTR_HANDLE)) in cgroup_fill_msg()
/external/libnl/lib/route/qdisc/
Dred.c48 if (!(tc->ce_mask & TCA_ATTR_OPTS)) in red_msg_parser()

12