| /linux/include/net/ |
| H A D | route.h | 160 struct rtable *ip_route_output_key_hash(struct net *net, struct flowi4 *flp, 162 struct rtable *ip_route_output_key_hash_rcu(struct net *net, struct flowi4 *flp, 167 struct flowi4 *flp) in __ip_route_output_key() argument 169 return ip_route_output_key_hash(net, flp, NULL); in __ip_route_output_key() 172 struct rtable *ip_route_output_flow(struct net *, struct flowi4 *flp, 177 static inline struct rtable *ip_route_output_key(struct net *net, struct flowi4 *flp) in ip_route_output_key() argument 179 return ip_route_output_flow(net, flp, NULL); in ip_route_output_key()
|
| H A D | ip_fib.h | 278 int fib_table_lookup(struct fib_table *tb, const struct flowi4 *flp, 316 static inline int fib_lookup(struct net *net, const struct flowi4 *flp, in fib_lookup() argument 326 err = fib_table_lookup(tb, flp, res, flags | FIB_LOOKUP_NOREF); in fib_lookup() 371 int __fib_lookup(struct net *net, struct flowi4 *flp, 374 static inline int fib_lookup(struct net *net, struct flowi4 *flp, in fib_lookup() argument 382 return __fib_lookup(net, flp, res, flags); in fib_lookup() 390 err = fib_table_lookup(tb, flp, res, flags); in fib_lookup() 397 err = fib_table_lookup(tb, flp, res, flags); in fib_lookup() 596 const struct flowi4 *flp);
|
| H A D | fib_rules.h | 220 struct flowi *flp, int flags, 223 struct flowi *flp, int flags,
|
| H A D | nexthop.h | 426 const struct flowi4 *flp, in nexthop_get_nhc_lookup() argument 439 if (fib_lookup_good_nhc(&nhi->fib_nhc, fib_flags, flp)) { in nexthop_get_nhc_lookup() 446 if (fib_lookup_good_nhc(&nhi->fib_nhc, fib_flags, flp)) { in nexthop_get_nhc_lookup()
|
| /linux/drivers/scsi/libfc/ |
| H A D | fc_lport.c | 800 struct fc_els_flogi *flp; in fc_lport_recv_flogi_req() local 812 flp = fc_frame_payload_get(rx_fp, sizeof(*flp)); in fc_lport_recv_flogi_req() 813 if (!flp) in fc_lport_recv_flogi_req() 815 remote_wwpn = get_unaligned_be64(&flp->fl_wwpn); in fc_lport_recv_flogi_req() 840 fp = fc_frame_alloc(lport, sizeof(*flp)); in fc_lport_recv_flogi_req() 842 new_flp = fc_frame_payload_get(fp, sizeof(*flp)); in fc_lport_recv_flogi_req() 860 get_unaligned_be64(&flp->fl_wwnn)); in fc_lport_recv_flogi_req() 1739 struct fc_els_flogi *flp; in fc_lport_flogi_resp() local 1775 flp = fc_frame_payload_get(fp, sizeof(*flp)); in fc_lport_flogi_resp() 1776 if (!flp) { in fc_lport_flogi_resp() [all …]
|
| H A D | fc_rport.c | 219 static unsigned int fc_plogi_get_maxframe(struct fc_els_flogi *flp, in fc_plogi_get_maxframe() argument 228 mfs = ntohs(flp->fl_csp.sp_bb_data) & FC_SP_BB_DATA_MASK; in fc_plogi_get_maxframe() 231 mfs = ntohs(flp->fl_cssp[3 - 1].cp_rdfs); in fc_plogi_get_maxframe() 858 struct fc_els_flogi *flp; in fc_rport_recv_flogi_req() local 874 flp = fc_frame_payload_get(fp, sizeof(*flp)); in fc_rport_recv_flogi_req() 875 if (!flp) { in fc_rport_recv_flogi_req() 937 fp = fc_frame_alloc(lport, sizeof(*flp)); in fc_rport_recv_flogi_req() 942 flp = fc_frame_payload_get(fp, sizeof(*flp)); in fc_rport_recv_flogi_req() 943 flp->fl_cmd = ELS_LS_ACC; in fc_rport_recv_flogi_req()
|
| /linux/net/ipv6/ |
| H A D | fib6_rules.c | 165 static int fib6_rule_action_alt(struct fib_rule *rule, struct flowi *flp, in fib6_rule_action_alt() argument 169 struct flowi6 *flp6 = &flp->u.ip6; in fib6_rule_action_alt() 203 static int __fib6_rule_action(struct fib_rule *rule, struct flowi *flp, in __fib6_rule_action() argument 207 struct flowi6 *flp6 = &flp->u.ip6; in __fib6_rule_action() 272 struct flowi *flp, int flags, in fib6_rule_action() argument 276 return fib6_rule_action_alt(rule, flp, flags, arg); in fib6_rule_action() 278 return __fib6_rule_action(rule, flp, flags, arg); in fib6_rule_action()
|
| /linux/net/ipv4/ |
| H A D | fib_rules.c | 84 int __fib_lookup(struct net *net, struct flowi4 *flp, in __fib_lookup() argument 94 l3mdev_update_flow(net, flowi4_to_flowi(flp)); in __fib_lookup() 96 err = fib_rules_lookup(net->ipv4.rules_ops, flowi4_to_flowi(flp), 0, &arg); in __fib_lookup() 112 struct flowi *flp, int flags, in fib4_rule_action() argument 139 err = fib_table_lookup(tbl, &flp->u.ip4, in fib4_rule_action()
|
| H A D | fib_trie.c | 1403 const struct flowi4 *flp) in fib_lookup_good_nhc() argument 1413 if (flp->flowi4_oif && flp->flowi4_oif != nhc->nhc_oif) in fib_lookup_good_nhc() 1420 int fib_table_lookup(struct fib_table *tb, const struct flowi4 *flp, in fib_table_lookup() argument 1427 const t_key key = ntohl(flp->daddr); in fib_table_lookup() 1438 trace_fib_table_lookup(tb->tb_id, flp, NULL, -EAGAIN); in fib_table_lookup() 1524 trace_fib_table_lookup(tb->tb_id, flp, in fib_table_lookup() 1558 if (fa->fa_dscp && !fib_dscp_masked_match(fa->fa_dscp, flp)) in fib_table_lookup() 1563 if (fa->fa_info->fib_scope < flp->flowi4_scope) in fib_table_lookup() 1572 trace_fib_table_lookup(tb->tb_id, flp, NULL, err); in fib_table_lookup() 1584 nhc = nexthop_get_nhc_lookup(fi->nh, fib_flags, flp, in fib_table_lookup() [all …]
|
| H A D | fib_semantics.c | 2010 static void fib_select_default(const struct flowi4 *flp, struct fib_result *res) in fib_select_default() argument 2027 if (fa->fa_dscp && !fib_dscp_masked_match(fa->fa_dscp, flp)) in fib_select_default()
|
| H A D | ipmr.c | 175 static int ipmr_rule_action(struct fib_rule *rule, struct flowi *flp, in ipmr_rule_action() argument
|
| /linux/tools/lib/bpf/ |
| H A D | btf_dump.c | 1982 const union float_data *flp = data; in btf_dump_float_data() local 1989 flp = &fl; in btf_dump_float_data() 1994 btf_dump_type_values(d, "%Lf", flp->ld); in btf_dump_float_data() 1997 btf_dump_type_values(d, "%lf", flp->d); in btf_dump_float_data() 2000 btf_dump_type_values(d, "%f", flp->f); in btf_dump_float_data()
|