mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
[IPV4]: ip_route_connect() ipv4 address arguments annotated
annotated address arguments (port number left alone for now); ditto for inferred net-endian variables in callers. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
f2c3fe2411
commit
bada8adc4e
5 changed files with 6 additions and 6 deletions
|
@ -144,8 +144,8 @@ static inline char rt_tos2priority(u8 tos)
|
|||
return ip_tos2prio[IPTOS_TOS(tos)>>1];
|
||||
}
|
||||
|
||||
static inline int ip_route_connect(struct rtable **rp, u32 dst,
|
||||
u32 src, u32 tos, int oif, u8 protocol,
|
||||
static inline int ip_route_connect(struct rtable **rp, __be32 dst,
|
||||
__be32 src, u32 tos, int oif, u8 protocol,
|
||||
u16 sport, u16 dport, struct sock *sk)
|
||||
{
|
||||
struct flowi fl = { .oif = oif,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue