mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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:
parent
0e73441992
commit
d9d8da805d
10 changed files with 17 additions and 15 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue