Searched refs:tb (Results 51 - 75 of 196) sorted by relevance

12345678

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iproute2/ip/
H A Dipaddress.c135 struct rtattr * tb[IFLA_MAX+1]; local
151 parse_rtattr(tb, IFLA_MAX, IFLA_RTA(ifi), len);
152 if (tb[IFLA_IFNAME] == NULL) {
158 fnmatch(filter.label, RTA_DATA(tb[IFLA_IFNAME]), 0))
165 tb[IFLA_IFNAME] ? (char*)RTA_DATA(tb[IFLA_IFNAME]) : "<nil>");
167 if (tb[IFLA_LINK]) {
169 int iflink = *(int*)RTA_DATA(tb[IFLA_LINK]);
182 if (tb[IFLA_MTU])
183 fprintf(fp, "mtu %u ", *(int*)RTA_DATA(tb[IFLA_MT
663 struct rtattr *tb[IFA_MAX+1]; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv4/
H A Dinet_connection_sock.c38 const struct inet_bind_bucket *tb)
45 sk_for_each_bound(sk2, node, &tb->owners) {
71 const struct inet_bind_bucket *tb))
75 struct inet_bind_bucket *tb; local
88 inet_bind_bucket_for_each(tb, node, &head->chain)
89 if (tb->port == rover)
115 inet_bind_bucket_for_each(tb, node, &head->chain)
116 if (tb->port == snum)
119 tb = NULL;
122 if (!hlist_empty(&tb
37 inet_csk_bind_conflict(const struct sock *sk, const struct inet_bind_bucket *tb) argument
68 inet_csk_get_port(struct inet_hashinfo *hashinfo, struct sock *sk, unsigned short snum, int (*bind_conflict)(const struct sock *sk, const struct inet_bind_bucket *tb)) argument
[all...]
H A Dfib_hash.c245 fn_hash_lookup(struct fib_table *tb, const struct flowi *flp, struct fib_result *res) argument
249 struct fn_hash *t = (struct fn_hash*)tb->tb_data;
280 fn_hash_select_default(struct fib_table *tb, const struct flowi *flp, struct fib_result *res) argument
287 struct fn_hash *t = (struct fn_hash*)tb->tb_data;
381 static int fn_hash_insert(struct fib_table *tb, struct fib_config *cfg) argument
383 struct fn_hash *table = (struct fn_hash *) tb->tb_data;
459 rtmsg_fib(RTM_NEWROUTE, key, fa, cfg->fc_dst_len, tb->tb_id,
527 rtmsg_fib(RTM_NEWROUTE, key, new_fa, cfg->fc_dst_len, tb->tb_id,
539 static int fn_hash_delete(struct fib_table *tb, struct fib_config *cfg) argument
541 struct fn_hash *table = (struct fn_hash*)tb
656 fn_hash_flush(struct fib_table *tb) argument
673 fn_hash_dump_bucket(struct sk_buff *skb, struct netlink_callback *cb, struct fib_table *tb, struct fn_zone *fz, struct hlist_head *head) argument
714 fn_hash_dump_zone(struct sk_buff *skb, struct netlink_callback *cb, struct fib_table *tb, struct fn_zone *fz) argument
738 fn_hash_dump(struct fib_table *tb, struct sk_buff *skb, struct netlink_callback *cb) argument
768 struct fib_table *tb; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iproute2/tc/
H A Dq_netem.c281 struct rtattr *tb[TCA_NETEM_MAX+1]; local
282 parse_rtattr(tb, TCA_NETEM_MAX, RTA_DATA(opt) + sizeof(qopt),
285 if (tb[TCA_NETEM_CORR]) {
286 if (RTA_PAYLOAD(tb[TCA_NETEM_CORR]) < sizeof(*cor))
288 cor = RTA_DATA(tb[TCA_NETEM_CORR]);
290 if (tb[TCA_NETEM_REORDER]) {
291 if (RTA_PAYLOAD(tb[TCA_NETEM_REORDER]) < sizeof(*reorder))
293 reorder = RTA_DATA(tb[TCA_NETEM_REORDER]);
H A Df_rsvp.c319 struct rtattr *tb[TCA_RSVP_MAX+1]; local
325 parse_rtattr_nested(tb, TCA_RSVP_MAX, opt);
330 if (tb[TCA_RSVP_PINFO]) {
331 if (RTA_PAYLOAD(tb[TCA_RSVP_PINFO]) < sizeof(*pinfo))
334 pinfo = RTA_DATA(tb[TCA_RSVP_PINFO]);
337 if (tb[TCA_RSVP_CLASSID]) {
340 fprintf(f, "flowid %s ", sprint_tc_classid(*(__u32*)RTA_DATA(tb[TCA_RSVP_CLASSID]), b1));
342 fprintf(f, "tunnel %d skip %d ", *(__u32*)RTA_DATA(tb[TCA_RSVP_CLASSID]), pinfo->tunnelhdr);
346 if (tb[TCA_RSVP_DST]) {
349 if (inet_ntop(family, RTA_DATA(tb[TCA_RSVP_DS
[all...]
H A Dm_ipt.c517 struct rtattr *tb[TCA_IPT_MAX + 1]; local
523 parse_rtattr_nested(tb, TCA_IPT_MAX, arg);
525 if (tb[TCA_IPT_TABLE] == NULL) {
529 (char *) RTA_DATA(tb[TCA_IPT_TABLE]));
532 if (tb[TCA_IPT_HOOK] == NULL) {
537 hook = *(__u32 *) RTA_DATA(tb[TCA_IPT_HOOK]);
541 if (tb[TCA_IPT_TARG] == NULL) {
546 t = RTA_DATA(tb[TCA_IPT_TARG]);
564 if (tb[TCA_IPT_INDEX] == NULL) {
568 index = *(__u32 *) RTA_DATA(tb[TCA_IPT_INDE
[all...]
H A Dq_red.c162 struct rtattr *tb[TCA_RED_STAB+1]; local
171 parse_rtattr_nested(tb, TCA_RED_STAB, opt);
173 if (tb[TCA_RED_PARMS] == NULL)
175 qopt = RTA_DATA(tb[TCA_RED_PARMS]);
176 if (RTA_PAYLOAD(tb[TCA_RED_PARMS]) < sizeof(*qopt))
H A Dm_action.c226 struct rtattr *tb[TCA_ACT_MAX + 1]; local
233 parse_rtattr_nested(tb, TCA_ACT_MAX, arg);
234 if (tb[TCA_ACT_KIND] == NULL) {
240 a = get_action_kind(RTA_DATA(tb[TCA_ACT_KIND]));
250 err = a->print_aopt(a,f,tb[TCA_ACT_OPTIONS]);
256 if (show_stats && tb[TCA_ACT_STATS]) {
258 print_tcstats2_attr(f, tb[TCA_ACT_STATS], "\t", NULL);
270 struct rtattr *tb[TCA_ACT_MAX_PRIO + 1]; local
275 parse_rtattr_nested(tb, TCA_ACT_MAX_PRIO, arg);
277 if (tab_flush && NULL != tb[
303 struct rtattr * tb[TCAA_MAX+1]; local
[all...]
H A Dq_cbq.c415 struct rtattr *tb[TCA_CBQ_MAX+1]; local
425 parse_rtattr_nested(tb, TCA_CBQ_MAX, opt);
427 if (tb[TCA_CBQ_RATE]) {
428 if (RTA_PAYLOAD(tb[TCA_CBQ_RATE]) < sizeof(*r))
431 r = RTA_DATA(tb[TCA_CBQ_RATE]);
433 if (tb[TCA_CBQ_LSSOPT]) {
434 if (RTA_PAYLOAD(tb[TCA_CBQ_LSSOPT]) < sizeof(*lss))
437 lss = RTA_DATA(tb[TCA_CBQ_LSSOPT]);
439 if (tb[TCA_CBQ_WRROPT]) {
440 if (RTA_PAYLOAD(tb[TCA_CBQ_WRROP
[all...]
H A Dm_police.c315 struct rtattr *tb[TCA_POLICE_MAX+1]; local
321 parse_rtattr_nested(tb, TCA_POLICE_MAX, arg);
323 if (tb[TCA_POLICE_TBF] == NULL) {
328 if (RTA_PAYLOAD(tb[TCA_POLICE_TBF]) < sizeof(*p)) {
333 p = RTA_DATA(tb[TCA_POLICE_TBF]);
344 if (tb[TCA_POLICE_AVRATE])
345 fprintf(f, "avrate %s ", sprint_rate(*(__u32*)RTA_DATA(tb[TCA_POLICE_AVRATE]), b1));
347 if (tb[TCA_POLICE_RESULT]) {
348 fprintf(f, "/%s ", police_action_n2a(*(int*)RTA_DATA(tb[TCA_POLICE_RESULT]), b1, sizeof(b1)));
H A Df_u32.c952 struct rtattr *tb[TCA_U32_MAX+1]; local
959 parse_rtattr_nested(tb, TCA_U32_MAX, opt);
969 if (tb[TCA_U32_SEL]) {
970 if (RTA_PAYLOAD(tb[TCA_U32_SEL]) < sizeof(*sel))
973 sel = RTA_DATA(tb[TCA_U32_SEL]);
976 if (tb[TCA_U32_DIVISOR]) {
977 fprintf(f, "ht divisor %d ", *(__u32*)RTA_DATA(tb[TCA_U32_DIVISOR]));
978 } else if (tb[TCA_U32_HASH]) {
979 __u32 htid = *(__u32*)RTA_DATA(tb[TCA_U32_HASH]);
984 if (tb[TCA_U32_CLASSI
[all...]
H A Dq_htb.c238 struct rtattr *tb[TCA_HTB_RTAB+1]; local
249 parse_rtattr_nested(tb, TCA_HTB_RTAB, opt);
251 if (tb[TCA_HTB_PARMS]) {
253 hopt = RTA_DATA(tb[TCA_HTB_PARMS]);
254 if (RTA_PAYLOAD(tb[TCA_HTB_PARMS]) < sizeof(*hopt)) return -1;
285 if (tb[TCA_HTB_INIT]) {
286 gopt = RTA_DATA(tb[TCA_HTB_INIT]);
287 if (RTA_PAYLOAD(tb[TCA_HTB_INIT]) < sizeof(*gopt)) return -1;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/net/netfilter/
H A Dnf_nat_protocol.h44 int (*nfattr_to_range)(struct nfattr *tb[],
67 extern int nf_nat_port_nfattr_to_range(struct nfattr *tb[],
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/platforms/pasemi/
H A Dsetup.c56 unsigned long tb; local
60 tb = mftb();
61 mtspr(SPRN_TBCTL, TBCTL_UPDATE_LOWER | (tb & 0xffffffff));
62 mtspr(SPRN_TBCTL, TBCTL_UPDATE_UPPER | (tb >> 32));
65 pr_debug("pas_give_timebase: cpu %d gave tb %lx\n",
66 smp_processor_id(), tb);
71 pr_debug("pas_take_timebase: cpu %d has tb %lx\n",
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/core/
H A Drtnetlink.c87 int rtattr_parse(struct rtattr *tb[], int maxattr, struct rtattr *rta, int len) argument
89 memset(tb, 0, sizeof(struct rtattr*)*maxattr);
94 tb[flavor-1] = rta;
569 struct nlattr *tb[IFLA_MAX+1]; local
572 err = nlmsg_parse(nlh, sizeof(*ifm), tb, IFLA_MAX, ifla_policy);
576 if (tb[IFLA_IFNAME])
577 nla_strlcpy(ifname, tb[IFLA_IFNAME], IFNAMSIZ);
585 else if (tb[IFLA_IFNAME])
595 if (tb[IFLA_ADDRESS] &&
596 nla_len(tb[IFLA_ADDRES
733 struct nlattr *tb[IFLA_MAX+1]; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/sched/
H A Dcls_tcindex.c201 struct rtattr **tb, struct rtattr *est)
210 err = tcf_exts_validate(tp, tb, est, &e, &tcindex_ext_map);
223 if (tb[TCA_TCINDEX_HASH-1]) {
224 if (RTA_PAYLOAD(tb[TCA_TCINDEX_HASH-1]) < sizeof(u32))
226 cp.hash = *(u32 *) RTA_DATA(tb[TCA_TCINDEX_HASH-1]);
229 if (tb[TCA_TCINDEX_MASK-1]) {
230 if (RTA_PAYLOAD(tb[TCA_TCINDEX_MASK-1]) < sizeof(u16))
232 cp.mask = *(u16 *) RTA_DATA(tb[TCA_TCINDEX_MASK-1]);
235 if (tb[TCA_TCINDEX_SHIFT-1]) {
236 if (RTA_PAYLOAD(tb[TCA_TCINDEX_SHIF
199 tcindex_set_parms(struct tcf_proto *tp, unsigned long base, u32 handle, struct tcindex_data *p, struct tcindex_filter_result *r, struct rtattr **tb, struct rtattr *est) argument
352 struct rtattr *tb[TCA_TCINDEX_MAX]; local
[all...]
H A Dsch_dsmark.c126 struct rtattr *tb[TCA_DSMARK_MAX]; local
138 if (!opt || rtattr_parse_nested(tb, TCA_DSMARK_MAX, opt))
141 if (tb[TCA_DSMARK_MASK-1])
142 mask = RTA_GET_U8(tb[TCA_DSMARK_MASK-1]);
144 if (tb[TCA_DSMARK_VALUE-1])
145 p->value[*arg-1] = RTA_GET_U8(tb[TCA_DSMARK_VALUE-1]);
147 if (tb[TCA_DSMARK_MASK-1])
344 struct rtattr *tb[TCA_DSMARK_MAX]; local
352 if (!opt || rtattr_parse_nested(tb, TCA_DSMARK_MAX, opt) < 0)
355 indices = RTA_GET_U16(tb[TCA_DSMARK_INDICE
[all...]
H A Dact_api.c458 struct rtattr *tb[TCA_ACT_MAX+1]; local
464 if (rtattr_parse_nested(tb, TCA_ACT_MAX, rta) < 0)
466 kind = tb[TCA_ACT_KIND-1];
507 *err = a_o->init(tb[TCA_ACT_OPTIONS-1], est, a, ovr, bind);
535 struct rtattr *tb[TCA_ACT_MAX_PRIO+1]; local
539 if (rtattr_parse_nested(tb, TCA_ACT_MAX_PRIO, rta) < 0) {
544 for (i=0; i < TCA_ACT_MAX_PRIO && tb[i]; i++) {
545 act = tcf_action_init_1(tb[i], est, name, ovr, bind, err);
662 struct rtattr *tb[TCA_ACT_MAX+1]; local
667 if (rtattr_parse_nested(tb, TCA_ACT_MA
731 struct rtattr *tb[TCA_ACT_MAX+1]; local
796 struct rtattr *tb[TCA_ACT_MAX_PRIO+1]; local
965 struct rtattr *tb[TCA_ACT_MAX_PRIO + 1]; local
[all...]
H A Dact_simple.c91 struct rtattr *tb[TCA_DEF_MAX]; local
99 if (rta == NULL || rtattr_parse_nested(tb, TCA_DEF_MAX, rta) < 0)
102 if (tb[TCA_DEF_PARMS - 1] == NULL ||
103 RTA_PAYLOAD(tb[TCA_DEF_PARMS - 1]) < sizeof(*parm))
106 parm = RTA_DATA(tb[TCA_DEF_PARMS - 1]);
107 defdata = RTA_DATA(tb[TCA_DEF_DATA - 1]);
111 datalen = RTA_PAYLOAD(tb[TCA_DEF_DATA - 1]);
H A Dcls_rsvp.h410 struct rtattr *tb[TCA_RSVP_MAX]; local
419 if (rtattr_parse_nested(tb, TCA_RSVP_MAX, opt) < 0)
422 err = tcf_exts_validate(tp, tb, tca[TCA_RATE-1], &e, &rsvp_ext_map);
431 if (tb[TCA_RSVP_CLASSID-1]) {
432 f->res.classid = *(u32*)RTA_DATA(tb[TCA_RSVP_CLASSID-1]);
444 if (tb[TCA_RSVP_DST-1] == NULL)
453 if (tb[TCA_RSVP_SRC-1]) {
455 if (RTA_PAYLOAD(tb[TCA_RSVP_SRC-1]) != sizeof(f->src))
457 memcpy(f->src, RTA_DATA(tb[TCA_RSVP_SRC-1]), sizeof(f->src));
460 if (tb[TCA_RSVP_PINF
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/libavcodec/alpha/
H A Dmotion_est_mvi_asm.S26 #define tb t11 define
83 tb: right lo label
106 extql t1, a2, tb # right lo
110 or t2, tb, t2 # right
117 extql t6, a2, tb # right lo
121 or t7, tb, t7 # right
151 ldq tb, 8(a1) # ref right
172 perr t9, tb, t1 # error right
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/netfilter/
H A Dnf_conntrack_netlink.c484 struct nfattr *tb[CTA_IP_MAX]; local
488 nfattr_parse_nested(tb, CTA_IP_MAX, attr);
493 ret = l3proto->nfattr_to_tuple(tb, tuple);
508 struct nfattr *tb[CTA_PROTO_MAX]; local
512 nfattr_parse_nested(tb, CTA_PROTO_MAX, attr);
514 if (nfattr_bad_size(tb, CTA_PROTO_MAX, cta_min_proto))
517 if (!tb[CTA_PROTO_NUM-1])
519 tuple->dst.protonum = *(u_int8_t *)NFA_DATA(tb[CTA_PROTO_NUM-1]);
524 ret = l4proto->nfattr_to_tuple(tb, tuple);
535 struct nfattr *tb[CTA_TUPLE_MA local
577 struct nfattr *tb[CTA_PROTONAT_MAX]; local
610 struct nfattr *tb[CTA_NAT_MAX]; local
645 struct nfattr *tb[CTA_HELP_MAX]; local
897 struct nfattr *tb[CTA_PROTOINFO_MAX], *attr = cda[CTA_PROTOINFO-1]; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sparc64/kernel/
H A Dirq.c844 struct trap_per_cpu *tb = &trap_block[this_cpu]; local
846 register_one_mondo(tb->cpu_mondo_pa, HV_CPU_QUEUE_CPU_MONDO,
847 tb->cpu_mondo_qmask);
848 register_one_mondo(tb->dev_mondo_pa, HV_CPU_QUEUE_DEVICE_MONDO,
849 tb->dev_mondo_qmask);
850 register_one_mondo(tb->resum_mondo_pa, HV_CPU_QUEUE_RES_ERROR,
851 tb->resum_qmask);
852 register_one_mondo(tb->nonresum_mondo_pa, HV_CPU_QUEUE_NONRES_ERROR,
853 tb->nonresum_qmask);
900 static void __cpuinit init_cpu_send_mondo_info(struct trap_per_cpu *tb, in argument
925 struct trap_per_cpu *tb = &trap_block[cpu]; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/decnet/
H A Ddn_table.c386 struct dn_fib_table *tb,
401 tb->n,
415 struct dn_fib_table *tb,
428 if (dn_hash_dump_bucket(skb, cb, tb, dz, dz->dz_hash[h]) < 0) {
437 static int dn_fib_table_dump(struct dn_fib_table *tb, struct sk_buff *skb, argument
442 struct dn_hash *table = (struct dn_hash *)tb->data;
452 if (dn_hash_dump_zone(skb, cb, tb, dz) < 0) {
468 struct dn_fib_table *tb; local
481 hlist_for_each_entry(tb, node, &dn_fib_table_hash[h], hlist) {
487 if (tb
384 dn_hash_dump_bucket(struct sk_buff *skb, struct netlink_callback *cb, struct dn_fib_table *tb, struct dn_zone *dz, struct dn_fib_node *f) argument
413 dn_hash_dump_zone(struct sk_buff *skb, struct netlink_callback *cb, struct dn_fib_table *tb, struct dn_zone *dz) argument
501 dn_fib_table_insert(struct dn_fib_table *tb, struct rtmsg *r, struct dn_kern_rta *rta, struct nlmsghdr *n, struct netlink_skb_parms *req) argument
637 dn_fib_table_delete(struct dn_fib_table *tb, struct rtmsg *r, struct dn_kern_rta *rta, struct nlmsghdr *n, struct netlink_skb_parms *req) argument
742 dn_fib_table_flush(struct dn_fib_table *tb) argument
761 dn_fib_table_lookup(struct dn_fib_table *tb, const struct flowi *flp, struct dn_fib_res *res) argument
866 struct dn_fib_table *tb; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/crypto/
H A Dcryptomgr.c27 struct rtattr *tb[CRYPTOA_MAX]; member in struct:cryptomgr_param
58 inst = tmpl->alloc(param->tb);
123 param->tb[CRYPTOA_TYPE - 1] = &param->type.attr;
128 param->tb[CRYPTOA_ALG - 1] = &param->alg.attr;

Completed in 293 milliseconds

12345678