X-Git-Url: http://ftp.safe.ca/?a=blobdiff_plain;f=include%2Fnet%2Fdst.h;h=e9ff4a4caef992806909de300cb92421b5be90ae;hb=69816699fa019145dd163949d65a07093af73b67;hp=e12a8ce0b9b30737a39edbeaea90ba9edca76557;hpb=1e19e02ca0c5e33ea73a25127dbe6c3b8fcaac4b;p=safe%2Fjmp%2Flinux-2.6 diff --git a/include/net/dst.h b/include/net/dst.h index e12a8ce..e9ff4a4 100644 --- a/include/net/dst.h +++ b/include/net/dst.h @@ -47,7 +47,6 @@ struct dst_entry #define DST_NOXFRM 2 #define DST_NOPOLICY 4 #define DST_NOHASH 8 -#define DST_BALANCED 0x10 unsigned long expires; unsigned short header_len; /* more space at head required */ @@ -265,9 +264,16 @@ static inline int xfrm_lookup(struct dst_entry **dst_p, struct flowi *fl, { return 0; } +static inline int __xfrm_lookup(struct dst_entry **dst_p, struct flowi *fl, + struct sock *sk, int flags) +{ + return 0; +} #else extern int xfrm_lookup(struct dst_entry **dst_p, struct flowi *fl, struct sock *sk, int flags); +extern int __xfrm_lookup(struct dst_entry **dst_p, struct flowi *fl, + struct sock *sk, int flags); #endif #endif