| /linux/include/linux/ |
| A D | inetdevice.h | 94 IN_DEV_NET_ORCONF(in_dev, dev_net(in_dev->dev), attr) 103 #define IN_DEV_RPFILTER(in_dev) IN_DEV_MAXCONF((in_dev), RP_FILTER) argument 105 #define IN_DEV_SOURCE_ROUTE(in_dev) IN_DEV_ANDCONF((in_dev), \ argument 111 #define IN_DEV_PROXY_ARP(in_dev) IN_DEV_ORCONF((in_dev), PROXY_ARP) argument 115 #define IN_DEV_SEC_REDIRECTS(in_dev) IN_DEV_ORCONF((in_dev), \ argument 117 #define IN_DEV_IDTAG(in_dev) IN_DEV_CONF_GET(in_dev, TAG) argument 118 #define IN_DEV_MEDIUM_ID(in_dev) IN_DEV_CONF_GET(in_dev, MEDIUM_ID) argument 244 if (in_dev) in in_dev_get() 247 return in_dev; in in_dev_get() 262 if (in_dev && in ip_ignore_linkdown() [all …]
|
| A D | igmp.h | 133 extern void __ip_mc_dec_group(struct in_device *in_dev, __be32 addr, gfp_t gfp); 134 static inline void ip_mc_dec_group(struct in_device *in_dev, __be32 addr) in ip_mc_dec_group() argument 136 return __ip_mc_dec_group(in_dev, addr, GFP_KERNEL); in ip_mc_dec_group() 138 extern void __ip_mc_inc_group(struct in_device *in_dev, __be32 addr, 140 extern void ip_mc_inc_group(struct in_device *in_dev, __be32 addr);
|
| /linux/net/ipv4/ |
| A D | igmp.c | 137 if (IGMP_V1_SEEN(in_dev) || IGMP_V2_SEEN(in_dev)) in unsolicited_report_interval() 139 in_dev, in unsolicited_report_interval() 143 in_dev, in unsolicited_report_interval() 337 if (!in_dev) in igmpv3_get_srcaddr() 831 if (IGMP_V1_SEEN(in_dev) || IGMP_V2_SEEN(in_dev)) in igmp_ifc_event() 962 (in_dev->mr_qrv * in_dev->mr_qi) + in igmp_heard_query() 969 (in_dev->mr_qrv * in_dev->mr_qi) + in igmp_heard_query() 1022 if (in_dev->mr_qri >= in_dev->mr_qi) in igmp_heard_query() 1023 in_dev->mr_qri = (in_dev->mr_qi/HZ - 1)*HZ; in igmp_heard_query() 1358 if (IGMP_V1_SEEN(in_dev) || IGMP_V2_SEEN(in_dev)) { in igmp_group_added() [all …]
|
| A D | devinet.c | 284 in_dev = kzalloc(sizeof(*in_dev), GFP_KERNEL); in inetdev_init() 285 if (!in_dev) in inetdev_init() 320 kfree(in_dev); in inetdev_init() 321 in_dev = NULL; in inetdev_init() 339 inet_del_ifa(in_dev, &in_dev->ifa_list, 0); in inetdev_destroy() 890 if (!in_dev) in rtm_to_ifaddr() 1304 if (!in_dev) in inet_gifconf() 1359 if (!in_dev) in inet_select_addr() 1476 if (in_dev) in inet_confirm_addr() 2263 if (in_dev) in inet_netconf_get_devconf() [all …]
|
| A D | arp.c | 227 struct in_device *in_dev; in arp_constructor() local 236 in_dev = __in_dev_get_rcu(dev); in arp_constructor() 237 if (!in_dev) { in arp_constructor() 244 parms = in_dev->arp_parms; in arp_constructor() 340 struct in_device *in_dev; in arp_solicit() local 345 if (!in_dev) { in arp_solicit() 417 in_dev = NULL; in arp_ignore() 483 if (!IN_DEV_PROXY_ARP(in_dev)) in arp_fwd_proxy() 719 if (!in_dev) in arp_process() 1323 struct in_device *in_dev; in arp_netdev_event() local [all …]
|
| A D | route.c | 753 if (!in_dev) in __ip_do_redirect() 867 if (!in_dev || !IN_DEV_TX_REDIRECTS(in_dev)) { in ip_rt_send_redirect() 942 if (!in_dev) in ip_error() 1675 if (!in_dev) in ip_mc_validate_source() 1691 in_dev, itag); in ip_mc_validate_source() 1789 in_dev->dev, in_dev, &itag); in __mkroute_input() 1791 ip_handle_martian_source(in_dev->dev, in_dev, skb, daddr, in __mkroute_input() 2148 if (!in_dev) in ip_route_use_hint() 2220 if (!in_dev) in ip_route_input_slow() 2436 if (!in_dev) in ip_route_input_rcu() [all …]
|
| A D | ip_input.c | 287 struct in_device *in_dev = __in_dev_get_rcu(dev); in ip_rcv_options() local 289 if (in_dev) { in ip_rcv_options() 290 if (!IN_DEV_SOURCE_ROUTE(in_dev)) { in ip_rcv_options() 291 if (IN_DEV_LOG_MARTIANS(in_dev)) in ip_rcv_options() 370 struct in_device *in_dev = __in_dev_get_rcu(dev); in ip_rcv_finish_core() local 372 if (in_dev && IN_DEV_ORCONF(in_dev, NOPOLICY)) in ip_rcv_finish_core() 397 struct in_device *in_dev = __in_dev_get_rcu(dev); in ip_rcv_finish_core() local 414 if (in_dev && in ip_rcv_finish_core() 415 IN_DEV_ORCONF(in_dev, DROP_UNICAST_IN_L2_MULTICAST)) { in ip_rcv_finish_core()
|
| A D | fib_frontend.c | 274 struct in_device *in_dev; in fib_compute_spec_dst() local 285 in_dev = __in_dev_get_rcu(dev); in fib_compute_spec_dst() 291 bool vmark = in_dev && IN_DEV_SRC_VMARK(in_dev); in fib_compute_spec_dst() 546 struct in_device *in_dev; in rtentry_to_fib_config() local 548 in_dev = __in_dev_get_rtnl(dev); in rtentry_to_fib_config() 549 if (!in_dev) in rtentry_to_fib_config() 1206 if (!in_dev->dead) in fib_del_ifaddr() 1223 if (in_dev->dead) in fib_del_ifaddr() 1468 struct in_device *in_dev; in fib_netdev_event() local 1479 in_dev = __in_dev_get_rtnl(dev); in fib_netdev_event() [all …]
|
| A D | ipmr.c | 428 struct in_device *in_dev; in ipmr_init_vif_indev() local 432 in_dev = __in_dev_get_rtnl(dev); in ipmr_init_vif_indev() 433 if (!in_dev) in ipmr_init_vif_indev() 435 ipv4_devconf_setall(in_dev); in ipmr_init_vif_indev() 656 struct in_device *in_dev; in vif_delete() local 690 in_dev = __in_dev_get_rtnl(dev); in vif_delete() 691 if (in_dev) { in vif_delete() 696 ip_rt_multicast_event(in_dev); in vif_delete() 818 struct in_device *in_dev; in vif_add() local 873 if (!in_dev) { in vif_add() [all …]
|
| A D | icmp.c | 1046 struct in_device *in_dev; in icmp_build_probe() local 1131 in_dev = __in_dev_get_rcu(dev); in icmp_build_probe() 1132 if (in_dev && rcu_access_pointer(in_dev->ifa_list)) in icmp_build_probe()
|
| /linux/drivers/input/touchscreen/ |
| A D | bu21029_ts.c | 157 struct input_dev *in_dev; member 205 input_sync(bu21029->in_dev); in bu21029_touch_report() 216 input_sync(bu21029->in_dev); in bu21029_touch_release() 338 struct input_dev *in_dev; in bu21029_probe() local 370 if (!in_dev) { in bu21029_probe() 376 bu21029->in_dev = in_dev; in bu21029_probe() 379 in_dev->name = DRIVER_NAME; in bu21029_probe() 380 in_dev->id.bustype = BUS_I2C; in bu21029_probe() 381 in_dev->open = bu21029_start_chip; in bu21029_probe() 382 in_dev->close = bu21029_stop_chip; in bu21029_probe() [all …]
|
| A D | bu21013_ts.c | 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->name = DRIVER_TP; in bu21013_probe() 446 in_dev->id.bustype = BUS_I2C; in bu21013_probe() 459 info = &in_dev->absinfo[ABS_MT_POSITION_X]; in bu21013_probe() [all …]
|
| /linux/net/netfilter/ |
| A D | nf_conntrack_broadcast.c | 27 struct in_device *in_dev; in nf_conntrack_broadcast_help() local 39 in_dev = __in_dev_get_rcu(rt->dst.dev); in nf_conntrack_broadcast_help() 40 if (in_dev != NULL) { in nf_conntrack_broadcast_help() 43 in_dev_for_each_ifa_rcu(ifa, in_dev) { in nf_conntrack_broadcast_help()
|
| A D | nfnetlink_osf.c | 34 struct in_device *in_dev = __in_dev_get_rcu(skb->dev); in nf_osf_ttl() local 46 in_dev_for_each_ifa_rcu(ifa, in_dev) { in nf_osf_ttl()
|
| /linux/drivers/net/wan/ |
| A D | hdlc_cisco.c | 147 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/net/bridge/ |
| A D | br_arp_nd_proxy.c | 95 struct in_device *in_dev; in br_chk_addr_ip() local 98 in_dev = __in_dev_get_rcu(dev); in br_chk_addr_ip() 99 if (in_dev) in br_chk_addr_ip() 100 addr = inet_confirm_addr(dev_net(dev), in_dev, 0, ip, in br_chk_addr_ip()
|
| /linux/drivers/net/plip/ |
| A D | plip.c | 1013 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/include/net/ |
| A D | bonding.h | 654 struct in_device *in_dev; in bond_confirm_addr() local 658 in_dev = __in_dev_get_rcu(dev); in bond_confirm_addr() 660 if (in_dev) in bond_confirm_addr() 661 addr = inet_confirm_addr(dev_net(dev), in_dev, dst, local, in bond_confirm_addr()
|
| /linux/net/batman-adv/ |
| A D | multicast.c | 113 struct in_device *in_dev = __in_dev_get_rcu(dev); in batadv_mcast_mla_rtr_flags_softif_get_ipv4() local 115 if (in_dev && IN_DEV_MFORWARD(in_dev)) in batadv_mcast_mla_rtr_flags_softif_get_ipv4() 374 struct in_device *in_dev; in batadv_mcast_mla_softif_get_ipv4() local 384 in_dev = __in_dev_get_rcu(dev); in batadv_mcast_mla_softif_get_ipv4() 385 if (!in_dev) { in batadv_mcast_mla_softif_get_ipv4() 390 for (pmc = rcu_dereference(in_dev->mc_list); pmc; in batadv_mcast_mla_softif_get_ipv4()
|
| /linux/drivers/infiniband/core/ |
| A D | roce_gid_mgmt.c | 335 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/net/core/ |
| A D | netpoll.c | 673 struct in_device *in_dev; in netpoll_setup() local 723 in_dev = __in_dev_get_rtnl(ndev); in netpoll_setup() 724 if (!in_dev) in netpoll_setup() 727 ifa = rtnl_dereference(in_dev->ifa_list); in netpoll_setup()
|
| /linux/drivers/net/ethernet/via/ |
| A D | via-velocity.h | 1461 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/ |
| A D | smc_clc.c | 507 struct in_device *in_dev = __in_dev_get_rcu(dst->dev); in smc_clc_prfx_set4_rcu() local 510 if (!in_dev) in smc_clc_prfx_set4_rcu() 513 in_dev_for_each_ifa_rcu(ifa, in_dev) { in smc_clc_prfx_set4_rcu() 602 struct in_device *in_dev = __in_dev_get_rcu(dev); in smc_clc_prfx_match4_rcu() local 605 if (!in_dev) in smc_clc_prfx_match4_rcu() 607 in_dev_for_each_ifa_rcu(ifa, in_dev) { in smc_clc_prfx_match4_rcu()
|
| /linux/net/atm/ |
| A D | clip.c | 581 struct in_device *in_dev; in clip_inet_event() local 584 in_dev = ((struct in_ifaddr *)ifa)->ifa_dev; in clip_inet_event() 591 netdev_notifier_info_init(&info, in_dev->dev); in clip_inet_event()
|
| /linux/drivers/media/test-drivers/vivid/ |
| A D | vivid-vid-out.c | 563 struct vivid_dev *in_dev = vivid_output_is_connected_to(dev); in vivid_s_fmt_vid_out() local 565 if (in_dev) { in vivid_s_fmt_vid_out() 566 vivid_send_source_change(in_dev, SVID); in vivid_s_fmt_vid_out() 567 vivid_send_source_change(in_dev, HDMI); in vivid_s_fmt_vid_out()
|