Searched refs:fl4 (Results 1 – 6 of 6) sorted by relevance
/include/net/ |
D | route.h | 142 struct flowi4 fl4 = { in ip_route_output() local 148 return ip_route_output_key(net, &fl4); in ip_route_output() 151 static inline struct rtable *ip_route_output_ports(struct net *net, struct flowi4 *fl4, in ip_route_output_ports() argument 157 flowi4_init_output(fl4, oif, sk ? sk->sk_mark : 0, tos, in ip_route_output_ports() 162 security_sk_classify_flow(sk, flowi4_to_flowi(fl4)); in ip_route_output_ports() 163 return ip_route_output_flow(net, fl4, sk); in ip_route_output_ports() 166 static inline struct rtable *ip_route_output_gre(struct net *net, struct flowi4 *fl4, in ip_route_output_gre() argument 170 memset(fl4, 0, sizeof(*fl4)); in ip_route_output_gre() 171 fl4->flowi4_oif = oif; in ip_route_output_gre() 172 fl4->daddr = daddr; in ip_route_output_gre() [all …]
|
D | flow.h | 98 static inline void flowi4_init_output(struct flowi4 *fl4, int oif, in flowi4_init_output() argument 105 fl4->flowi4_oif = oif; in flowi4_init_output() 106 fl4->flowi4_iif = LOOPBACK_IFINDEX; in flowi4_init_output() 107 fl4->flowi4_mark = mark; in flowi4_init_output() 108 fl4->flowi4_tos = tos; in flowi4_init_output() 109 fl4->flowi4_scope = scope; in flowi4_init_output() 110 fl4->flowi4_proto = proto; in flowi4_init_output() 111 fl4->flowi4_flags = flags; in flowi4_init_output() 112 fl4->flowi4_secid = 0; in flowi4_init_output() 113 fl4->flowi4_tun_key.tun_id = 0; in flowi4_init_output() [all …]
|
D | ip_tunnels.h | 240 static inline void ip_tunnel_init_flow(struct flowi4 *fl4, in ip_tunnel_init_flow() argument 246 memset(fl4, 0, sizeof(*fl4)); in ip_tunnel_init_flow() 247 fl4->flowi4_oif = oif; in ip_tunnel_init_flow() 248 fl4->daddr = daddr; in ip_tunnel_init_flow() 249 fl4->saddr = saddr; in ip_tunnel_init_flow() 250 fl4->flowi4_tos = tos; in ip_tunnel_init_flow() 251 fl4->flowi4_proto = proto; in ip_tunnel_init_flow() 252 fl4->fl4_gre_key = key; in ip_tunnel_init_flow() 253 fl4->flowi4_mark = mark; in ip_tunnel_init_flow() 254 fl4->flowi4_multipath_hash = tun_inner_hash; in ip_tunnel_init_flow() [all …]
|
D | ip_fib.h | 330 struct flowi4 *fl4, in fib4_rules_early_flow_dissect() argument 385 struct flowi4 *fl4, in fib4_rules_early_flow_dissect() argument 394 fl4->fl4_sport = flkeys->ports.src; in fib4_rules_early_flow_dissect() 395 fl4->fl4_dport = flkeys->ports.dst; in fib4_rules_early_flow_dissect() 396 fl4->flowi4_proto = flkeys->basic.ip_proto; in fib4_rules_early_flow_dissect() 435 int fib_multipath_hash(const struct net *net, const struct flowi4 *fl4, 442 struct flowi4 *fl4, const struct sk_buff *skb);
|
D | ip.h | 210 int ip_append_data(struct sock *sk, struct flowi4 *fl4, 219 ssize_t ip_append_page(struct sock *sk, struct flowi4 *fl4, struct page *page, 221 struct sk_buff *__ip_make_skb(struct sock *sk, struct flowi4 *fl4, 225 int ip_push_pending_frames(struct sock *sk, struct flowi4 *fl4); 227 struct sk_buff *ip_make_skb(struct sock *sk, struct flowi4 *fl4, 240 static inline struct sk_buff *ip_finish_skb(struct sock *sk, struct flowi4 *fl4) in ip_finish_skb() argument 242 return __ip_make_skb(sk, fl4, &sk->sk_write_queue, &inet_sk(sk)->cork.base); in ip_finish_skb()
|
D | inet_connection_sock.h | 257 struct dst_entry *inet_csk_route_req(const struct sock *sk, struct flowi4 *fl4,
|