/external/libnetfilter_conntrack/src/conntrack/ |
D | parse_mnl.c | 20 const struct nlattr **tb = data; in nfct_parse_ip_attr_cb() local 41 tb[type] = attr; in nfct_parse_ip_attr_cb() 49 struct nlattr *tb[CTA_IP_MAX+1] = {}; in nfct_parse_ip() local 51 if (mnl_attr_parse_nested(attr, nfct_parse_ip_attr_cb, tb) < 0) in nfct_parse_ip() 54 if (tb[CTA_IP_V4_SRC]) { in nfct_parse_ip() 55 tuple->src.v4 = mnl_attr_get_u32(tb[CTA_IP_V4_SRC]); in nfct_parse_ip() 69 if (tb[CTA_IP_V4_DST]) { in nfct_parse_ip() 70 tuple->dst.v4 = mnl_attr_get_u32(tb[CTA_IP_V4_DST]); in nfct_parse_ip() 84 if (tb[CTA_IP_V6_SRC]) { in nfct_parse_ip() 85 memcpy(&tuple->src.v6, mnl_attr_get_payload(tb[CTA_IP_V6_SRC]), in nfct_parse_ip() [all …]
|
D | parse.c | 21 struct nfattr *tb[CTA_IP_MAX]; in __parse_ip() local 23 nfnl_parse_nested(tb, CTA_IP_MAX, attr); in __parse_ip() 25 if (tb[CTA_IP_V4_SRC-1]) { in __parse_ip() 26 tuple->src.v4 = *(uint32_t *)NFA_DATA(tb[CTA_IP_V4_SRC-1]); in __parse_ip() 40 if (tb[CTA_IP_V4_DST-1]) { in __parse_ip() 41 tuple->dst.v4 = *(uint32_t *)NFA_DATA(tb[CTA_IP_V4_DST-1]); in __parse_ip() 55 if (tb[CTA_IP_V6_SRC-1]) { in __parse_ip() 56 memcpy(&tuple->src.v6, NFA_DATA(tb[CTA_IP_V6_SRC-1]), in __parse_ip() 71 if (tb[CTA_IP_V6_DST-1]) { in __parse_ip() 72 memcpy(&tuple->dst.v6, NFA_DATA(tb[CTA_IP_V6_DST-1]), in __parse_ip() [all …]
|
/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/linux-kselftest/tools/testing/selftests/powerpc/pmu/ebb/ |
D | trace.c | 17 struct trace_buffer *tb; in trace_buffer_allocate() local 19 if (size < sizeof(*tb)) { in trace_buffer_allocate() 24 tb = mmap(NULL, size, PROT_READ | PROT_WRITE, in trace_buffer_allocate() 26 if (tb == MAP_FAILED) { in trace_buffer_allocate() 31 tb->size = size; in trace_buffer_allocate() 32 tb->tail = tb->data; in trace_buffer_allocate() 33 tb->overflow = false; in trace_buffer_allocate() 35 return tb; in trace_buffer_allocate() 38 static bool trace_check_bounds(struct trace_buffer *tb, void *p) in trace_check_bounds() argument 40 return p < ((void *)tb + tb->size); in trace_check_bounds() [all …]
|
/external/iproute2/ip/ |
D | iplink_bridge.c | 396 static void bridge_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[]) in bridge_print_opt() argument 398 if (!tb) in bridge_print_opt() 401 if (tb[IFLA_BR_FORWARD_DELAY]) in bridge_print_opt() 405 rta_getattr_u32(tb[IFLA_BR_FORWARD_DELAY])); in bridge_print_opt() 407 if (tb[IFLA_BR_HELLO_TIME]) in bridge_print_opt() 411 rta_getattr_u32(tb[IFLA_BR_HELLO_TIME])); in bridge_print_opt() 413 if (tb[IFLA_BR_MAX_AGE]) in bridge_print_opt() 417 rta_getattr_u32(tb[IFLA_BR_MAX_AGE])); in bridge_print_opt() 419 if (tb[IFLA_BR_AGEING_TIME]) in bridge_print_opt() 423 rta_getattr_u32(tb[IFLA_BR_AGEING_TIME])); in bridge_print_opt() [all …]
|
D | iplink_bridge_slave.c | 108 struct rtattr *tb[]) in bridge_slave_print_opt() argument 110 if (!tb) in bridge_slave_print_opt() 113 if (tb[IFLA_BRPORT_STATE]) in bridge_slave_print_opt() 114 print_portstate(f, rta_getattr_u8(tb[IFLA_BRPORT_STATE])); in bridge_slave_print_opt() 116 if (tb[IFLA_BRPORT_PRIORITY]) in bridge_slave_print_opt() 120 rta_getattr_u16(tb[IFLA_BRPORT_PRIORITY])); in bridge_slave_print_opt() 122 if (tb[IFLA_BRPORT_COST]) in bridge_slave_print_opt() 126 rta_getattr_u32(tb[IFLA_BRPORT_COST])); in bridge_slave_print_opt() 128 if (tb[IFLA_BRPORT_MODE]) in bridge_slave_print_opt() 130 rta_getattr_u8(tb[IFLA_BRPORT_MODE])); in bridge_slave_print_opt() [all …]
|
D | iplink_bond_slave.c | 35 static void print_slave_state(FILE *f, struct rtattr *tb) in print_slave_state() argument 37 unsigned int state = rta_getattr_u8(tb); in print_slave_state() 55 static void print_slave_mii_status(FILE *f, struct rtattr *tb) in print_slave_mii_status() argument 57 unsigned int status = rta_getattr_u8(tb); in print_slave_mii_status() 71 static void bond_slave_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[]) in bond_slave_print_opt() argument 74 if (!tb) in bond_slave_print_opt() 77 if (tb[IFLA_BOND_SLAVE_STATE]) in bond_slave_print_opt() 78 print_slave_state(f, tb[IFLA_BOND_SLAVE_STATE]); in bond_slave_print_opt() 80 if (tb[IFLA_BOND_SLAVE_MII_STATUS]) in bond_slave_print_opt() 81 print_slave_mii_status(f, tb[IFLA_BOND_SLAVE_MII_STATUS]); in bond_slave_print_opt() [all …]
|
D | iplink_bond.c | 370 static void bond_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[]) in bond_print_opt() argument 374 if (!tb) in bond_print_opt() 377 if (tb[IFLA_BOND_MODE]) { in bond_print_opt() 379 rta_getattr_u8(tb[IFLA_BOND_MODE])); in bond_print_opt() 383 if (tb[IFLA_BOND_ACTIVE_SLAVE] && in bond_print_opt() 384 (ifindex = rta_getattr_u32(tb[IFLA_BOND_ACTIVE_SLAVE]))) { in bond_print_opt() 400 if (tb[IFLA_BOND_MIIMON]) in bond_print_opt() 404 rta_getattr_u32(tb[IFLA_BOND_MIIMON])); in bond_print_opt() 406 if (tb[IFLA_BOND_UPDELAY]) in bond_print_opt() 410 rta_getattr_u32(tb[IFLA_BOND_UPDELAY])); in bond_print_opt() [all …]
|
D | iplink_hsr.c | 93 static void hsr_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[]) in hsr_print_opt() argument 97 if (!tb) in hsr_print_opt() 100 if (tb[IFLA_HSR_SLAVE1] && in hsr_print_opt() 101 RTA_PAYLOAD(tb[IFLA_HSR_SLAVE1]) < sizeof(__u32)) in hsr_print_opt() 103 if (tb[IFLA_HSR_SLAVE2] && in hsr_print_opt() 104 RTA_PAYLOAD(tb[IFLA_HSR_SLAVE2]) < sizeof(__u32)) in hsr_print_opt() 106 if (tb[IFLA_HSR_SEQ_NR] && in hsr_print_opt() 107 RTA_PAYLOAD(tb[IFLA_HSR_SEQ_NR]) < sizeof(__u16)) in hsr_print_opt() 109 if (tb[IFLA_HSR_SUPERVISION_ADDR] && in hsr_print_opt() 110 RTA_PAYLOAD(tb[IFLA_HSR_SUPERVISION_ADDR]) < ETH_ALEN) in hsr_print_opt() [all …]
|
D | iproute_lwtunnel.c | 141 struct rtattr *tb[SEG6_IPTUNNEL_MAX+1]; in print_encap_seg6() local 144 parse_rtattr_nested(tb, SEG6_IPTUNNEL_MAX, encap); in print_encap_seg6() 146 if (!tb[SEG6_IPTUNNEL_SRH]) in print_encap_seg6() 149 tuninfo = RTA_DATA(tb[SEG6_IPTUNNEL_SRH]); in print_encap_seg6() 197 struct rtattr *tb[SEG6_LOCAL_MAX + 1]; in print_encap_seg6local() local 201 parse_rtattr_nested(tb, SEG6_LOCAL_MAX, encap); in print_encap_seg6local() 203 if (!tb[SEG6_LOCAL_ACTION]) in print_encap_seg6local() 206 action = rta_getattr_u32(tb[SEG6_LOCAL_ACTION]); in print_encap_seg6local() 210 if (tb[SEG6_LOCAL_SRH]) { in print_encap_seg6local() 212 print_srh(fp, RTA_DATA(tb[SEG6_LOCAL_SRH])); in print_encap_seg6local() [all …]
|
D | ipmroute.c | 48 int tb; member 60 struct rtattr *tb[RTA_MAX+1]; in print_mroute() local 85 parse_rtattr(tb, RTA_MAX, RTM_RTA(r), len); in print_mroute() 86 table = rtm_get_table(r, tb); in print_mroute() 88 if (filter.tb > 0 && filter.tb != table) in print_mroute() 91 if (tb[RTA_IIF]) in print_mroute() 92 iif = rta_getattr_u32(tb[RTA_IIF]); in print_mroute() 99 if (tb[RTA_DST] && filter.mdst.bitlen > 0) { in print_mroute() 102 memcpy(&dst.data, RTA_DATA(tb[RTA_DST]), RTA_PAYLOAD(tb[RTA_DST])); in print_mroute() 107 if (tb[RTA_SRC] && filter.msrc.bitlen > 0) { in print_mroute() [all …]
|
D | iplink_vxlan.c | 393 static void vxlan_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[]) in vxlan_print_opt() argument 401 if (!tb) in vxlan_print_opt() 404 if (!tb[IFLA_VXLAN_ID] || in vxlan_print_opt() 405 RTA_PAYLOAD(tb[IFLA_VXLAN_ID]) < sizeof(__u32)) in vxlan_print_opt() 408 vni = rta_getattr_u32(tb[IFLA_VXLAN_ID]); in vxlan_print_opt() 411 if (tb[IFLA_VXLAN_GROUP]) { in vxlan_print_opt() 412 __be32 addr = rta_getattr_u32(tb[IFLA_VXLAN_GROUP]); in vxlan_print_opt() 426 } else if (tb[IFLA_VXLAN_GROUP6]) { in vxlan_print_opt() 429 memcpy(&addr, RTA_DATA(tb[IFLA_VXLAN_GROUP6]), sizeof(struct in6_addr)); in vxlan_print_opt() 448 if (tb[IFLA_VXLAN_LOCAL]) { in vxlan_print_opt() [all …]
|
D | iprule.c | 66 unsigned int tb; member 77 static bool filter_nlmsg(struct nlmsghdr *n, struct rtattr **tb, int host_len) in filter_nlmsg() argument 88 filter.pref ^ (tb[FRA_PRIORITY] ? rta_getattr_u32(tb[FRA_PRIORITY]) : 0)) in filter_nlmsg() 94 if (tb[FRA_SRC]) { in filter_nlmsg() 95 memcpy(&src.data, RTA_DATA(tb[FRA_SRC]), in filter_nlmsg() 105 if (tb[FRA_DST]) { in filter_nlmsg() 106 memcpy(&dst.data, RTA_DATA(tb[FRA_DST]), in filter_nlmsg() 121 if (tb[FRA_FWMARK]) in filter_nlmsg() 122 mark = rta_getattr_u32(tb[FRA_FWMARK]); in filter_nlmsg() 129 if (tb[FRA_FWMASK]) in filter_nlmsg() [all …]
|
/external/libnl/lib/netfilter/ |
D | ct.c | 121 struct nlattr *tb[CTA_IP_MAX+1]; in ct_parse_ip() local 125 err = nla_parse_nested(tb, CTA_IP_MAX, attr, ct_ip_policy); in ct_parse_ip() 129 if (tb[CTA_IP_V4_SRC]) { in ct_parse_ip() 130 addr = nl_addr_alloc_attr(tb[CTA_IP_V4_SRC], AF_INET); in ct_parse_ip() 138 if (tb[CTA_IP_V4_DST]) { in ct_parse_ip() 139 addr = nl_addr_alloc_attr(tb[CTA_IP_V4_DST], AF_INET); in ct_parse_ip() 147 if (tb[CTA_IP_V6_SRC]) { in ct_parse_ip() 148 addr = nl_addr_alloc_attr(tb[CTA_IP_V6_SRC], AF_INET6); in ct_parse_ip() 156 if (tb[CTA_IP_V6_DST]) { in ct_parse_ip() 157 addr = nl_addr_alloc_attr(tb[CTA_IP_V6_DST], AF_INET6); in ct_parse_ip() [all …]
|
D | exp.c | 79 struct nlattr *tb[CTA_IP_MAX+1]; in exp_parse_ip() local 83 err = nla_parse_nested(tb, CTA_IP_MAX, attr, exp_ip_policy); in exp_parse_ip() 87 if (tb[CTA_IP_V4_SRC]) { in exp_parse_ip() 88 addr = nl_addr_alloc_attr(tb[CTA_IP_V4_SRC], AF_INET); in exp_parse_ip() 96 if (tb[CTA_IP_V4_DST]) { in exp_parse_ip() 97 addr = nl_addr_alloc_attr(tb[CTA_IP_V4_DST], AF_INET); in exp_parse_ip() 105 if (tb[CTA_IP_V6_SRC]) { in exp_parse_ip() 106 addr = nl_addr_alloc_attr(tb[CTA_IP_V6_SRC], AF_INET6); in exp_parse_ip() 114 if (tb[CTA_IP_V6_DST]) { in exp_parse_ip() 115 addr = nl_addr_alloc_attr(tb[CTA_IP_V6_DST], AF_INET6); in exp_parse_ip() [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/wpa_supplicant_8/src/drivers/ |
D | driver_nl80211_event.c | 948 struct nlattr *tb[]) in mlme_event_michael_mic_failure() argument 954 if (tb[NL80211_ATTR_MAC]) { in mlme_event_michael_mic_failure() 956 nla_data(tb[NL80211_ATTR_MAC]), in mlme_event_michael_mic_failure() 957 nla_len(tb[NL80211_ATTR_MAC])); in mlme_event_michael_mic_failure() 958 data.michael_mic_failure.src = nla_data(tb[NL80211_ATTR_MAC]); in mlme_event_michael_mic_failure() 960 if (tb[NL80211_ATTR_KEY_SEQ]) { in mlme_event_michael_mic_failure() 962 nla_data(tb[NL80211_ATTR_KEY_SEQ]), in mlme_event_michael_mic_failure() 963 nla_len(tb[NL80211_ATTR_KEY_SEQ])); in mlme_event_michael_mic_failure() 965 if (tb[NL80211_ATTR_KEY_TYPE]) { in mlme_event_michael_mic_failure() 967 nla_get_u32(tb[NL80211_ATTR_KEY_TYPE]); in mlme_event_michael_mic_failure() [all …]
|
/external/libmojo/third_party/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/python/cpython2/Python/ |
D | traceback.c | 23 tb_dealloc(PyTracebackObject *tb) in tb_dealloc() argument 25 PyObject_GC_UnTrack(tb); in tb_dealloc() 26 Py_TRASHCAN_SAFE_BEGIN(tb) in tb_dealloc() 27 Py_XDECREF(tb->tb_next); in tb_dealloc() 28 Py_XDECREF(tb->tb_frame); in tb_dealloc() 29 PyObject_GC_Del(tb); in tb_dealloc() 30 Py_TRASHCAN_SAFE_END(tb) in tb_dealloc() 34 tb_traverse(PyTracebackObject *tb, visitproc visit, void *arg) in tb_traverse() argument 36 Py_VISIT(tb->tb_next); in tb_traverse() 37 Py_VISIT(tb->tb_frame); in tb_traverse() [all …]
|
/external/iproute2/tc/ |
D | q_fq.c | 227 struct rtattr *tb[TCA_FQ_MAX + 1]; in fq_print_opt() local 240 parse_rtattr_nested(tb, TCA_FQ_MAX, opt); in fq_print_opt() 242 if (tb[TCA_FQ_PLIMIT] && in fq_print_opt() 243 RTA_PAYLOAD(tb[TCA_FQ_PLIMIT]) >= sizeof(__u32)) { in fq_print_opt() 244 plimit = rta_getattr_u32(tb[TCA_FQ_PLIMIT]); in fq_print_opt() 247 if (tb[TCA_FQ_FLOW_PLIMIT] && in fq_print_opt() 248 RTA_PAYLOAD(tb[TCA_FQ_FLOW_PLIMIT]) >= sizeof(__u32)) { in fq_print_opt() 249 flow_plimit = rta_getattr_u32(tb[TCA_FQ_FLOW_PLIMIT]); in fq_print_opt() 252 if (tb[TCA_FQ_BUCKETS_LOG] && in fq_print_opt() 253 RTA_PAYLOAD(tb[TCA_FQ_BUCKETS_LOG]) >= sizeof(__u32)) { in fq_print_opt() [all …]
|
D | q_pie.c | 131 struct rtattr *tb[TCA_PIE_MAX + 1]; in pie_print_opt() local 145 parse_rtattr_nested(tb, TCA_PIE_MAX, opt); in pie_print_opt() 147 if (tb[TCA_PIE_LIMIT] && in pie_print_opt() 148 RTA_PAYLOAD(tb[TCA_PIE_LIMIT]) >= sizeof(__u32)) { in pie_print_opt() 149 limit = rta_getattr_u32(tb[TCA_PIE_LIMIT]); in pie_print_opt() 152 if (tb[TCA_PIE_TARGET] && in pie_print_opt() 153 RTA_PAYLOAD(tb[TCA_PIE_TARGET]) >= sizeof(__u32)) { in pie_print_opt() 154 target = rta_getattr_u32(tb[TCA_PIE_TARGET]); in pie_print_opt() 157 if (tb[TCA_PIE_TUPDATE] && in pie_print_opt() 158 RTA_PAYLOAD(tb[TCA_PIE_TUPDATE]) >= sizeof(__u32)) { in pie_print_opt() [all …]
|
D | q_hhf.c | 122 struct rtattr *tb[TCA_HHF_MAX + 1]; in hhf_print_opt() local 136 parse_rtattr_nested(tb, TCA_HHF_MAX, opt); in hhf_print_opt() 138 if (tb[TCA_HHF_BACKLOG_LIMIT] && in hhf_print_opt() 139 RTA_PAYLOAD(tb[TCA_HHF_BACKLOG_LIMIT]) >= sizeof(__u32)) { in hhf_print_opt() 140 limit = rta_getattr_u32(tb[TCA_HHF_BACKLOG_LIMIT]); in hhf_print_opt() 143 if (tb[TCA_HHF_QUANTUM] && in hhf_print_opt() 144 RTA_PAYLOAD(tb[TCA_HHF_QUANTUM]) >= sizeof(__u32)) { in hhf_print_opt() 145 quantum = rta_getattr_u32(tb[TCA_HHF_QUANTUM]); in hhf_print_opt() 148 if (tb[TCA_HHF_HH_FLOWS_LIMIT] && in hhf_print_opt() 149 RTA_PAYLOAD(tb[TCA_HHF_HH_FLOWS_LIMIT]) >= sizeof(__u32)) { in hhf_print_opt() [all …]
|
/external/iproute2/rdma/ |
D | link.c | 59 static void link_print_caps(struct rd *rd, struct nlattr **tb) in link_print_caps() argument 64 if (!tb[RDMA_NLDEV_ATTR_CAP_FLAGS]) in link_print_caps() 67 caps = mnl_attr_get_u64(tb[RDMA_NLDEV_ATTR_CAP_FLAGS]); in link_print_caps() 94 static void link_print_subnet_prefix(struct rd *rd, struct nlattr **tb) in link_print_subnet_prefix() argument 100 if (!tb[RDMA_NLDEV_ATTR_SUBNET_PREFIX]) in link_print_subnet_prefix() 103 subnet_prefix = mnl_attr_get_u64(tb[RDMA_NLDEV_ATTR_SUBNET_PREFIX]); in link_print_subnet_prefix() 112 static void link_print_lid(struct rd *rd, struct nlattr **tb) in link_print_lid() argument 116 if (!tb[RDMA_NLDEV_ATTR_LID]) in link_print_lid() 119 lid = mnl_attr_get_u32(tb[RDMA_NLDEV_ATTR_LID]); in link_print_lid() 126 static void link_print_sm_lid(struct rd *rd, struct nlattr **tb) in link_print_sm_lid() argument [all …]
|
/external/iproute2/genl/ |
D | ctrl.c | 72 struct rtattr *tb[CTRL_ATTR_MAX + 1]; in genl_ctrl_resolve_family() local 95 parse_rtattr(tb, CTRL_ATTR_MAX, attrs, len); in genl_ctrl_resolve_family() 97 if (tb[CTRL_ATTR_FAMILY_ID] == NULL) { in genl_ctrl_resolve_family() 102 ret = rta_getattr_u16(tb[CTRL_ATTR_FAMILY_ID]); in genl_ctrl_resolve_family() 133 struct rtattr *tb[CTRL_ATTR_OP_MAX + 1]; in print_ctrl_cmds() local 138 parse_rtattr_nested(tb, CTRL_ATTR_OP_MAX, arg); in print_ctrl_cmds() 139 if (tb[CTRL_ATTR_OP_ID]) { in print_ctrl_cmds() 140 __u32 *id = RTA_DATA(tb[CTRL_ATTR_OP_ID]); in print_ctrl_cmds() 144 if (tb[CTRL_ATTR_OP_FLAGS] && ctrl_ver >= 0x2) { in print_ctrl_cmds() 145 __u32 *fl = RTA_DATA(tb[CTRL_ATTR_OP_FLAGS]); in print_ctrl_cmds() [all …]
|
/external/libnetfilter_conntrack/src/expect/ |
D | parse_mnl.c | 17 const struct nlattr **tb = data; in nlmsg_parse_expection_attr_cb() local 46 tb[type] = attr; in nlmsg_parse_expection_attr_cb() 52 struct nlattr *tb[CTA_EXPECT_MAX+1] = {}; in nfexp_nlmsg_parse() local 56 nlmsg_parse_expection_attr_cb, tb); in nfexp_nlmsg_parse() 58 if (tb[CTA_EXPECT_MASTER]) { in nfexp_nlmsg_parse() 62 nfct_parse_tuple(tb[CTA_EXPECT_MASTER], &exp->master.orig, in nfexp_nlmsg_parse() 66 if (tb[CTA_EXPECT_TUPLE]) { in nfexp_nlmsg_parse() 70 nfct_parse_tuple(tb[CTA_EXPECT_TUPLE], &exp->expected.orig, in nfexp_nlmsg_parse() 74 if (tb[CTA_EXPECT_MASK]) { in nfexp_nlmsg_parse() 78 nfct_parse_tuple(tb[CTA_EXPECT_MASK], &exp->mask.orig, in nfexp_nlmsg_parse() [all …]
|