mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
[IPV4]: Add inet_dev_addr_type()
Address type search can be limited to an interface by inet_dev_addr_type function. Signed-off-by: Laszlo Attila Toth <[email protected]> Signed-off-by: Patrick McHardy <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
0265ab44ba
commit
0553811612
2 changed files with 20 additions and 2 deletions
|
|
@ -118,6 +118,7 @@ extern unsigned short ip_rt_frag_needed(struct iphdr *iph, unsigned short new_mt
|
|||
extern void ip_rt_send_redirect(struct sk_buff *skb);
|
||||
|
||||
extern unsigned inet_addr_type(__be32 addr);
|
||||
extern unsigned inet_dev_addr_type(const struct net_device *dev, __be32 addr);
|
||||
extern void ip_rt_multicast_event(struct in_device *);
|
||||
extern int ip_rt_ioctl(unsigned int cmd, void __user *arg);
|
||||
extern void ip_rt_get_source(u8 *src, struct rtable *rt);
|
||||
|
|
|
|||
Loading…
Reference in a new issue