inet: Pass flowi to ->queue_xmit().
This allows us to acquire the exact route keying information from the protocol, however that might be managed. It handles all of the possibilities, from the simplest case of storing the key in inet->cork.fl to the more complex setup SCTP has where individual transports determine the flow. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -104,7 +104,7 @@ extern int ip_do_nat(struct sk_buff *skb);
|
||||
extern void ip_send_check(struct iphdr *ip);
|
||||
extern int __ip_local_out(struct sk_buff *skb);
|
||||
extern int ip_local_out(struct sk_buff *skb);
|
||||
extern int ip_queue_xmit(struct sk_buff *skb);
|
||||
extern int ip_queue_xmit(struct sk_buff *skb, struct flowi *fl);
|
||||
extern void ip_init(void);
|
||||
extern int ip_append_data(struct sock *sk,
|
||||
int getfrag(void *from, char *to, int offset, int len,
|
||||
|
Reference in New Issue
Block a user