Lines Matching refs:fl4
92 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_l3mdev = 0; in flowi4_init_output()
102 fl4->flowi4_mark = mark; in flowi4_init_output()
103 fl4->flowi4_tos = tos; in flowi4_init_output()
104 fl4->flowi4_scope = scope; in flowi4_init_output()
105 fl4->flowi4_proto = proto; in flowi4_init_output()
106 fl4->flowi4_flags = flags; in flowi4_init_output()
107 fl4->flowi4_secid = 0; in flowi4_init_output()
108 fl4->flowi4_tun_key.tun_id = 0; in flowi4_init_output()
109 fl4->flowi4_uid = uid; in flowi4_init_output()
110 fl4->daddr = daddr; in flowi4_init_output()
111 fl4->saddr = saddr; in flowi4_init_output()
112 fl4->fl4_dport = dport; in flowi4_init_output()
113 fl4->fl4_sport = sport; in flowi4_init_output()
114 fl4->flowi4_multipath_hash = 0; in flowi4_init_output()
118 static inline void flowi4_update_output(struct flowi4 *fl4, int oif, __u8 tos, in flowi4_update_output() argument
121 fl4->flowi4_oif = oif; in flowi4_update_output()
122 fl4->flowi4_tos = tos; in flowi4_update_output()
123 fl4->daddr = daddr; in flowi4_update_output()
124 fl4->saddr = saddr; in flowi4_update_output()
173 static inline struct flowi *flowi4_to_flowi(struct flowi4 *fl4) in flowi4_to_flowi() argument
175 return container_of(fl4, struct flowi, u.ip4); in flowi4_to_flowi()
178 static inline struct flowi_common *flowi4_to_flowi_common(struct flowi4 *fl4) in flowi4_to_flowi_common() argument
180 return &(fl4->__fl_common); in flowi4_to_flowi_common()