Lines Matching refs:fl4
93 static inline void flowi4_init_output(struct flowi4 *fl4, int oif, in flowi4_init_output() argument
99 fl4->flowi4_oif = oif; in flowi4_init_output()
100 fl4->flowi4_iif = LOOPBACK_IFINDEX; in flowi4_init_output()
101 fl4->flowi4_mark = mark; in flowi4_init_output()
102 fl4->flowi4_tos = tos; in flowi4_init_output()
103 fl4->flowi4_scope = scope; in flowi4_init_output()
104 fl4->flowi4_proto = proto; in flowi4_init_output()
105 fl4->flowi4_flags = flags; in flowi4_init_output()
106 fl4->flowi4_secid = 0; in flowi4_init_output()
107 fl4->flowi4_tun_key.tun_id = 0; in flowi4_init_output()
108 fl4->daddr = daddr; in flowi4_init_output()
109 fl4->saddr = saddr; in flowi4_init_output()
110 fl4->fl4_dport = dport; in flowi4_init_output()
111 fl4->fl4_sport = sport; in flowi4_init_output()
115 static inline void flowi4_update_output(struct flowi4 *fl4, int oif, __u8 tos, in flowi4_update_output() argument
118 fl4->flowi4_oif = oif; in flowi4_update_output()
119 fl4->flowi4_tos = tos; in flowi4_update_output()
120 fl4->daddr = daddr; in flowi4_update_output()
121 fl4->saddr = saddr; in flowi4_update_output()
182 static inline struct flowi *flowi4_to_flowi(struct flowi4 *fl4) in flowi4_to_flowi() argument
184 return container_of(fl4, struct flowi, u.ip4); in flowi4_to_flowi()
257 __u32 __get_hash_from_flowi4(const struct flowi4 *fl4, struct flow_keys *keys);
259 static inline __u32 get_hash_from_flowi4(const struct flowi4 *fl4) in get_hash_from_flowi4() argument
263 return __get_hash_from_flowi4(fl4, &keys); in get_hash_from_flowi4()