/external/iw/ |
D | event.c | 18 static int parse_beacon_hint_chan(struct nlattr *tb, in parse_beacon_hint_chan() argument 30 tb, in parse_beacon_hint_chan() 209 struct nlattr *tb[NUM_NL80211_WOWLAN_TRIG], in parse_wowlan_wake_event() local 218 nla_parse(tb, MAX_NL80211_WOWLAN_TRIG, in parse_wowlan_wake_event() 222 if (tb[NL80211_WOWLAN_TRIG_DISCONNECT]) in parse_wowlan_wake_event() 224 if (tb[NL80211_WOWLAN_TRIG_MAGIC_PKT]) in parse_wowlan_wake_event() 226 if (tb[NL80211_WOWLAN_TRIG_PKT_PATTERN]) in parse_wowlan_wake_event() 228 nla_get_u32(tb[NL80211_WOWLAN_TRIG_PKT_PATTERN])); in parse_wowlan_wake_event() 229 if (tb[NL80211_WOWLAN_TRIG_GTK_REKEY_FAILURE]) in parse_wowlan_wake_event() 231 if (tb[NL80211_WOWLAN_TRIG_EAP_IDENT_REQUEST]) in parse_wowlan_wake_event() [all …]
|
/external/javassist/src/main/javassist/bytecode/stackmap/ |
D | Liveness.java | 61 private void computeLiveness1(TypedBlock tb) { in computeLiveness1() argument 62 if (tb.updating) { in computeLiveness1() 64 computeLiveness1u(tb); in computeLiveness1() 68 if (tb.inputs != null) in computeLiveness1() 71 tb.updating = true; in computeLiveness1() 72 byte[] usage = tb.localsUsage; in computeLiveness1() 78 BasicBlock.Catch handlers = tb.toCatch; in computeLiveness1() 89 if (tb.exit != null) { in computeLiveness1() 90 for (int i = 0; i < tb.exit.length; i++) { in computeLiveness1() 91 TypedBlock e = (TypedBlock)tb.exit[i]; in computeLiveness1() [all …]
|
/external/libnl/lib/netfilter/ |
D | ct.c | 107 struct nlattr *tb[CTA_IP_MAX+1]; in ct_parse_ip() local 111 err = nla_parse_nested(tb, CTA_IP_MAX, attr, ct_ip_policy); in ct_parse_ip() 115 if (tb[CTA_IP_V4_SRC]) { in ct_parse_ip() 116 addr = nl_addr_alloc_attr(tb[CTA_IP_V4_SRC], AF_INET); in ct_parse_ip() 124 if (tb[CTA_IP_V4_DST]) { in ct_parse_ip() 125 addr = nl_addr_alloc_attr(tb[CTA_IP_V4_DST], AF_INET); in ct_parse_ip() 133 if (tb[CTA_IP_V6_SRC]) { in ct_parse_ip() 134 addr = nl_addr_alloc_attr(tb[CTA_IP_V6_SRC], AF_INET6); in ct_parse_ip() 142 if (tb[CTA_IP_V6_DST]) { in ct_parse_ip() 143 addr = nl_addr_alloc_attr(tb[CTA_IP_V6_DST], AF_INET6); in ct_parse_ip() [all …]
|
/external/opencv3/3rdparty/jinja2/ |
D | debug.py | 39 def __init__(self, tb): argument 40 self.tb = tb 50 tb_set_next(self.tb, next and next.tb or None) 60 return '__jinja_template__' in self.tb.tb_frame.f_globals 63 return getattr(self.tb, name) 91 for tb in self.frames: 93 prev_tb.set_next(tb) 94 prev_tb = tb 124 tb = self.frames[0] 127 if type(tb) is not TracebackType: [all …]
|
/external/iproute2/ip/ |
D | iplink_bond_slave.c | 25 static void print_slave_state(FILE *f, struct rtattr *tb) in print_slave_state() argument 27 unsigned int state = rta_getattr_u8(tb); in print_slave_state() 42 static void print_slave_mii_status(FILE *f, struct rtattr *tb) in print_slave_mii_status() argument 44 unsigned int status = rta_getattr_u8(tb); in print_slave_mii_status() 52 static void bond_slave_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[]) in bond_slave_print_opt() argument 55 if (!tb) in bond_slave_print_opt() 58 if (tb[IFLA_BOND_SLAVE_STATE]) in bond_slave_print_opt() 59 print_slave_state(f, tb[IFLA_BOND_SLAVE_STATE]); in bond_slave_print_opt() 61 if (tb[IFLA_BOND_SLAVE_MII_STATUS]) in bond_slave_print_opt() 62 print_slave_mii_status(f, tb[IFLA_BOND_SLAVE_MII_STATUS]); in bond_slave_print_opt() [all …]
|
D | iplink_bond.c | 369 static void bond_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[]) in bond_print_opt() argument 373 if (!tb) in bond_print_opt() 376 if (tb[IFLA_BOND_MODE]) { in bond_print_opt() 378 rta_getattr_u8(tb[IFLA_BOND_MODE])); in bond_print_opt() 382 if (tb[IFLA_BOND_ACTIVE_SLAVE] && in bond_print_opt() 383 (ifindex = rta_getattr_u32(tb[IFLA_BOND_ACTIVE_SLAVE]))) { in bond_print_opt() 393 if (tb[IFLA_BOND_MIIMON]) in bond_print_opt() 394 fprintf(f, "miimon %u ", rta_getattr_u32(tb[IFLA_BOND_MIIMON])); in bond_print_opt() 396 if (tb[IFLA_BOND_UPDELAY]) in bond_print_opt() 397 fprintf(f, "updelay %u ", rta_getattr_u32(tb[IFLA_BOND_UPDELAY])); in bond_print_opt() [all …]
|
D | iplink_vxlan.c | 306 static void vxlan_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[]) in vxlan_print_opt() argument 315 if (!tb) in vxlan_print_opt() 318 if (!tb[IFLA_VXLAN_ID] || in vxlan_print_opt() 319 RTA_PAYLOAD(tb[IFLA_VXLAN_ID]) < sizeof(__u32)) in vxlan_print_opt() 322 vni = rta_getattr_u32(tb[IFLA_VXLAN_ID]); in vxlan_print_opt() 325 if (tb[IFLA_VXLAN_GROUP]) { in vxlan_print_opt() 326 __be32 addr = rta_getattr_u32(tb[IFLA_VXLAN_GROUP]); in vxlan_print_opt() 335 } else if (tb[IFLA_VXLAN_GROUP6]) { in vxlan_print_opt() 337 memcpy(&addr, RTA_DATA(tb[IFLA_VXLAN_GROUP6]), sizeof(struct in6_addr)); in vxlan_print_opt() 348 if (tb[IFLA_VXLAN_LOCAL]) { in vxlan_print_opt() [all …]
|
D | iplink_hsr.c | 83 static void hsr_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[]) in hsr_print_opt() argument 87 if (!tb) in hsr_print_opt() 90 if (tb[IFLA_HSR_SLAVE1] && in hsr_print_opt() 91 RTA_PAYLOAD(tb[IFLA_HSR_SLAVE1]) < sizeof(__u32)) in hsr_print_opt() 93 if (tb[IFLA_HSR_SLAVE2] && in hsr_print_opt() 94 RTA_PAYLOAD(tb[IFLA_HSR_SLAVE2]) < sizeof(__u32)) in hsr_print_opt() 96 if (tb[IFLA_HSR_SEQ_NR] && in hsr_print_opt() 97 RTA_PAYLOAD(tb[IFLA_HSR_SEQ_NR]) < sizeof(__u16)) in hsr_print_opt() 99 if (tb[IFLA_HSR_SUPERVISION_ADDR] && in hsr_print_opt() 100 RTA_PAYLOAD(tb[IFLA_HSR_SUPERVISION_ADDR]) < ETH_ALEN) in hsr_print_opt() [all …]
|
D | iproute_lwtunnel.c | 60 struct rtattr *tb[MPLS_IPTUNNEL_MAX+1]; in print_encap_mpls() local 63 parse_rtattr_nested(tb, MPLS_IPTUNNEL_MAX, encap); in print_encap_mpls() 65 if (tb[MPLS_IPTUNNEL_DST]) in print_encap_mpls() 67 RTA_PAYLOAD(tb[MPLS_IPTUNNEL_DST]), in print_encap_mpls() 68 RTA_DATA(tb[MPLS_IPTUNNEL_DST]), in print_encap_mpls() 74 struct rtattr *tb[LWTUNNEL_IP_MAX+1]; in print_encap_ip() local 77 parse_rtattr_nested(tb, LWTUNNEL_IP_MAX, encap); in print_encap_ip() 79 if (tb[LWTUNNEL_IP_ID]) in print_encap_ip() 80 fprintf(fp, "id %llu ", ntohll(rta_getattr_u64(tb[LWTUNNEL_IP_ID]))); in print_encap_ip() 82 if (tb[LWTUNNEL_IP_SRC]) in print_encap_ip() [all …]
|
D | ipmroute.c | 49 int tb; member 61 struct rtattr * tb[RTA_MAX+1]; in print_mroute() local 86 parse_rtattr(tb, RTA_MAX, RTM_RTA(r), len); in print_mroute() 87 table = rtm_get_table(r, tb); in print_mroute() 89 if (filter.tb > 0 && filter.tb != table) in print_mroute() 92 if (tb[RTA_IIF]) in print_mroute() 93 iif = *(int*)RTA_DATA(tb[RTA_IIF]); in print_mroute() 100 if (tb[RTA_DST] && filter.mdst.bitlen > 0) { in print_mroute() 105 memcpy(&dst.data, RTA_DATA(tb[RTA_DST]), RTA_PAYLOAD(tb[RTA_DST])); in print_mroute() 110 if (tb[RTA_SRC] && filter.msrc.bitlen > 0) { in print_mroute() [all …]
|
D | iplink_bridge_slave.c | 62 struct rtattr *tb[]) in bridge_slave_print_opt() argument 64 if (!tb) in bridge_slave_print_opt() 67 if (tb[IFLA_BRPORT_STATE]) in bridge_slave_print_opt() 68 print_portstate(f, rta_getattr_u8(tb[IFLA_BRPORT_STATE])); in bridge_slave_print_opt() 70 if (tb[IFLA_BRPORT_PRIORITY]) in bridge_slave_print_opt() 72 rta_getattr_u16(tb[IFLA_BRPORT_PRIORITY])); in bridge_slave_print_opt() 74 if (tb[IFLA_BRPORT_COST]) in bridge_slave_print_opt() 76 rta_getattr_u32(tb[IFLA_BRPORT_COST])); in bridge_slave_print_opt() 78 if (tb[IFLA_BRPORT_MODE]) in bridge_slave_print_opt() 80 rta_getattr_u8(tb[IFLA_BRPORT_MODE])); in bridge_slave_print_opt() [all …]
|
D | iplink_bridge.c | 118 static void bridge_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[]) in bridge_print_opt() argument 120 if (!tb) in bridge_print_opt() 123 if (tb[IFLA_BR_FORWARD_DELAY]) in bridge_print_opt() 125 rta_getattr_u32(tb[IFLA_BR_FORWARD_DELAY])); in bridge_print_opt() 127 if (tb[IFLA_BR_HELLO_TIME]) in bridge_print_opt() 129 rta_getattr_u32(tb[IFLA_BR_HELLO_TIME])); in bridge_print_opt() 131 if (tb[IFLA_BR_MAX_AGE]) in bridge_print_opt() 133 rta_getattr_u32(tb[IFLA_BR_MAX_AGE])); in bridge_print_opt() 135 if (tb[IFLA_BR_AGEING_TIME]) in bridge_print_opt() 137 rta_getattr_u32(tb[IFLA_BR_AGEING_TIME])); in bridge_print_opt() [all …]
|
D | iprule.c | 57 struct rtattr * tb[FRA_MAX+1]; in print_rule() local 68 parse_rtattr(tb, FRA_MAX, RTM_RTA(r), len); in print_rule() 75 if (tb[FRA_PRIORITY]) in print_rule() 76 fprintf(fp, "%u:\t", *(unsigned*)RTA_DATA(tb[FRA_PRIORITY])); in print_rule() 83 if (tb[FRA_SRC]) { in print_rule() 86 RTA_PAYLOAD(tb[FRA_SRC]), in print_rule() 87 RTA_DATA(tb[FRA_SRC]), in print_rule() 93 RTA_PAYLOAD(tb[FRA_SRC]), in print_rule() 94 RTA_DATA(tb[FRA_SRC]), in print_rule() 104 if (tb[FRA_DST]) { in print_rule() [all …]
|
D | link_gre.c | 59 struct rtattr *tb[IFLA_MAX + 1]; in gre_parse_opt() local 100 parse_rtattr(tb, IFLA_MAX, IFLA_RTA(&req.i), len); in gre_parse_opt() 102 if (!tb[IFLA_LINKINFO]) in gre_parse_opt() 105 parse_rtattr_nested(linkinfo, IFLA_INFO_MAX, tb[IFLA_LINKINFO]); in gre_parse_opt() 340 static void gre_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[]) in gre_print_opt() argument 349 if (!tb) in gre_print_opt() 352 if (tb[IFLA_GRE_REMOTE]) { in gre_print_opt() 353 unsigned addr = rta_getattr_u32(tb[IFLA_GRE_REMOTE]); in gre_print_opt() 361 if (tb[IFLA_GRE_LOCAL]) { in gre_print_opt() 362 unsigned addr = rta_getattr_u32(tb[IFLA_GRE_LOCAL]); in gre_print_opt() [all …]
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_nl80211_event.c | 878 struct nlattr *tb[]) in mlme_event_michael_mic_failure() argument 884 if (tb[NL80211_ATTR_MAC]) { in mlme_event_michael_mic_failure() 886 nla_data(tb[NL80211_ATTR_MAC]), in mlme_event_michael_mic_failure() 887 nla_len(tb[NL80211_ATTR_MAC])); in mlme_event_michael_mic_failure() 888 data.michael_mic_failure.src = nla_data(tb[NL80211_ATTR_MAC]); in mlme_event_michael_mic_failure() 890 if (tb[NL80211_ATTR_KEY_SEQ]) { in mlme_event_michael_mic_failure() 892 nla_data(tb[NL80211_ATTR_KEY_SEQ]), in mlme_event_michael_mic_failure() 893 nla_len(tb[NL80211_ATTR_KEY_SEQ])); in mlme_event_michael_mic_failure() 895 if (tb[NL80211_ATTR_KEY_TYPE]) { in mlme_event_michael_mic_failure() 897 nla_get_u32(tb[NL80211_ATTR_KEY_TYPE]); in mlme_event_michael_mic_failure() [all …]
|
D | driver_nl80211_capa.c | 103 struct nlattr *tb) in wiphy_info_supported_iftypes() argument 108 if (tb == NULL) in wiphy_info_supported_iftypes() 111 nla_for_each_nested(nl_mode, tb, i) { in wiphy_info_supported_iftypes() 206 struct nlattr *tb) in wiphy_info_iface_comb() argument 211 if (tb == NULL) in wiphy_info_iface_comb() 214 nla_for_each_nested(nl_combi, tb, rem_combi) { in wiphy_info_iface_comb() 222 struct nlattr *tb) in wiphy_info_supp_cmds() argument 227 if (tb == NULL) in wiphy_info_supp_cmds() 230 nla_for_each_nested(nl_cmd, tb, i) { in wiphy_info_supp_cmds() 256 struct nlattr *tb) in wiphy_info_cipher_suites() argument [all …]
|
/external/iproute2/tc/ |
D | q_fq.c | 214 struct rtattr *tb[TCA_FQ_MAX + 1]; in fq_print_opt() local 226 parse_rtattr_nested(tb, TCA_FQ_MAX, opt); in fq_print_opt() 228 if (tb[TCA_FQ_PLIMIT] && in fq_print_opt() 229 RTA_PAYLOAD(tb[TCA_FQ_PLIMIT]) >= sizeof(__u32)) { in fq_print_opt() 230 plimit = rta_getattr_u32(tb[TCA_FQ_PLIMIT]); in fq_print_opt() 233 if (tb[TCA_FQ_FLOW_PLIMIT] && in fq_print_opt() 234 RTA_PAYLOAD(tb[TCA_FQ_FLOW_PLIMIT]) >= sizeof(__u32)) { in fq_print_opt() 235 flow_plimit = rta_getattr_u32(tb[TCA_FQ_FLOW_PLIMIT]); in fq_print_opt() 238 if (tb[TCA_FQ_BUCKETS_LOG] && in fq_print_opt() 239 RTA_PAYLOAD(tb[TCA_FQ_BUCKETS_LOG]) >= sizeof(__u32)) { in fq_print_opt() [all …]
|
D | q_hhf.c | 122 struct rtattr *tb[TCA_HHF_MAX + 1]; in hhf_print_opt() local 135 parse_rtattr_nested(tb, TCA_HHF_MAX, opt); in hhf_print_opt() 137 if (tb[TCA_HHF_BACKLOG_LIMIT] && in hhf_print_opt() 138 RTA_PAYLOAD(tb[TCA_HHF_BACKLOG_LIMIT]) >= sizeof(__u32)) { in hhf_print_opt() 139 limit = rta_getattr_u32(tb[TCA_HHF_BACKLOG_LIMIT]); in hhf_print_opt() 142 if (tb[TCA_HHF_QUANTUM] && in hhf_print_opt() 143 RTA_PAYLOAD(tb[TCA_HHF_QUANTUM]) >= sizeof(__u32)) { in hhf_print_opt() 144 quantum = rta_getattr_u32(tb[TCA_HHF_QUANTUM]); in hhf_print_opt() 147 if (tb[TCA_HHF_HH_FLOWS_LIMIT] && in hhf_print_opt() 148 RTA_PAYLOAD(tb[TCA_HHF_HH_FLOWS_LIMIT]) >= sizeof(__u32)) { in hhf_print_opt() [all …]
|
D | q_pie.c | 133 struct rtattr *tb[TCA_PIE_MAX + 1]; in pie_print_opt() local 146 parse_rtattr_nested(tb, TCA_PIE_MAX, opt); in pie_print_opt() 148 if (tb[TCA_PIE_LIMIT] && in pie_print_opt() 149 RTA_PAYLOAD(tb[TCA_PIE_LIMIT]) >= sizeof(__u32)) { in pie_print_opt() 150 limit = rta_getattr_u32(tb[TCA_PIE_LIMIT]); in pie_print_opt() 153 if (tb[TCA_PIE_TARGET] && in pie_print_opt() 154 RTA_PAYLOAD(tb[TCA_PIE_TARGET]) >= sizeof(__u32)) { in pie_print_opt() 155 target = rta_getattr_u32(tb[TCA_PIE_TARGET]); in pie_print_opt() 158 if (tb[TCA_PIE_TUPDATE] && in pie_print_opt() 159 RTA_PAYLOAD(tb[TCA_PIE_TUPDATE]) >= sizeof(__u32)) { in pie_print_opt() [all …]
|
D | f_tcindex.c | 132 struct rtattr *tb[TCA_TCINDEX_MAX+1]; in tcindex_print_opt() local 137 parse_rtattr_nested(tb, TCA_TCINDEX_MAX, opt); in tcindex_print_opt() 140 if (tb[TCA_TCINDEX_HASH]) { in tcindex_print_opt() 143 if (RTA_PAYLOAD(tb[TCA_TCINDEX_HASH]) < sizeof(hash)) in tcindex_print_opt() 145 hash = rta_getattr_u16(tb[TCA_TCINDEX_HASH]); in tcindex_print_opt() 148 if (tb[TCA_TCINDEX_MASK]) { in tcindex_print_opt() 151 if (RTA_PAYLOAD(tb[TCA_TCINDEX_MASK]) < sizeof(mask)) in tcindex_print_opt() 153 mask = rta_getattr_u16(tb[TCA_TCINDEX_MASK]); in tcindex_print_opt() 156 if (tb[TCA_TCINDEX_SHIFT]) { in tcindex_print_opt() 159 if (RTA_PAYLOAD(tb[TCA_TCINDEX_SHIFT]) < sizeof(shift)) in tcindex_print_opt() [all …]
|
D | q_fq_codel.c | 146 struct rtattr *tb[TCA_FQ_CODEL_MAX + 1]; in fq_codel_print_opt() local 159 parse_rtattr_nested(tb, TCA_FQ_CODEL_MAX, opt); in fq_codel_print_opt() 161 if (tb[TCA_FQ_CODEL_LIMIT] && in fq_codel_print_opt() 162 RTA_PAYLOAD(tb[TCA_FQ_CODEL_LIMIT]) >= sizeof(__u32)) { in fq_codel_print_opt() 163 limit = rta_getattr_u32(tb[TCA_FQ_CODEL_LIMIT]); in fq_codel_print_opt() 166 if (tb[TCA_FQ_CODEL_FLOWS] && in fq_codel_print_opt() 167 RTA_PAYLOAD(tb[TCA_FQ_CODEL_FLOWS]) >= sizeof(__u32)) { in fq_codel_print_opt() 168 flows = rta_getattr_u32(tb[TCA_FQ_CODEL_FLOWS]); in fq_codel_print_opt() 171 if (tb[TCA_FQ_CODEL_QUANTUM] && in fq_codel_print_opt() 172 RTA_PAYLOAD(tb[TCA_FQ_CODEL_QUANTUM]) >= sizeof(__u32)) { in fq_codel_print_opt() [all …]
|
D | q_dsmark.c | 134 struct rtattr *tb[TCA_DSMARK_MAX+1]; in dsmark_print_opt() local 137 memset(tb, 0, sizeof(tb)); in dsmark_print_opt() 138 parse_rtattr(tb, TCA_DSMARK_MAX, RTA_DATA(opt), RTA_PAYLOAD(opt)); in dsmark_print_opt() 139 if (tb[TCA_DSMARK_MASK]) { in dsmark_print_opt() 140 if (!RTA_PAYLOAD(tb[TCA_DSMARK_MASK])) in dsmark_print_opt() 143 rta_getattr_u8(tb[TCA_DSMARK_MASK])); in dsmark_print_opt() 145 if (tb[TCA_DSMARK_VALUE]) { in dsmark_print_opt() 146 if (!RTA_PAYLOAD(tb[TCA_DSMARK_VALUE])) in dsmark_print_opt() 149 rta_getattr_u8(tb[TCA_DSMARK_VALUE])); in dsmark_print_opt() 151 if (tb[TCA_DSMARK_INDICES]) { in dsmark_print_opt() [all …]
|
D | f_flow.c | 272 struct rtattr *tb[TCA_FLOW_MAX+1]; in flow_print_opt() local 280 parse_rtattr_nested(tb, TCA_FLOW_MAX, opt); in flow_print_opt() 284 if (tb[TCA_FLOW_MODE]) { in flow_print_opt() 285 __u32 mode = rta_getattr_u32(tb[TCA_FLOW_MODE]); in flow_print_opt() 297 if (tb[TCA_FLOW_KEYS]) { in flow_print_opt() 298 __u32 keymask = rta_getattr_u32(tb[TCA_FLOW_KEYS]); in flow_print_opt() 311 if (tb[TCA_FLOW_MASK]) in flow_print_opt() 312 mask = rta_getattr_u32(tb[TCA_FLOW_MASK]); in flow_print_opt() 313 if (tb[TCA_FLOW_XOR]) in flow_print_opt() 314 val = rta_getattr_u32(tb[TCA_FLOW_XOR]); in flow_print_opt() [all …]
|
D | f_bpf.c | 153 struct rtattr *tb[TCA_BPF_MAX + 1]; in bpf_print_opt() local 158 parse_rtattr_nested(tb, TCA_BPF_MAX, opt); in bpf_print_opt() 163 if (tb[TCA_BPF_CLASSID]) { in bpf_print_opt() 166 sprint_tc_classid(rta_getattr_u32(tb[TCA_BPF_CLASSID]), b1)); in bpf_print_opt() 169 if (tb[TCA_BPF_NAME]) in bpf_print_opt() 170 fprintf(f, "%s ", rta_getattr_str(tb[TCA_BPF_NAME])); in bpf_print_opt() 171 else if (tb[TCA_BPF_FD]) in bpf_print_opt() 172 fprintf(f, "pfd %u ", rta_getattr_u32(tb[TCA_BPF_FD])); in bpf_print_opt() 174 if (tb[TCA_BPF_FLAGS]) { in bpf_print_opt() 175 unsigned int flags = rta_getattr_u32(tb[TCA_BPF_FLAGS]); in bpf_print_opt() [all …]
|
/external/iproute2/genl/ |
D | ctrl.c | 76 struct rtattr *tb[CTRL_ATTR_MAX + 1]; in genl_ctrl_resolve_family() local 100 parse_rtattr(tb, CTRL_ATTR_MAX, attrs, len); in genl_ctrl_resolve_family() 102 if (tb[CTRL_ATTR_FAMILY_ID] == NULL) { in genl_ctrl_resolve_family() 107 ret = rta_getattr_u16(tb[CTRL_ATTR_FAMILY_ID]); in genl_ctrl_resolve_family() 138 struct rtattr *tb[CTRL_ATTR_OP_MAX + 1]; in print_ctrl_cmds() local 143 parse_rtattr_nested(tb, CTRL_ATTR_OP_MAX, arg); in print_ctrl_cmds() 144 if (tb[CTRL_ATTR_OP_ID]) { in print_ctrl_cmds() 145 __u32 *id = RTA_DATA(tb[CTRL_ATTR_OP_ID]); in print_ctrl_cmds() 149 if (tb[CTRL_ATTR_OP_FLAGS] && ctrl_ver >= 0x2) { in print_ctrl_cmds() 150 __u32 *fl = RTA_DATA(tb[CTRL_ATTR_OP_FLAGS]); in print_ctrl_cmds() [all …]
|