mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
[IPV4]: inet_select_addr() annotations
argument and return value are net-endian. Annotated function and 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
011a926108
commit
a61ced5d1c
7 changed files with 10 additions and 10 deletions
|
@ -110,7 +110,7 @@ extern int devinet_ioctl(unsigned int cmd, void __user *);
|
|||
extern void devinet_init(void);
|
||||
extern struct in_device *inetdev_init(struct net_device *dev);
|
||||
extern struct in_device *inetdev_by_index(int);
|
||||
extern u32 inet_select_addr(const struct net_device *dev, u32 dst, int scope);
|
||||
extern __be32 inet_select_addr(const struct net_device *dev, __be32 dst, int scope);
|
||||
extern u32 inet_confirm_addr(const struct net_device *dev, u32 dst, u32 local, int scope);
|
||||
extern struct in_ifaddr *inet_ifa_byprefix(struct in_device *in_dev, u32 prefix, u32 mask);
|
||||
extern void inet_forward_change(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue