dst.h (862b82c6f960cc61274d370aa78ce1112f92a83e) dst.h (815f4e57e9fc67456624ecde0515a901368c78d2)
1/*
2 * net/dst.h Protocol independent destination cache definitions.
3 *
4 * Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
5 *
6 */
7
8#ifndef _NET_DST_H

--- 251 unchanged lines hidden (view full) ---

260{
261 if (dst->obsolete)
262 dst = dst->ops->check(dst, cookie);
263 return dst;
264}
265
266extern void dst_init(void);
267
1/*
2 * net/dst.h Protocol independent destination cache definitions.
3 *
4 * Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
5 *
6 */
7
8#ifndef _NET_DST_H

--- 251 unchanged lines hidden (view full) ---

260{
261 if (dst->obsolete)
262 dst = dst->ops->check(dst, cookie);
263 return dst;
264}
265
266extern void dst_init(void);
267
268/* Flags for xfrm_lookup flags argument. */
269enum {
270 XFRM_LOOKUP_WAIT = 1 << 0,
271};
272
268struct flowi;
269#ifndef CONFIG_XFRM
270static inline int xfrm_lookup(struct dst_entry **dst_p, struct flowi *fl,
271 struct sock *sk, int flags)
272{
273 return 0;
274}
275static inline int __xfrm_lookup(struct dst_entry **dst_p, struct flowi *fl,

--- 13 unchanged lines hidden ---
273struct flowi;
274#ifndef CONFIG_XFRM
275static inline int xfrm_lookup(struct dst_entry **dst_p, struct flowi *fl,
276 struct sock *sk, int flags)
277{
278 return 0;
279}
280static inline int __xfrm_lookup(struct dst_entry **dst_p, struct flowi *fl,

--- 13 unchanged lines hidden ---