Home
last modified time | relevance | path

Searched refs:in_dev (Results 1 – 25 of 36) sorted by relevance

12

/linux/include/linux/
H A Dinetdevice.h61 static inline int ipv4_devconf_get(const struct in_device *in_dev, int index) in ipv4_devconf_get() argument
64 return READ_ONCE(in_dev->cnf.data[index]); in ipv4_devconf_get()
67 static inline void ipv4_devconf_set(struct in_device *in_dev, int index, in ipv4_devconf_set() argument
71 set_bit(index, in_dev->cnf.state); in ipv4_devconf_set()
72 WRITE_ONCE(in_dev->cnf.data[index], val); in ipv4_devconf_set()
75 static inline void ipv4_devconf_setall(struct in_device *in_dev) in ipv4_devconf_setall() argument
77 bitmap_fill(in_dev->cnf.state, IPV4_DEVCONF_MAX); in ipv4_devconf_setall()
80 #define IN_DEV_CONF_GET(in_dev, attr) \ argument
81 ipv4_devconf_get((in_dev), IPV4_DEVCONF_ ## attr)
82 #define IN_DEV_CONF_SET(in_dev, attr, val) \ argument
[all …]
H A Digmp.h288 extern void __ip_mc_dec_group(struct in_device *in_dev, __be32 addr, gfp_t gfp); in ip_mc_dec_group() argument
289 static inline void ip_mc_dec_group(struct in_device *in_dev, __be32 addr) in ip_mc_dec_group()
291 return __ip_mc_dec_group(in_dev, addr, GFP_KERNEL); in ip_mc_dec_group()
293 extern void __ip_mc_inc_group(struct in_device *in_dev, __be32 addr,
295 extern void ip_mc_inc_group(struct in_device *in_dev, __be32 addr);
/linux/net/ipv4/
H A Digmp.c125 static bool IGMP_V1_SEEN(const struct in_device *in_dev) in IGMP_V1_SEEN() argument
129 if (IPV4_DEVCONF_ALL_RO(dev_net(in_dev->dev), FORCE_IGMP_VERSION) == 1) in IGMP_V1_SEEN()
131 if (IN_DEV_CONF_GET((in_dev), FORCE_IGMP_VERSION) == 1) in IGMP_V1_SEEN()
133 seen = READ_ONCE(in_dev->mr_v1_seen); in IGMP_V1_SEEN()
137 static bool IGMP_V2_SEEN(const struct in_device *in_dev) in IGMP_V2_SEEN() argument
141 if (IPV4_DEVCONF_ALL_RO(dev_net(in_dev->dev), FORCE_IGMP_VERSION) == 2) in IGMP_V2_SEEN()
143 if (IN_DEV_CONF_GET((in_dev), FORCE_IGMP_VERSION) == 2) in IGMP_V2_SEEN()
145 seen = READ_ONCE(in_dev->mr_v2_seen); in IGMP_V2_SEEN()
149 static int unsolicited_report_interval(struct in_device *in_dev) in unsolicited_report_interval() argument
153 if (IGMP_V1_SEEN(in_dev) || IGMP_V2_SEE in unsolicited_report_interval()
195 for_each_pmc_rcu(in_dev,pmc) global() argument
200 for_each_pmc_rtnl(in_dev,pmc) global() argument
265 igmp_gq_start_timer(struct in_device * in_dev) igmp_gq_start_timer() argument
281 igmp_ifc_start_timer(struct in_device * in_dev,int delay) igmp_ifc_start_timer() argument
383 struct in_device *in_dev = __in_dev_get_rcu(dev); igmpv3_get_srcaddr() local
642 igmpv3_send_report(struct in_device * in_dev,struct ip_mc_list * pmc) igmpv3_send_report() argument
708 igmpv3_send_cr(struct in_device * in_dev) igmpv3_send_cr() argument
782 igmp_send_report(struct in_device * in_dev,struct ip_mc_list * pmc,int type) igmp_send_report() argument
857 struct in_device *in_dev = timer_container_of(in_dev, t, mr_gq_timer); igmp_gq_timer_expire() local
866 struct in_device *in_dev = timer_container_of(in_dev, t, mr_ifc_timer); igmp_ifc_timer_expire() local
884 igmp_ifc_event(struct in_device * in_dev) igmp_ifc_event() argument
897 struct in_device *in_dev = im->interface; igmp_timer_expire() local
975 igmp_heard_report(struct in_device * in_dev,__be32 group) igmp_heard_report() argument
1000 igmp_heard_query(struct in_device * in_dev,struct sk_buff * skb,int len) igmp_heard_query() argument
1134 struct in_device *in_dev; igmp_rcv() local
1199 ip_mc_filter_add(struct in_device * in_dev,__be32 addr) ip_mc_filter_add() argument
1219 ip_mc_filter_del(struct in_device * in_dev,__be32 addr) ip_mc_filter_del() argument
1232 igmpv3_add_delrec(struct in_device * in_dev,struct ip_mc_list * im,gfp_t gfp) igmpv3_add_delrec() argument
1275 igmpv3_del_delrec(struct in_device * in_dev,struct ip_mc_list * im) igmpv3_del_delrec() argument
1328 igmpv3_clear_delrec(struct in_device * in_dev) igmpv3_clear_delrec() argument
1360 struct in_device *in_dev = im->interface; __igmp_group_dropped() local
1404 struct in_device *in_dev = im->interface; igmp_group_added() local
1454 ip_mc_hash_add(struct in_device * in_dev,struct ip_mc_list * im) ip_mc_hash_add() argument
1486 ip_mc_hash_remove(struct in_device * in_dev,struct ip_mc_list * im) ip_mc_hash_remove() argument
1570 ____ip_mc_inc_group(struct in_device * in_dev,__be32 addr,unsigned int mode,gfp_t gfp) ____ip_mc_inc_group() argument
1637 __ip_mc_inc_group(struct in_device * in_dev,__be32 addr,gfp_t gfp) __ip_mc_inc_group() argument
1643 ip_mc_inc_group(struct in_device * in_dev,__be32 addr) ip_mc_inc_group() argument
1794 ip_mc_rejoin_groups(struct in_device * in_dev) ip_mc_rejoin_groups() argument
1828 __ip_mc_dec_group(struct in_device * in_dev,__be32 addr,gfp_t gfp) __ip_mc_dec_group() argument
1866 ip_mc_unmap(struct in_device * in_dev) ip_mc_unmap() argument
1876 ip_mc_remap(struct in_device * in_dev) ip_mc_remap() argument
1892 ip_mc_down(struct in_device * in_dev) ip_mc_down() argument
1914 ip_mc_reset(struct in_device * in_dev) ip_mc_reset() argument
1923 ip_mc_reset(struct in_device * in_dev) ip_mc_reset() argument
1928 ip_mc_init_dev(struct in_device * in_dev) ip_mc_init_dev() argument
1943 ip_mc_up(struct in_device * in_dev) ip_mc_up() argument
1964 ip_mc_destroy_dev(struct in_device * in_dev) ip_mc_destroy_dev() argument
2044 struct in_device *in_dev = pmc->interface; ip_mc_del1_src() local
2080 ip_mc_del_src(struct in_device * in_dev,__be32 * pmca,int sfmode,int sfcount,__be32 * psfsrc,int delta) ip_mc_del_src() argument
2260 ip_mc_add_src(struct in_device * in_dev,__be32 * pmca,int sfmode,int sfcount,__be32 * psfsrc,int delta) ip_mc_add_src() argument
2354 struct in_device *in_dev; __ip_mc_join_group() local
2416 ip_mc_leave_src(struct sock * sk,struct ip_mc_socklist * iml,struct in_device * in_dev) ip_mc_leave_src() argument
2440 struct in_device *in_dev; ip_mc_leave_group() local
2490 struct in_device *in_dev = NULL; ip_mc_source() local
2628 struct in_device *in_dev; ip_mc_msfilter() local
2719 struct in_device *in_dev; ip_mc_msfget() local
2880 struct in_device *in_dev; ip_mc_drop_socket() local
2895 ip_check_mc_rcu(struct in_device * in_dev,__be32 mc_addr,__be32 src_addr,u8 proto) ip_check_mc_rcu() argument
2943 struct in_device *in_dev; global() member
2956 struct in_device *in_dev; igmp_mc_get_first() local
3251 struct in_device *in_dev; igmp_netdev_event() local
[all...]
H A Ddevinet.c190 static void inet_del_ifa(struct in_device *in_dev,
208 static struct in_ifaddr *inet_alloc_ifa(struct in_device *in_dev) in inet_alloc_ifa() argument
216 in_dev_hold(in_dev); in inet_alloc_ifa()
217 ifa->ifa_dev = in_dev; in inet_alloc_ifa()
269 struct in_device *in_dev; in inetdev_init()
275 in_dev = kzalloc_obj(*in_dev); in inetdev_init()
276 if (!in_dev) in inetdev_init()
280 memcpy(&in_dev->cnf, net->ipv4.devconf_dflt, sizeof(in_dev in inetdev_init()
268 struct in_device *in_dev; inetdev_init() local
314 inetdev_destroy(struct in_device * in_dev) inetdev_destroy() argument
343 struct in_device *in_dev; inet_blackhole_dev_init() local
353 inet_addr_onlink(struct in_device * in_dev,__be32 a,__be32 b) inet_addr_onlink() argument
370 __inet_del_ifa(struct in_device * in_dev,struct in_ifaddr __rcu ** ifap,int destroy,struct nlmsghdr * nlh,u32 portid) __inet_del_ifa() argument
483 inet_del_ifa(struct in_device * in_dev,struct in_ifaddr __rcu ** ifap,int destroy) inet_del_ifa() argument
494 struct in_device *in_dev = ifa->ifa_dev; __inet_insert_ifa() local
583 struct in_device *in_dev = __in_dev_get_rtnl_net(dev); inet_set_ifa() local
599 struct in_device *in_dev = NULL; inetdev_by_index() local
612 inet_ifa_byprefix(struct in_device * in_dev,__be32 prefix,__be32 mask) inet_ifa_byprefix() argument
658 struct in_device *in_dev; inet_rtm_deladdr() local
887 struct in_device *in_dev; inet_rtm_to_ifa() local
947 struct in_device *in_dev = ifa->ifa_dev; find_matching_ifa() local
1067 struct in_device *in_dev; devinet_ioctl() local
1307 struct in_device *in_dev = __in_dev_get_rtnl_net(dev); inet_gifconf() local
1343 in_dev_select_addr(const struct in_device * in_dev,int scope) in_dev_select_addr() argument
1364 struct in_device *in_dev; inet_select_addr() local
1430 confirm_addr_indev(struct in_device * in_dev,__be32 dst,__be32 local,int scope) confirm_addr_indev() argument
1482 inet_confirm_addr(struct net * net,struct in_device * in_dev,__be32 dst,__be32 local,int scope) inet_confirm_addr() argument
1538 inetdev_changename(struct net_device * dev,struct in_device * in_dev) inetdev_changename() argument
1565 inetdev_send_gratuitous_arp(struct net_device * dev,struct in_device * in_dev) inetdev_send_gratuitous_arp() argument
1584 struct in_device *in_dev = __in_dev_get_rtnl(dev); inetdev_event() local
1841 in_dev_dump_ifmcaddr(struct in_device * in_dev,struct sk_buff * skb,struct netlink_callback * cb,int * s_ip_idx,struct inet_fill_args * fillargs) in_dev_dump_ifmcaddr() argument
1870 in_dev_dump_ifaddr(struct in_device * in_dev,struct sk_buff * skb,struct netlink_callback * cb,int * s_ip_idx,struct inet_fill_args * fillargs) in_dev_dump_ifaddr() argument
1898 in_dev_dump_addr(struct in_device * in_dev,struct sk_buff * skb,struct netlink_callback * cb,int * s_ip_idx,struct inet_fill_args * fillargs) in_dev_dump_addr() argument
1945 struct in_device *in_dev; inet_dump_addr() local
2034 struct in_device *in_dev = rcu_dereference_rtnl(dev->ip_ptr); inet_get_link_af_size() local
2045 struct in_device *in_dev = rcu_dereference_rtnl(dev->ip_ptr); inet_fill_link_af() local
2189 struct in_device *in_dev = __in_dev_get_rtnl(dev); inet_set_link_af() local
2382 struct in_device *in_dev = NULL; inet_netconf_get_devconf() local
2446 const struct in_device *in_dev; inet_netconf_dump_devconf() local
2514 struct in_device *in_dev; devinet_copy_dflt_conf() local
2541 struct in_device *in_dev; inet_forward_change() local
[all...]
H A Darp.c228 struct in_device *in_dev; in arp_constructor()
239 in_dev = __in_dev_get_rcu(dev); in arp_constructor()
240 if (!in_dev) { in arp_constructor()
247 parms = in_dev->arp_parms; in arp_constructor()
343 struct in_device *in_dev; in arp_solicit()
347 in_dev = __in_dev_get_rcu(dev); in arp_solicit()
348 if (!in_dev) { in arp_solicit()
352 switch (IN_DEV_ARP_ANNOUNCE(in_dev)) { in arp_solicit()
366 if (inet_addr_onlink(in_dev, target, saddr)) in arp_solicit()
399 static int arp_ignore(struct in_device *in_dev, __be3 in arp_ignore()
227 struct in_device *in_dev; arp_constructor() local
340 struct in_device *in_dev; arp_solicit() local
396 arp_ignore(struct in_device * in_dev,__be32 sip,__be32 tip) arp_ignore() argument
432 arp_accept(struct in_device * in_dev,__be32 sip) arp_accept() argument
474 arp_fwd_proxy(struct in_device * in_dev,struct net_device * dev,struct rtable * rt) arp_fwd_proxy() argument
519 arp_fwd_pvlan(struct in_device * in_dev,struct net_device * dev,struct rtable * rt,__be32 sip,__be32 tip) arp_fwd_pvlan() argument
705 struct in_device *in_dev = __in_dev_get_rcu(dev); arp_process() local
1329 struct in_device *in_dev; arp_netdev_event() local
[all...]
H A Droute.c788 struct in_device *in_dev; in __ip_do_redirect()
807 in_dev = __in_dev_get_rcu(dev); in __ip_do_redirect()
808 if (!in_dev) in __ip_do_redirect()
812 if (new_gw == old_gw || !IN_DEV_RX_REDIRECTS(in_dev) || in __ip_do_redirect()
817 if (!IN_DEV_SHARED_MEDIA(in_dev)) { in __ip_do_redirect()
818 if (!inet_addr_onlink(in_dev, new_gw, old_gw)) in __ip_do_redirect()
820 if (IN_DEV_SEC_REDIRECTS(in_dev) && ip_fib_check_default(new_gw, dev)) in __ip_do_redirect()
853 if (IN_DEV_LOG_MARTIANS(in_dev)) { in __ip_do_redirect()
914 struct in_device *in_dev; in ip_rt_send_redirect()
923 in_dev in ip_rt_send_redirect()
779 struct in_device *in_dev; __ip_do_redirect() local
905 struct in_device *in_dev; ip_rt_send_redirect() local
971 struct in_device *in_dev; ip_error() local
1741 ip_mc_validate_source(struct sk_buff * skb,__be32 daddr,__be32 saddr,dscp_t dscp,struct net_device * dev,struct in_device * in_dev,u32 * itag) ip_mc_validate_source() argument
1776 struct in_device *in_dev = __in_dev_get_rcu(dev); ip_route_input_mc() local
1817 ip_handle_martian_source(struct net_device * dev,struct in_device * in_dev,struct sk_buff * skb,__be32 daddr,__be32 saddr) ip_handle_martian_source() argument
1844 __mkroute_input(struct sk_buff * skb,const struct fib_result * res,struct in_device * in_dev,__be32 daddr,__be32 saddr,dscp_t dscp) __mkroute_input() argument
2201 ip_mkroute_input(struct sk_buff * skb,struct fib_result * res,struct in_device * in_dev,__be32 daddr,__be32 saddr,dscp_t dscp,struct flow_keys * hkeys) ip_mkroute_input() argument
2227 struct in_device *in_dev = __in_dev_get_rcu(dev); ip_route_use_hint() local
2299 struct in_device *in_dev = __in_dev_get_rcu(dev); ip_route_input_slow() local
2542 struct in_device *in_dev = __in_dev_get_rcu(dev); ip_route_input_rcu() local
2600 struct in_device *in_dev; __mkroute_output() local
3494 ip_rt_multicast_event(struct in_device * in_dev) ip_rt_multicast_event() argument
[all...]
H A Dfib_frontend.c295 struct in_device *in_dev; in fib_compute_spec_dst() local
306 in_dev = __in_dev_get_rcu(dev); in fib_compute_spec_dst()
312 bool vmark = in_dev && IN_DEV_SRC_VMARK(in_dev); in fib_compute_spec_dst()
575 struct in_device *in_dev; in rtentry_to_fib_config() local
577 in_dev = __in_dev_get_rtnl_net(dev); in rtentry_to_fib_config()
578 if (!in_dev) in rtentry_to_fib_config()
583 in_dev_for_each_ifa_rtnl_net(net, ifa, in_dev) { in rtentry_to_fib_config()
1154 struct in_device *in_dev = ifa->ifa_dev; in fib_add_ifaddr() local
1155 struct net_device *dev = in_dev in fib_add_ifaddr()
1201 struct in_device *in_dev = ifa->ifa_dev; fib_modify_prefix_metric() local
1228 struct in_device *in_dev = ifa->ifa_dev; fib_del_ifaddr() local
1511 struct in_device *in_dev; fib_netdev_event() local
[all...]
H A Dicmp.c662 struct in_device *in_dev; in icmp_ext_iio_addr4_find() local
665 in_dev = __in_dev_get_rcu(dev); in icmp_ext_iio_addr4_find()
666 if (!in_dev) in icmp_ext_iio_addr4_find()
672 in_dev_for_each_ifa_rcu(ifa, in_dev) { in icmp_ext_iio_addr4_find()
1300 struct in_device *in_dev; in icmp_build_probe() local
1385 in_dev = __in_dev_get_rcu(dev); in icmp_build_probe()
1386 if (in_dev && rcu_access_pointer(in_dev->ifa_list)) in icmp_build_probe()
H A Dipmr.c465 struct in_device *in_dev; in ipmr_init_vif_indev()
469 in_dev = __in_dev_get_rtnl(dev); in ipmr_init_vif_indev()
470 if (!in_dev) in ipmr_init_vif_indev()
472 ipv4_devconf_setall(in_dev); in ipmr_init_vif_indev()
473 neigh_parms_data_state_setall(in_dev->arp_parms); in ipmr_init_vif_indev()
474 IPV4_DEVCONF(in_dev->cnf, RP_FILTER) = 0; in ipmr_init_vif_indev()
707 struct in_device *in_dev; in vif_delete()
741 in_dev = __in_dev_get_rtnl(dev); in vif_delete()
742 if (in_dev) {
743 IPV4_DEVCONF(in_dev
464 struct in_device *in_dev; ipmr_init_vif_indev() local
693 struct in_device *in_dev; vif_delete() local
856 struct in_device *in_dev; vif_add() local
[all...]
H A Dfib_semantics.c1271 struct in_device *in_dev; in fib_check_nh_nongw() local
1283 in_dev = inetdev_by_index(net, nh->fib_nh_oif); in fib_check_nh_nongw()
1284 if (!in_dev) in fib_check_nh_nongw()
1287 if (!(in_dev->dev->flags & IFF_UP)) { in fib_check_nh_nongw()
1292 nh->fib_nh_dev = in_dev->dev; in fib_check_nh_nongw()
H A Dip_gre.c975 struct in_device *in_dev; in ipgre_close() local
976 in_dev = inetdev_by_index(t->net, t->mlink); in ipgre_close()
977 if (in_dev) in ipgre_close()
978 ip_mc_dec_group(in_dev, t->parms.iph.daddr); in ipgre_close()
/linux/drivers/input/touchscreen/
H A Dbu21029_ts.c157 struct input_dev *in_dev; member
169 s32 max_pressure = input_abs_get_max(bu21029->in_dev, ABS_PRESSURE); in bu21029_touch_report()
200 touchscreen_report_pos(bu21029->in_dev, &bu21029->prop, in bu21029_touch_report()
202 input_report_abs(bu21029->in_dev, ABS_PRESSURE, in bu21029_touch_report()
204 input_report_key(bu21029->in_dev, BTN_TOUCH, 1); in bu21029_touch_report()
205 input_sync(bu21029->in_dev); in bu21029_touch_report()
215 input_report_abs(bu21029->in_dev, ABS_PRESSURE, 0); in bu21029_touch_release()
216 input_report_key(bu21029->in_dev, BTN_TOUCH, 0); in bu21029_touch_release()
217 input_sync(bu21029->in_dev); in bu21029_touch_release()
339 struct input_dev *in_dev; in bu21029_probe() local
[all...]
H A Dbu21013_ts.c142 * @in_dev: pointer to the input device structure
159 struct input_dev *in_dev; member
188 struct input_dev *input = ts->in_dev; in bu21013_do_touch_report()
410 struct input_dev *in_dev; in bu21013_probe() local
436 in_dev = devm_input_allocate_device(dev); in bu21013_probe()
437 if (!in_dev) { in bu21013_probe()
441 ts->in_dev = in_dev; in bu21013_probe()
442 input_set_drvdata(in_dev, ts); in bu21013_probe()
445 in_dev in bu21013_probe()
[all...]
/linux/net/netfilter/
H A Dnf_conntrack_broadcast.c29 struct in_device *in_dev; in nf_conntrack_broadcast_help() local
45 in_dev = __in_dev_get_rcu(rt->dst.dev); in nf_conntrack_broadcast_help()
46 if (in_dev != NULL) { in nf_conntrack_broadcast_help()
49 in_dev_for_each_ifa_rcu(ifa, in_dev) { in nf_conntrack_broadcast_help()
/linux/drivers/net/wan/
H A Dhdlc_cisco.c147 struct in_device *in_dev; in cisco_rx() local
180 in_dev = __in_dev_get_rcu(dev); in cisco_rx()
184 if (in_dev != NULL) { in cisco_rx()
187 in_dev_for_each_ifa_rcu(ifa, in_dev) { in cisco_rx()
/linux/drivers/net/plip/
H A Dplip.c1013 const struct in_device *in_dev; in plip_rewrite_address() local
1016 in_dev = __in_dev_get_rcu(dev); in plip_rewrite_address()
1017 if (in_dev) { in plip_rewrite_address()
1019 const struct in_ifaddr *ifa = rcu_dereference(in_dev->ifa_list); in plip_rewrite_address()
1070 struct in_device *in_dev; in plip_open() local
1109 in_dev=__in_dev_get_rtnl(dev); in plip_open()
1110 if (in_dev) { in plip_open()
1114 const struct in_ifaddr *ifa = rtnl_dereference(in_dev->ifa_list); in plip_open()
/linux/net/bridge/
H A Dbr_arp_nd_proxy.c112 struct in_device *in_dev; in br_is_local_ip()
115 in_dev = __in_dev_get_rcu(dev); in br_is_local_ip()
116 if (in_dev) in br_is_local_ip()
117 addr = inet_confirm_addr(dev_net(dev), in_dev, 0, ip, in br_is_local_ip()
95 struct in_device *in_dev; br_chk_addr_ip() local
/linux/include/net/
H A Dbonding.h656 struct in_device *in_dev; in bond_confirm_addr() local
660 in_dev = __in_dev_get_rcu(dev); in bond_confirm_addr()
662 if (in_dev) in bond_confirm_addr()
663 addr = inet_confirm_addr(dev_net(dev), in_dev, dst, local, in bond_confirm_addr()
/linux/net/batman-adv/
H A Dmulticast.c112 struct in_device *in_dev = __in_dev_get_rcu(dev); in batadv_mcast_mla_rtr_flags_meshif_get_ipv4() local
114 if (in_dev && IN_DEV_MFORWARD(in_dev)) in batadv_mcast_mla_rtr_flags_meshif_get_ipv4()
373 struct in_device *in_dev; in batadv_mcast_mla_meshif_get_ipv4()
382 in_dev = __in_dev_get_rcu(dev); in batadv_mcast_mla_meshif_get_ipv4()
383 if (!in_dev) { in batadv_mcast_mla_meshif_get_ipv4()
388 for (pmc = rcu_dereference(in_dev->mc_list); pmc; in batadv_mcast_mla_meshif_get_ipv4()
372 struct in_device *in_dev; batadv_mcast_mla_meshif_get_ipv4() local
/linux/drivers/infiniband/core/
H A Droce_gid_mgmt.c335 struct in_device *in_dev; in enum_netdev_ipv4_ips() local
348 in_dev = __in_dev_get_rcu(ndev); in enum_netdev_ipv4_ips()
349 if (!in_dev) { in enum_netdev_ipv4_ips()
354 in_dev_for_each_ifa_rcu(ifa, in_dev) { in enum_netdev_ipv4_ips()
/linux/drivers/net/ethernet/via/
H A Dvia-velocity.h1461 struct in_device *in_dev; in velocity_get_ip() local
1466 in_dev = __in_dev_get_rcu(vptr->netdev); in velocity_get_ip()
1467 if (in_dev != NULL) { in velocity_get_ip()
1468 ifa = rcu_dereference(in_dev->ifa_list); in velocity_get_ip()
/linux/net/smc/
H A Dsmc_clc.c515 struct in_device *in_dev = __in_dev_get_rcu(dev); in smc_clc_prfx_set4_rcu() local
518 if (!in_dev) in smc_clc_prfx_set4_rcu()
521 in_dev_for_each_ifa_rcu(ifa, in_dev) { in smc_clc_prfx_set4_rcu()
613 struct in_device *in_dev = __in_dev_get_rcu(dev); in smc_clc_prfx_match4_rcu() local
616 if (!in_dev) in smc_clc_prfx_match4_rcu()
618 in_dev_for_each_ifa_rcu(ifa, in_dev) { in smc_clc_prfx_match4_rcu()
H A Dsmc_ib.c242 struct in_device *in_dev = __in_dev_get_rcu(ndev); in smc_ib_determine_gid_rcu() local
247 if (!in_dev) in smc_ib_determine_gid_rcu()
249 in_dev_for_each_ifa_rcu(ifa, in_dev) { in smc_ib_determine_gid_rcu()
/linux/net/sctp/
H A Dprotocol.c77 struct in_device *in_dev; in sctp_v4_copy_addrlist() local
82 if ((in_dev = __in_dev_get_rcu(dev)) == NULL) { in sctp_v4_copy_addrlist()
87 in_dev_for_each_ifa_rcu(ifa, in_dev) { in sctp_v4_copy_addrlist()
/linux/drivers/net/
H A Dnetconsole.c463 struct in_device *in_dev; in netcons_take_ipv4()
465 in_dev = __in_dev_get_rtnl(ndev); in netcons_take_ipv4()
466 if (!in_dev) { in netcons_take_ipv4()
472 ifa = rtnl_dereference(in_dev->ifa_list); in netcons_take_ipv4()
455 struct in_device *in_dev; netcons_take_ipv4() local

12