Home
last modified time | relevance | path

Searched refs:flowi4 (Results 1 – 25 of 73) sorted by relevance

123

/linux/include/net/
H A Droute.h135 struct flowi4 *fl4) in inet_sk_init_flowi4()
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()
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()
190 struct flowi4 fl4 = { in ip_route_output()
201 static inline struct rtable *ip_route_output_ports(struct net *net, struct flowi4 *fl4, in ip_route_output_ports()
319 static inline void ip_route_connect_init(struct flowi4 *fl4, __be32 dst, in ip_route_connect_init()
337 static inline struct rtable *ip_route_connect(struct flowi4 *fl4, __be32 dst, in ip_route_connect()
[all …]
H A Dflow.h68 struct flowi4 { struct
96 static inline void flowi4_init_output(struct flowi4 *fl4, int oif, in flowi4_init_output() argument
122 static inline void flowi4_update_output(struct flowi4 *fl4, int oif, in flowi4_update_output()
160 struct flowi4 ip4;
176 static inline struct flowi *flowi4_to_flowi(struct flowi4 *fl4) in flowi4_to_flowi()
181 static inline struct flowi_common *flowi4_to_flowi_common(struct flowi4 *fl4) in flowi4_to_flowi_common()
H A Dip_fib.h279 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()
359 struct flowi4 *fl4, in fib4_rules_early_flow_dissect()
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()
420 struct flowi4 *fl4, in fib4_rules_early_flow_dissect()
441 static inline bool fib_dscp_masked_match(dscp_t dscp, const struct flowi4 *fl4) in fib_dscp_masked_match()
544 int fib_multipath_hash(const struct net *net, const struct flowi4 *fl4,
578 const struct flowi4 *fl4);
580 struct flowi4 *fl4, const struct sk_buff *skb);
[all …]
H A Dip.h221 int ip_append_data(struct sock *sk, struct flowi4 *fl4,
230 struct sk_buff *__ip_make_skb(struct sock *sk, struct flowi4 *fl4,
234 int ip_push_pending_frames(struct sock *sk, struct flowi4 *fl4);
236 struct sk_buff *ip_make_skb(struct sock *sk, struct flowi4 *fl4,
245 static inline struct sk_buff *ip_finish_skb(struct sock *sk, struct flowi4 *fl4) in ip_finish_skb()
H A Dip_tunnels.h357 static inline void ip_tunnel_init_flow(struct flowi4 *fl4, in ip_tunnel_init_flow()
446 u8 *protocol, struct flowi4 *fl4);
548 u8 *protocol, struct flowi4 *fl4) in ip_tunnel_encap()
/linux/net/ipv4/
H A Dxfrm4_policy.c21 static struct dst_entry *__xfrm4_dst_lookup(struct flowi4 *fl4, in __xfrm4_dst_lookup()
46 struct flowi4 fl4; in xfrm4_dst_lookup()
55 struct flowi4 fl4; in xfrm4_get_saddr()
70 const struct flowi4 *fl4 = &fl->u.ip4; in xfrm4_fill_dst()
H A Ddatagram.c23 struct flowi4 *fl4; in __ip4_datagram_connect()
106 struct flowi4 fl4; in ip4_datagram_release_cb()
H A Droute.c510 static void __build_flow_key(const struct net *net, struct flowi4 *fl4, in __build_flow_key()
531 static void build_skb_flow_key(struct flowi4 *fl4, const struct sk_buff *skb, in build_skb_flow_key()
544 static void build_sk_flow_key(struct flowi4 *fl4, const struct sock *sk) in build_sk_flow_key()
565 static void ip_rt_build_flow_key(struct flowi4 *fl4, const struct sock *sk, in ip_rt_build_flow_key()
744 static void __ip_do_redirect(struct rtable *rt, struct sk_buff *skb, struct flowi4 *fl4, in __ip_do_redirect()
832 struct flowi4 fl4; in ip_do_redirect()
1019 static void __ip_rt_update_pmtu(struct rtable *rt, struct flowi4 *fl4, u32 mtu) in __ip_rt_update_pmtu()
1075 struct flowi4 fl4; in ip_rt_update_pmtu()
1090 struct flowi4 fl4; in ipv4_update_pmtu()
1107 struct flowi4 fl4; in __ipv4_sk_update_pmtu()
[all …]
H A Dicmp.c313 struct flowi4 *fl4, int type, int code, in icmpv4_xrlim_allow()
383 struct flowi4 *fl4, in icmp_push_reply()
421 struct flowi4 fl4; in icmp_reply()
493 static struct rtable *icmp_route_lookup(struct net *net, struct flowi4 *fl4, in icmp_route_lookup()
502 struct flowi4 fl4_dec; in icmp_route_lookup()
550 struct flowi4 fl4_2 = {}; in icmp_route_lookup()
813 struct flowi4 fl4; in __icmp_send()
H A Dip_output.c453 static void ip_copy_addrs(struct iphdr *iph, const struct flowi4 *fl4) in ip_copy_addrs()
469 struct flowi4 *fl4; in __ip_queue_xmit()
951 struct flowi4 *fl4, in __ip_append_data()
1357 int ip_append_data(struct sock *sk, struct flowi4 *fl4, in ip_append_data()
1397 struct flowi4 *fl4, in __ip_make_skb()
1519 int ip_push_pending_frames(struct sock *sk, struct flowi4 *fl4) in ip_push_pending_frames()
1552 struct flowi4 *fl4, in ip_make_skb()
1612 struct flowi4 fl4; in ip_send_unicast_reply()
H A Dnetfilter.c26 struct flowi4 fl4 = {}; in ip_route_me_harder()
H A Dfib_rules.c84 int __fib_lookup(struct net *net, struct flowi4 *flp, in __fib_lookup()
184 struct flowi4 *fl4 = &fl->u.ip4; in fib4_rule_match()
H A Draw.c326 static int raw_send_hdrinc(struct sock *sk, struct flowi4 *fl4, in raw_send_hdrinc()
431 static int raw_probe_proto_opt(struct raw_frag_vec *rfv, struct flowi4 *fl4) in raw_probe_proto_opt()
490 struct flowi4 fl4; in raw_sendmsg()
H A Dfou_core.c1035 struct flowi4 *fl4, u8 *protocol, __be16 sport) in fou_build_udp()
1054 u8 *protocol, struct flowi4 *fl4) in fou_build_header()
1071 u8 *protocol, struct flowi4 *fl4) in gue_build_header()
H A Dfib_frontend.c211 struct flowi4 fl4 = { .daddr = addr }; in __inet_dev_addr_type()
293 struct flowi4 fl4 = { in fib_compute_spec_dst()
354 struct flowi4 fl4; in __fib_validate_source()
1373 struct flowi4 fl4 = { in nl_fib_lookup()
/linux/net/ipv4/netfilter/
H A Dipt_rpfilter.c33 static bool rpfilter_lookup_reverse(struct net *net, struct flowi4 *fl4, in rpfilter_lookup_reverse()
58 struct flowi4 flow; in rpfilter_mt()
H A Dnf_dup_ipv4.c29 struct flowi4 fl4; in nf_dup_ipv4_route()
H A Dnft_fib_ipv4.c70 struct flowi4 fl4 = { in nft_fib4_eval()
/linux/drivers/net/ethernet/netronome/nfp/flower/
H A Dtunnel_conf.c518 struct flowi4 *flowi4 = (struct flowi4 *)flow; in nfp_tun_write_neigh() local
522 payload->src_ipv4 = flowi4->saddr; in nfp_tun_write_neigh()
523 payload->dst_ipv4 = flowi4->daddr; in nfp_tun_write_neigh()
558 struct flowi4 *flowi4 = (struct flowi4 *)flow; in nfp_tun_write_neigh() local
563 payload->dst_ipv4 = flowi4->daddr; in nfp_tun_write_neigh()
669 struct flowi4 flow4 = {}; in nfp_tun_neigh_update()
754 struct flowi4 flow = {}; in nfp_tunnel_request_route_v4()
/linux/drivers/net/ppp/
H A Dpptp.c133 struct flowi4 *fl4) in pptp_route_output()
157 struct flowi4 fl4; in pptp_xmit()
426 struct flowi4 fl4; in pptp_connect()
/linux/include/trace/events/
H A Dfib.h17 TP_PROTO(u32 tb_id, const struct flowi4 *flp,
/linux/drivers/net/ethernet/chelsio/libcxgb/
H A Dlibcxgb_cm.c98 struct flowi4 fl4; in cxgb_find_route()
/linux/drivers/net/
H A Dgtp.c348 static struct rtable *ip4_route_output_gtp(struct flowi4 *fl4, in ip4_route_output_gtp()
429 struct flowi4 fl4; in gtp0_send_echo_resp_ip()
659 struct flowi4 fl4; in gtp1u_send_echo_resp()
992 struct flowi4 fl4;
1022 struct flowi4 *fl4, in gtp_set_pktinfo_ipv4()
1053 struct flowi4 fl4; in gtp_build_skb_outer_ip4()
2332 struct flowi4 fl4; in gtp_genl_send_echo_req()
H A Damt.c622 struct flowi4 fl4; in amt_send_discovery()
711 struct flowi4 fl4; in amt_send_request()
1005 struct flowi4 fl4; in amt_send_membership_update()
1019 memset(&fl4, 0, sizeof(struct flowi4)); in amt_send_membership_update()
1066 struct flowi4 fl4; in amt_send_multicast_data()
1079 memset(&fl4, 0, sizeof(struct flowi4)); in amt_send_multicast_data()
1121 struct flowi4 fl4; in amt_send_membership_query()
1134 memset(&fl4, 0, sizeof(struct flowi4)); in amt_send_membership_query()
2562 struct flowi4 fl4; in amt_send_advertisement()
/linux/net/netfilter/
H A Dxt_TCPMSS.c52 struct flowi4 *fl4 = &fl.u.ip4; in tcpmss_reverse_mtu()

123