X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fnet%2Fdst.h;h=e86b9a008ebf300ec118c2fd909f05eca1c10e11;hb=bb803175865dd030420eebbc87298414c7725019;hp=69888f1502b1724e7de331ddba2510c639768d07;hpb=b4ce92775c2e7ff9cf79cca4e0a19c8c5fd6287b;p=linux-2.6 diff --git a/include/net/dst.h b/include/net/dst.h index 69888f1502..e86b9a008e 100644 --- a/include/net/dst.h +++ b/include/net/dst.h @@ -98,6 +98,7 @@ struct dst_ops struct dst_entry * (*negative_advice)(struct dst_entry *); void (*link_failure)(struct sk_buff *); void (*update_pmtu)(struct dst_entry *dst, u32 mtu); + int (*local_out)(struct sk_buff *skb); int entry_size; atomic_t entries; @@ -179,6 +180,7 @@ static inline struct dst_entry *dst_pop(struct dst_entry *dst) return child; } +extern int dst_discard(struct sk_buff *skb); extern void * dst_alloc(struct dst_ops * ops); extern void __dst_free(struct dst_entry * dst); extern struct dst_entry *dst_destroy(struct dst_entry * dst);