dst.h (5a70649e0dae02ba5090540fffce667d2300bc5a) | dst.h (0c4b51f0054ce85c0ec578ab818f0631834573eb) |
---|---|
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 --- 444 unchanged lines hidden (view full) --- 453 dst->expires = expires; 454} 455 456/* Output packet to network from transport. */ 457static inline int dst_output(struct sock *sk, struct sk_buff *skb) 458{ 459 return skb_dst(skb)->output(sk, skb); 460} | 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 --- 444 unchanged lines hidden (view full) --- 453 dst->expires = expires; 454} 455 456/* Output packet to network from transport. */ 457static inline int dst_output(struct sock *sk, struct sk_buff *skb) 458{ 459 return skb_dst(skb)->output(sk, skb); 460} |
461static inline int dst_output_okfn(struct net *net, struct sock *sk, struct sk_buff *skb) 462{ 463 return dst_output(sk, skb); 464} |
|
461 462/* Input packet from network to transport. */ 463static inline int dst_input(struct sk_buff *skb) 464{ 465 return skb_dst(skb)->input(skb); 466} 467 468static inline struct dst_entry *dst_check(struct dst_entry *dst, u32 cookie) --- 56 unchanged lines hidden --- | 465 466/* Input packet from network to transport. */ 467static inline int dst_input(struct sk_buff *skb) 468{ 469 return skb_dst(skb)->input(skb); 470} 471 472static inline struct dst_entry *dst_check(struct dst_entry *dst, u32 cookie) --- 56 unchanged lines hidden --- |