Searched refs:fld (Results 1 – 6 of 6) sorted by relevance
/net/decnet/ |
D | dn_route.c | 336 if (compare_keys(&rth->fld, &rt->fld)) { in dn_insert_route() 957 struct flowidn fld = { in dn_route_output_slow() local 1028 if (!fld.daddr) { in dn_route_output_slow() 1029 fld.daddr = fld.saddr; in dn_route_output_slow() 1039 if (!fld.daddr) { in dn_route_output_slow() 1040 fld.daddr = in dn_route_output_slow() 1041 fld.saddr = dnet_select_source(dev_out, 0, in dn_route_output_slow() 1043 if (!fld.daddr) in dn_route_output_slow() 1046 fld.flowidn_oif = LOOPBACK_IFINDEX; in dn_route_output_slow() 1055 le16_to_cpu(fld.daddr), le16_to_cpu(fld.saddr), in dn_route_output_slow() [all …]
|
D | dn_rules.c | 71 struct flowidn *fld = &flp->u.dn; in dn_fib_rule_action() local 97 err = tbl->lookup(tbl, fld, (struct dn_fib_res *)arg->result); in dn_fib_rule_action() 111 struct flowidn *fld = &fl->u.dn; in dn_fib_rule_match() local 112 __le16 daddr = fld->daddr; in dn_fib_rule_match() 113 __le16 saddr = fld->saddr; in dn_fib_rule_match() 183 struct flowidn fld = { .daddr = addr }; in dnet_addr_type() local 191 if (!tb->lookup(tb, &fld, &res)) { in dnet_addr_type()
|
D | dn_fib.c | 200 struct flowidn fld; in dn_fib_check_nh() local 220 memset(&fld, 0, sizeof(fld)); in dn_fib_check_nh() 221 fld.daddr = nh->nh_gw; in dn_fib_check_nh() 222 fld.flowidn_oif = nh->nh_oif; in dn_fib_check_nh() 223 fld.flowidn_scope = r->rtm_scope + 1; in dn_fib_check_nh() 225 if (fld.flowidn_scope < RT_SCOPE_LINK) in dn_fib_check_nh() 226 fld.flowidn_scope = RT_SCOPE_LINK; in dn_fib_check_nh() 228 if ((err = dn_fib_lookup(&fld, &res)) != 0) in dn_fib_check_nh() 416 int dn_fib_semantic_match(int type, struct dn_fib_info *fi, const struct flowidn *fld, struct dn_fi… in dn_fib_semantic_match() argument 436 if (!fld->flowidn_oif || in dn_fib_semantic_match() [all …]
|
D | dn_nsp_out.c | 79 struct flowidn fld; in dn_nsp_send() local 92 memset(&fld, 0, sizeof(fld)); in dn_nsp_send() 93 fld.flowidn_oif = sk->sk_bound_dev_if; in dn_nsp_send() 94 fld.saddr = dn_saddr2dn(&scp->addr); in dn_nsp_send() 95 fld.daddr = dn_saddr2dn(&scp->peer); in dn_nsp_send() 96 dn_sk_ports_copy(&fld, scp); in dn_nsp_send() 97 fld.flowidn_proto = DNPROTO_NSP; in dn_nsp_send() 98 if (dn_route_output_sock(&sk->sk_dst_cache, &fld, sk, 0) == 0) { in dn_nsp_send()
|
D | af_decnet.c | 913 struct flowidn fld; in __dn_connect() local 953 memset(&fld, 0, sizeof(fld)); in __dn_connect() 954 fld.flowidn_oif = sk->sk_bound_dev_if; in __dn_connect() 955 fld.daddr = dn_saddr2dn(&scp->peer); in __dn_connect() 956 fld.saddr = dn_saddr2dn(&scp->addr); in __dn_connect() 957 dn_sk_ports_copy(&fld, scp); in __dn_connect() 958 fld.flowidn_proto = DNPROTO_NSP; in __dn_connect() 959 if (dn_route_output_sock(&sk->sk_dst_cache, &fld, sk, flags) < 0) in __dn_connect()
|
/net/ceph/ |
D | osd_client.c | 159 #define osd_req_op_data(oreq, whch, typ, fld) \ argument 164 &__oreq->r_ops[__whch].typ.fld; \
|