Home
last modified time | relevance | path

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

12

/third_party/libnl/lib/netfilter/
Dlog_msg_obj.c84 if (msg->ce_mask & LOG_MSG_ATTR_PREFIX) in log_msg_dump()
87 if (msg->ce_mask & LOG_MSG_ATTR_INDEV) { in log_msg_dump()
97 if (msg->ce_mask & LOG_MSG_ATTR_PHYSINDEV) { in log_msg_dump()
107 if (msg->ce_mask & LOG_MSG_ATTR_OUTDEV) { in log_msg_dump()
117 if (msg->ce_mask & LOG_MSG_ATTR_PHYSOUTDEV) { in log_msg_dump()
127 if (msg->ce_mask & LOG_MSG_ATTR_HWADDR) { in log_msg_dump()
138 if (msg->ce_mask & LOG_MSG_ATTR_FAMILY) in log_msg_dump()
142 if (msg->ce_mask & LOG_MSG_ATTR_HWPROTO) in log_msg_dump()
147 if (msg->ce_mask & LOG_MSG_ATTR_HOOK) in log_msg_dump()
152 if (msg->ce_mask & LOG_MSG_ATTR_MARK) in log_msg_dump()
[all …]
Dqueue_msg_obj.c74 if (msg->ce_mask & QUEUE_MSG_ATTR_GROUP) in nfnl_queue_msg_dump()
77 if (msg->ce_mask & QUEUE_MSG_ATTR_INDEV) { in nfnl_queue_msg_dump()
87 if (msg->ce_mask & QUEUE_MSG_ATTR_PHYSINDEV) { in nfnl_queue_msg_dump()
97 if (msg->ce_mask & QUEUE_MSG_ATTR_OUTDEV) { in nfnl_queue_msg_dump()
107 if (msg->ce_mask & QUEUE_MSG_ATTR_PHYSOUTDEV) { in nfnl_queue_msg_dump()
117 if (msg->ce_mask & QUEUE_MSG_ATTR_HWADDR) { in nfnl_queue_msg_dump()
127 if (msg->ce_mask & QUEUE_MSG_ATTR_FAMILY) in nfnl_queue_msg_dump()
131 if (msg->ce_mask & QUEUE_MSG_ATTR_HWPROTO) in nfnl_queue_msg_dump()
136 if (msg->ce_mask & QUEUE_MSG_ATTR_HOOK) in nfnl_queue_msg_dump()
141 if (msg->ce_mask & QUEUE_MSG_ATTR_MARK) in nfnl_queue_msg_dump()
[all …]
Dlog_obj.c37 if (log->ce_mask & LOG_ATTR_GROUP) in nfnl_log_dump()
40 if (log->ce_mask & LOG_ATTR_COPY_MODE) in nfnl_log_dump()
45 if (log->ce_mask & LOG_ATTR_COPY_RANGE) in nfnl_log_dump()
48 if (log->ce_mask & LOG_ATTR_FLUSH_TIMEOUT) in nfnl_log_dump()
51 if (log->ce_mask & LOG_ATTR_ALLOC_SIZE) in nfnl_log_dump()
54 if (log->ce_mask & LOG_ATTR_QUEUE_THRESHOLD) in nfnl_log_dump()
108 log->ce_mask |= LOG_ATTR_GROUP; in nfnl_log_set_group()
113 return !!(log->ce_mask & LOG_ATTR_GROUP); in nfnl_log_test_group()
124 log->ce_mask |= LOG_ATTR_COPY_MODE; in nfnl_log_set_copy_mode()
129 return !!(log->ce_mask & LOG_ATTR_COPY_MODE); in nfnl_log_test_copy_mode()
[all …]
Dqueue_obj.c39 if (queue->ce_mask & QUEUE_ATTR_GROUP) in nfnl_queue_dump()
42 if (queue->ce_mask & QUEUE_ATTR_MAXLEN) in nfnl_queue_dump()
45 if (queue->ce_mask & QUEUE_ATTR_COPY_MODE) in nfnl_queue_dump()
50 if (queue->ce_mask & QUEUE_ATTR_COPY_RANGE) in nfnl_queue_dump()
104 queue->ce_mask |= QUEUE_ATTR_GROUP; in nfnl_queue_set_group()
109 return !!(queue->ce_mask & QUEUE_ATTR_GROUP); in nfnl_queue_test_group()
120 queue->ce_mask |= QUEUE_ATTR_MAXLEN; in nfnl_queue_set_maxlen()
125 return !!(queue->ce_mask & QUEUE_ATTR_MAXLEN); in nfnl_queue_test_maxlen()
136 queue->ce_mask |= QUEUE_ATTR_COPY_MODE; in nfnl_queue_set_copy_mode()
141 return !!(queue->ce_mask & QUEUE_ATTR_COPY_MODE); in nfnl_queue_test_copy_mode()
[all …]
Dct_obj.c418 ct->ce_mask |= CT_ATTR_FAMILY; in nfnl_ct_set_family()
423 if (ct->ce_mask & CT_ATTR_FAMILY) in nfnl_ct_get_family()
432 ct->ce_mask |= CT_ATTR_PROTO; in nfnl_ct_set_proto()
437 return !!(ct->ce_mask & CT_ATTR_PROTO); in nfnl_ct_test_proto()
448 ct->ce_mask |= CT_ATTR_TCP_STATE; in nfnl_ct_set_tcp_state()
453 return !!(ct->ce_mask & CT_ATTR_TCP_STATE); in nfnl_ct_test_tcp_state()
488 ct->ce_mask |= CT_ATTR_STATUS; in nfnl_ct_set_status()
495 ct->ce_mask |= CT_ATTR_STATUS; in nfnl_ct_unset_status()
500 return !!(ct->ce_mask & CT_ATTR_STATUS); in nfnl_ct_test_status()
536 ct->ce_mask |= CT_ATTR_TIMEOUT; in nfnl_ct_set_timeout()
[all …]
Dexp_obj.c437 exp->ce_mask |= EXP_ATTR_FAMILY; in nfnl_exp_set_family()
442 if (exp->ce_mask & EXP_ATTR_FAMILY) in nfnl_exp_get_family()
451 exp->ce_mask |= EXP_ATTR_FLAGS; in nfnl_exp_set_flags()
456 return !!(exp->ce_mask & EXP_ATTR_FLAGS); in nfnl_exp_test_flags()
462 exp->ce_mask |= EXP_ATTR_FLAGS; in nfnl_exp_unset_flags()
490 exp->ce_mask |= EXP_ATTR_TIMEOUT; in nfnl_exp_set_timeout()
495 return !!(exp->ce_mask & EXP_ATTR_TIMEOUT); in nfnl_exp_test_timeout()
506 exp->ce_mask |= EXP_ATTR_ID; in nfnl_exp_set_id()
511 return !!(exp->ce_mask & EXP_ATTR_ID); in nfnl_exp_test_id()
526 exp->ce_mask |= EXP_ATTR_HELPER_NAME; in nfnl_exp_set_helper_name()
[all …]
/third_party/libnl/lib/route/link/
Dvxlan.c90 uint32_t ce_mask; member
160 vxi->ce_mask |= VXLAN_ATTR_ID; in vxlan_parse()
166 vxi->ce_mask |= VXLAN_ATTR_GROUP6; in vxlan_parse()
172 vxi->ce_mask |= VXLAN_ATTR_GROUP; in vxlan_parse()
173 vxi->ce_mask &= ~VXLAN_ATTR_GROUP6; in vxlan_parse()
178 vxi->ce_mask |= VXLAN_ATTR_LINK; in vxlan_parse()
184 vxi->ce_mask |= VXLAN_ATTR_LOCAL6; in vxlan_parse()
190 vxi->ce_mask |= VXLAN_ATTR_LOCAL; in vxlan_parse()
191 vxi->ce_mask &= ~VXLAN_ATTR_LOCAL6; in vxlan_parse()
196 vxi->ce_mask |= VXLAN_ATTR_TTL; in vxlan_parse()
[all …]
Dmacsec.c63 uint32_t ce_mask; member
110 info->ce_mask = MACSEC_ATTR_CIPHER_SUITE | MACSEC_ATTR_ICV_LEN; in macsec_alloc()
134 info->ce_mask |= MACSEC_ATTR_SCI; in macsec_parse()
139 info->ce_mask |= MACSEC_ATTR_PROTECT; in macsec_parse()
144 info->ce_mask |= MACSEC_ATTR_CIPHER_SUITE; in macsec_parse()
149 info->ce_mask |= MACSEC_ATTR_ICV_LEN; in macsec_parse()
154 info->ce_mask |= MACSEC_ATTR_ENCODING_SA; in macsec_parse()
159 info->ce_mask |= MACSEC_ATTR_VALIDATION; in macsec_parse()
164 info->ce_mask |= MACSEC_ATTR_ENCRYPT; in macsec_parse()
169 info->ce_mask |= MACSEC_ATTR_INC_SCI; in macsec_parse()
[all …]
Dsriov.c110 if (s_vf->ce_mask & SRIOV_ATTR_ADDR) { in rtnl_link_sriov_clone()
119 if (s_vf->ce_mask & SRIOV_ATTR_VLAN) { in rtnl_link_sriov_clone()
179 if (vf_data->ce_mask & SRIOV_ATTR_LINK_STATE) { in dump_vf_details()
184 if (vf_data->ce_mask & SRIOV_ATTR_ADDR) { in dump_vf_details()
207 if (vf_data->ce_mask & SRIOV_ATTR_VLAN) in dump_vf_details()
225 if (vf_data->ce_mask & SRIOV_ATTR_INDEX) in rtnl_link_sriov_dump_details()
270 if (vf_data->ce_mask & SRIOV_ATTR_INDEX) in rtnl_link_sriov_dump_stats()
385 if (!(vf_data->ce_mask & SRIOV_ATTR_INDEX)) in sriov_fill_vfinfo()
392 if (vf_data->ce_mask & SRIOV_ATTR_ADDR) { in sriov_fill_vfinfo()
401 if (vf_data->ce_mask & SRIOV_ATTR_VLAN) { in sriov_fill_vfinfo()
[all …]
Dbridge.c51 uint32_t ce_mask; /* HACK to support attr macros */ member
143 bd->ce_mask |= BRIDGE_ATTR_PORT_STATE; in bridge_parse_protinfo()
156 bd->ce_mask |= BRIDGE_ATTR_PORT_STATE; in bridge_parse_protinfo()
161 bd->ce_mask |= BRIDGE_ATTR_PRIORITY; in bridge_parse_protinfo()
166 bd->ce_mask |= BRIDGE_ATTR_COST; in bridge_parse_protinfo()
197 bd->ce_mask |= BRIDGE_ATTR_HWMODE; in bridge_parse_af_full()
233 bd->ce_mask |= BRIDGE_ATTR_PORT_VLAN; in bridge_parse_af_full()
247 if ((bd->ce_mask & BRIDGE_ATTR_SELF)||(bd->ce_mask & BRIDGE_ATTR_HWMODE)) in bridge_fill_af()
250 if (bd->ce_mask & BRIDGE_ATTR_HWMODE) in bridge_fill_af()
264 if (bd->ce_mask & BRIDGE_ATTR_FLAGS) { in bridge_fill_pi()
[all …]
/third_party/libnl/lib/route/
Drule.c124 rule->ce_mask = (RULE_ATTR_FAMILY | RULE_ATTR_ACTION | RULE_ATTR_FLAGS); in rule_msg_parser()
126 rule->ce_mask |= RULE_ATTR_TABLE; in rule_msg_parser()
131 rule->ce_mask |= RULE_ATTR_DSFIELD; in rule_msg_parser()
137 rule->ce_mask |= RULE_ATTR_TABLE; in rule_msg_parser()
142 rule->ce_mask |= RULE_ATTR_IIFNAME; in rule_msg_parser()
147 rule->ce_mask |= RULE_ATTR_OIFNAME; in rule_msg_parser()
152 rule->ce_mask |= RULE_ATTR_PRIO; in rule_msg_parser()
157 rule->ce_mask |= RULE_ATTR_MARK; in rule_msg_parser()
162 rule->ce_mask |= RULE_ATTR_MASK; in rule_msg_parser()
167 rule->ce_mask |= RULE_ATTR_GOTO; in rule_msg_parser()
[all …]
Dnexthop.c67 nh->ce_mask = src->ce_mask; in rtnl_route_nh_clone()
152 if (nh->ce_mask & NH_ATTR_ENCAP) in nh_dump_line()
155 if (nh->ce_mask & NH_ATTR_NEWDST) in nh_dump_line()
161 if (nh->ce_mask & NH_ATTR_VIA) in nh_dump_line()
165 if (nh->ce_mask & NH_ATTR_GATEWAY) in nh_dump_line()
169 if(nh->ce_mask & NH_ATTR_IFINDEX) { in nh_dump_line()
194 if (nh->ce_mask & NH_ATTR_ENCAP) in nh_dump_details()
197 if (nh->ce_mask & NH_ATTR_NEWDST) in nh_dump_details()
201 if (nh->ce_mask & NH_ATTR_VIA) in nh_dump_details()
205 if (nh->ce_mask & NH_ATTR_GATEWAY) in nh_dump_details()
[all …]
Dlink.c288 if (link->ce_mask & LINK_ATTR_VF_LIST) in link_free_data()
336 if (src->ce_mask & LINK_ATTR_VF_LIST) in link_clone()
430 link->ce_mask |= LINK_ATTR_STATS; in rtnl_link_info_parse()
477 link->ce_mask |= LINK_ATTR_STATS; in rtnl_link_info_parse()
482 link->ce_mask |= LINK_ATTR_TXQLEN; in rtnl_link_info_parse()
487 link->ce_mask |= LINK_ATTR_MTU; in rtnl_link_info_parse()
496 link->ce_mask |= LINK_ATTR_ADDR; in rtnl_link_info_parse()
506 link->ce_mask |= LINK_ATTR_BRD; in rtnl_link_info_parse()
511 link->ce_mask |= LINK_ATTR_LINK; in rtnl_link_info_parse()
516 link->ce_mask |= LINK_ATTR_LINK_NETNSID; in rtnl_link_info_parse()
[all …]
Dneightbl.c76 if (!(a->ce_mask & NEIGHTBL_ATTR_PARMS) && in neightbl_compare()
77 !(b->ce_mask & NEIGHTBL_ATTR_PARMS)) in neightbl_compare()
152 ntbl->ce_mask |= NEIGHTBL_ATTR_NAME; in neightbl_msg_parser()
156 ntbl->ce_mask |= NEIGHTBL_ATTR_THRESH1; in neightbl_msg_parser()
161 ntbl->ce_mask |= NEIGHTBL_ATTR_THRESH2; in neightbl_msg_parser()
166 ntbl->ce_mask |= NEIGHTBL_ATTR_THRESH3; in neightbl_msg_parser()
171 ntbl->ce_mask |= NEIGHTBL_ATTR_GC_INTERVAL; in neightbl_msg_parser()
177 ntbl->ce_mask |= NEIGHTBL_ATTR_CONFIG; in neightbl_msg_parser()
183 ntbl->ce_mask |= NEIGHTBL_ATTR_STATS; in neightbl_msg_parser()
217 ntbl->ce_mask |= NEIGHTBL_ATTR_PARMS; in neightbl_msg_parser()
[all …]
Daddr.c225 addr->ce_mask = (ADDR_ATTR_FAMILY | ADDR_ATTR_PREFIXLEN | in addr_msg_parser()
230 addr->ce_mask |= ADDR_ATTR_LABEL; in addr_msg_parser()
242 addr->ce_mask |= ADDR_ATTR_CACHEINFO; in addr_msg_parser()
256 addr->ce_mask |= ADDR_ATTR_LOCAL; in addr_msg_parser()
275 addr->ce_mask |= ADDR_ATTR_PEER; in addr_msg_parser()
283 addr->ce_mask |= ADDR_ATTR_LOCAL; in addr_msg_parser()
300 addr->ce_mask |= ADDR_ATTR_LOCAL; in addr_msg_parser()
303 addr->ce_mask |= ADDR_ATTR_PEER; in addr_msg_parser()
319 addr->ce_mask |= ADDR_ATTR_BROADCAST; in addr_msg_parser()
329 addr->ce_mask |= ADDR_ATTR_MULTICAST; in addr_msg_parser()
[all …]
Dnetconf.c138 nc->ce_mask = NETCONF_ATTR_FAMILY | NETCONF_ATTR_IFINDEX; in netconf_msg_parser()
144 nc->ce_mask |= NETCONF_ATTR_RP_FILTER; in netconf_msg_parser()
150 nc->ce_mask |= NETCONF_ATTR_FWDING; in netconf_msg_parser()
156 nc->ce_mask |= NETCONF_ATTR_MC_FWDING; in netconf_msg_parser()
162 nc->ce_mask |= NETCONF_ATTR_PROXY_NEIGH; in netconf_msg_parser()
168 nc->ce_mask |= NETCONF_ATTR_IGNORE_RT_LINKDWN; in netconf_msg_parser()
174 nc->ce_mask |= NETCONF_ATTR_INPUT; in netconf_msg_parser()
230 if (nc->ce_mask & NETCONF_ATTR_FWDING) { in netconf_dump_line()
235 if (nc->ce_mask & NETCONF_ATTR_RP_FILTER) { in netconf_dump_line()
246 if (nc->ce_mask & NETCONF_ATTR_MC_FWDING) { in netconf_dump_line()
[all …]
Dneigh.c324 ((neigh->ce_mask & NEIGH_ATTR_DST) ? NEIGH_ATTR_DST: 0) | in neigh_id_attrs_get()
325 ((neigh->ce_mask & NEIGH_ATTR_VLAN) ? NEIGH_ATTR_VLAN : 0)); in neigh_id_attrs_get()
379 neigh->ce_mask |= (NEIGH_ATTR_FAMILY | NEIGH_ATTR_IFINDEX | in rtnl_neigh_parse()
391 neigh->ce_mask |= NEIGH_ATTR_LLADDR; in rtnl_neigh_parse()
402 neigh->ce_mask |= NEIGH_ATTR_DST; in rtnl_neigh_parse()
413 neigh->ce_mask |= NEIGH_ATTR_CACHEINFO; in rtnl_neigh_parse()
418 neigh->ce_mask |= NEIGH_ATTR_PROBES; in rtnl_neigh_parse()
423 neigh->ce_mask |= NEIGH_ATTR_VLAN; in rtnl_neigh_parse()
432 neigh->ce_mask |= NEIGH_ATTR_MASTER; in rtnl_neigh_parse()
441 neigh->ce_mask |= NEIGH_ATTR_MASTER; in rtnl_neigh_parse()
[all …]
Droute_obj.c149 if (!(r->ce_mask & ROUTE_ATTR_DST) || in route_dump_line()
155 if (r->ce_mask & ROUTE_ATTR_TABLE && !cache) in route_dump_line()
159 if (r->ce_mask & ROUTE_ATTR_TYPE) in route_dump_line()
163 if (r->ce_mask & ROUTE_ATTR_TOS && r->rt_tos != 0) in route_dump_line()
166 if (r->ce_mask & ROUTE_ATTR_MULTIPATH) { in route_dump_line()
176 if (r->ce_mask & ROUTE_ATTR_FLAGS && flags) { in route_dump_line()
224 if (r->ce_mask & ROUTE_ATTR_PREF_SRC) in route_dump_details()
228 if (r->ce_mask & ROUTE_ATTR_SCOPE && r->rt_scope != RT_SCOPE_NOWHERE) in route_dump_details()
232 if (r->ce_mask & ROUTE_ATTR_PRIO) in route_dump_details()
235 if (r->ce_mask & ROUTE_ATTR_PROTOCOL) in route_dump_details()
[all …]
Dtc.c47 if (g->ce_mask & TCA_ATTR_OPTS) in tca_parse()
96 tc->ce_mask |= (TCA_ATTR_FAMILY | TCA_ATTR_IFINDEX | TCA_ATTR_HANDLE| in rtnl_tc_msg_parse()
103 tc->ce_mask |= TCA_ATTR_OPTS; in rtnl_tc_msg_parse()
141 tc->ce_mask |= TCA_ATTR_STATS; in rtnl_tc_msg_parse()
147 tc->ce_mask |= TCA_ATTR_XSTATS; in rtnl_tc_msg_parse()
163 tc->ce_mask |= TCA_ATTR_STATS; in rtnl_tc_msg_parse()
171 tc->ce_mask |= TCA_ATTR_XSTATS; in rtnl_tc_msg_parse()
223 if (tc->ce_mask & TCA_ATTR_KIND) in rtnl_tc_msg_build()
226 if (tc->ce_mask & TCA_ATTR_CHAIN) in rtnl_tc_msg_build()
284 tc->ce_mask &= ~TCA_ATTR_LINK; in rtnl_tc_set_ifindex()
[all …]
/third_party/libnl/lib/xfrm/
Dae.c373 if (!(tmpl->ce_mask & XFRM_AE_ATTR_DADDR) || in build_xfrm_ae_message()
374 !(tmpl->ce_mask & XFRM_AE_ATTR_SPI) || in build_xfrm_ae_message()
375 !(tmpl->ce_mask & XFRM_AE_ATTR_PROTO)) in build_xfrm_ae_message()
383 if (tmpl->ce_mask & XFRM_AE_ATTR_SADDR) in build_xfrm_ae_message()
386 if (tmpl->ce_mask & XFRM_AE_ATTR_FLAGS) in build_xfrm_ae_message()
389 if (tmpl->ce_mask & XFRM_AE_ATTR_REQID) in build_xfrm_ae_message()
399 if (tmpl->ce_mask & XFRM_AE_ATTR_MARK) in build_xfrm_ae_message()
402 if (tmpl->ce_mask & XFRM_AE_ATTR_LIFETIME) in build_xfrm_ae_message()
405 if (tmpl->ce_mask & XFRM_AE_ATTR_REPLAY_MAXAGE) in build_xfrm_ae_message()
408 if (tmpl->ce_mask & XFRM_AE_ATTR_REPLAY_MAXDIFF) in build_xfrm_ae_message()
[all …]
Dsa.c500 if (sa->ce_mask & XFRM_SA_ATTR_TFCPAD) in xfrm_sa_dump_line()
503 if (sa->ce_mask & XFRM_SA_ATTR_COADDR) in xfrm_sa_dump_line()
506 if (sa->ce_mask & XFRM_SA_ATTR_MARK) in xfrm_sa_dump_line()
509 if (sa->ce_mask & XFRM_SA_ATTR_SECCTX) in xfrm_sa_dump_line()
516 if (sa->ce_mask & XFRM_SA_ATTR_REPLAY_STATE) in xfrm_sa_dump_line()
681 sa->ce_mask |= XFRM_SA_ATTR_EXPIRE; in xfrmnl_sa_parse()
720 sa->ce_mask |= XFRM_SA_ATTR_SEL; in xfrmnl_sa_parse()
728 sa->ce_mask |= (XFRM_SA_ATTR_DADDR | XFRM_SA_ATTR_SPI | XFRM_SA_ATTR_PROTO); in xfrmnl_sa_parse()
734 sa->ce_mask |= XFRM_SA_ATTR_SADDR; in xfrmnl_sa_parse()
744 sa->ce_mask |= XFRM_SA_ATTR_LTIME_CFG; in xfrmnl_sa_parse()
[all …]
Dsp.c393 if (sp->ce_mask & XFRM_SP_ATTR_SECCTX) in xfrm_sp_dump_line()
403 if (sp->ce_mask & XFRM_SP_ATTR_POLTYPE) in xfrm_sp_dump_line()
406 if (sp->ce_mask & XFRM_SP_ATTR_TMPL) in xfrm_sp_dump_line()
416 if (sp->ce_mask & XFRM_SP_ATTR_MARK) in xfrm_sp_dump_line()
573 sp->ce_mask |= XFRM_SP_ATTR_SEL; in xfrmnl_sp_parse()
583 sp->ce_mask |= XFRM_SP_ATTR_LTIME_CFG; in xfrmnl_sp_parse()
589 sp->ce_mask |= XFRM_SP_ATTR_LTIME_CUR; in xfrmnl_sp_parse()
597 sp->ce_mask |= (XFRM_SP_ATTR_PRIO | XFRM_SP_ATTR_INDEX | in xfrmnl_sp_parse()
610 sp->ce_mask |= XFRM_SP_ATTR_SECCTX; in xfrmnl_sp_parse()
616 sp->ce_mask |= XFRM_SP_ATTR_POLTYPE; in xfrmnl_sp_parse()
[all …]
/third_party/libnl/lib/fib_lookup/
Drequest.c98 req->ce_mask |= REQUEST_ATTR_FWMARK; in flnl_request_set_fwmark()
103 if (req->ce_mask & REQUEST_ATTR_FWMARK) in flnl_request_get_fwmark()
112 req->ce_mask |= REQUEST_ATTR_TOS; in flnl_request_set_tos()
117 if (req->ce_mask & REQUEST_ATTR_TOS) in flnl_request_get_tos()
126 req->ce_mask |= REQUEST_ATTR_SCOPE; in flnl_request_set_scope()
131 if (req->ce_mask & REQUEST_ATTR_SCOPE) in flnl_request_get_scope()
140 req->ce_mask |= REQUEST_ATTR_TABLE; in flnl_request_set_table()
145 if (req->ce_mask & REQUEST_ATTR_TABLE) in flnl_request_get_table()
162 req->ce_mask |= REQUEST_ATTR_ADDR; in flnl_request_set_addr()
169 if (req->ce_mask & REQUEST_ATTR_ADDR) in flnl_request_get_addr()
/third_party/libnl/lib/idiag/
Didiag_msg_obj.c182 msg->ce_mask |= IDIAGNL_ATTR_FAMILY; in idiagnl_msg_set_family()
193 msg->ce_mask |= IDIAGNL_ATTR_STATE; in idiagnl_msg_set_state()
204 msg->ce_mask |= IDIAGNL_ATTR_TIMER; in idiagnl_msg_set_timer()
215 msg->ce_mask |= IDIAGNL_ATTR_RETRANS; in idiagnl_msg_set_retrans()
226 msg->ce_mask |= IDIAGNL_ATTR_SPORT; in idiagnl_msg_set_sport()
237 msg->ce_mask |= IDIAGNL_ATTR_DPORT; in idiagnl_msg_set_dport()
252 msg->ce_mask |= IDIAGNL_ATTR_SRC; in idiagnl_msg_set_src()
269 msg->ce_mask |= IDIAGNL_ATTR_DST; in idiagnl_msg_set_dst()
282 msg->ce_mask |= IDIAGNL_ATTR_IFINDEX; in idiagnl_msg_set_ifindex()
293 msg->ce_mask |= IDIAGNL_ATTR_EXPIRES; in idiagnl_msg_set_expires()
[all …]
/third_party/libnl/lib/genl/
Dfamily.c122 if (family->ce_mask & FAMILY_ATTR_OPS) { in family_dump_details()
218 if (family->ce_mask & FAMILY_ATTR_ID) in genl_family_get_id()
232 family->ce_mask |= FAMILY_ATTR_ID; in genl_family_set_id()
250 if (family->ce_mask & FAMILY_ATTR_NAME) in genl_family_get_name()
264 family->ce_mask |= FAMILY_ATTR_NAME; in genl_family_set_name()
280 if (family->ce_mask & FAMILY_ATTR_VERSION) in genl_family_get_version()
294 family->ce_mask |= FAMILY_ATTR_VERSION; in genl_family_set_version()
312 if (family->ce_mask & FAMILY_ATTR_HDRSIZE) in genl_family_get_hdrsize()
321 family->ce_mask |= FAMILY_ATTR_HDRSIZE; in genl_family_set_hdrsize()
333 if (family->ce_mask & FAMILY_ATTR_MAXATTR) in genl_family_get_maxattr()
[all …]

12