/linux-6.3-rc2/include/linux/ |
A D | inetdevice.h | 92 IN_DEV_NET_ORCONF(in_dev, dev_net(in_dev->dev), attr) 101 #define IN_DEV_RPFILTER(in_dev) IN_DEV_MAXCONF((in_dev), RP_FILTER) argument 103 #define IN_DEV_SOURCE_ROUTE(in_dev) IN_DEV_ANDCONF((in_dev), \ argument 109 #define IN_DEV_PROXY_ARP(in_dev) IN_DEV_ORCONF((in_dev), PROXY_ARP) argument 113 #define IN_DEV_SEC_REDIRECTS(in_dev) IN_DEV_ORCONF((in_dev), \ argument 115 #define IN_DEV_IDTAG(in_dev) IN_DEV_CONF_GET(in_dev, TAG) argument 116 #define IN_DEV_MEDIUM_ID(in_dev) IN_DEV_CONF_GET(in_dev, MEDIUM_ID) argument 242 if (in_dev) in in_dev_get() 245 return in_dev; in in_dev_get() 260 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-6.3-rc2/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() 335 if (!in_dev) in igmpv3_get_srcaddr() 828 if (IGMP_V1_SEEN(in_dev) || IGMP_V2_SEEN(in_dev)) in igmp_ifc_event() 959 (in_dev->mr_qrv * in_dev->mr_qi) + in igmp_heard_query() 966 (in_dev->mr_qrv * in_dev->mr_qi) + in igmp_heard_query() 1019 if (in_dev->mr_qri >= in_dev->mr_qi) in igmp_heard_query() 1020 in_dev->mr_qri = (in_dev->mr_qi/HZ - 1)*HZ; in igmp_heard_query() 1355 if (IGMP_V1_SEEN(in_dev) || IGMP_V2_SEEN(in_dev)) { in igmp_group_added() [all …]
|
A D | devinet.c | 269 in_dev = kzalloc(sizeof(*in_dev), GFP_KERNEL); in inetdev_init() 270 if (!in_dev) in inetdev_init() 303 kfree(in_dev); in inetdev_init() 304 in_dev = NULL; in inetdev_init() 322 inet_del_ifa(in_dev, &in_dev->ifa_list, 0); in inetdev_destroy() 852 if (!in_dev) in rtm_to_ifaddr() 1261 if (!in_dev) in inet_gifconf() 1316 if (!in_dev) in inet_select_addr() 1433 if (in_dev) in inet_confirm_addr() 1930 if (!in_dev) in inet_get_link_af_size() [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() 482 if (!IN_DEV_PROXY_ARP(in_dev)) in arp_fwd_proxy() 718 if (!in_dev) in arp_process() 1276 struct in_device *in_dev; in arp_netdev_event() local [all …]
|
A D | route.c | 764 if (!in_dev) in __ip_do_redirect() 885 if (!in_dev || !IN_DEV_TX_REDIRECTS(in_dev)) { in ip_rt_send_redirect() 962 if (!in_dev) in ip_error() 1698 if (!in_dev) in ip_mc_validate_source() 1714 in_dev, itag); in ip_mc_validate_source() 1812 in_dev->dev, in_dev, &itag); in __mkroute_input() 1814 ip_handle_martian_source(in_dev->dev, in_dev, skb, daddr, in __mkroute_input() 2239 if (!in_dev) in ip_route_input_slow() 2345 in_dev, &itag); in ip_route_input_slow() 2455 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() 1203 if (!in_dev->dead) in fib_del_ifaddr() 1220 if (in_dev->dead) in fib_del_ifaddr() 1465 struct in_device *in_dev; in fib_netdev_event() local 1476 in_dev = __in_dev_get_rtnl(dev); in fib_netdev_event() [all …]
|
A D | ipmr.c | 427 struct in_device *in_dev; in ipmr_init_vif_indev() local 431 in_dev = __in_dev_get_rtnl(dev); in ipmr_init_vif_indev() 432 if (!in_dev) in ipmr_init_vif_indev() 434 ipv4_devconf_setall(in_dev); in ipmr_init_vif_indev() 655 struct in_device *in_dev; in vif_delete() local 689 in_dev = __in_dev_get_rtnl(dev); in vif_delete() 690 if (in_dev) { in vif_delete() 695 ip_rt_multicast_event(in_dev); in vif_delete() 817 struct in_device *in_dev; in vif_add() local 872 if (!in_dev) { in vif_add() [all …]
|
/linux-6.3-rc2/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() 337 struct input_dev *in_dev; in bu21029_probe() local 381 if (!in_dev) { in bu21029_probe() 387 bu21029->in_dev = in_dev; in bu21029_probe() 390 in_dev->name = DRIVER_NAME; in bu21029_probe() 391 in_dev->id.bustype = BUS_I2C; in bu21029_probe() 392 in_dev->open = bu21029_start_chip; in bu21029_probe() 393 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 if (!in_dev) { in bu21013_probe() 440 ts->in_dev = in_dev; in bu21013_probe() 441 input_set_drvdata(in_dev, ts); in bu21013_probe() 444 in_dev->name = DRIVER_TP; in bu21013_probe() 445 in_dev->id.bustype = BUS_I2C; in bu21013_probe() 458 info = &in_dev->absinfo[ABS_MT_POSITION_X]; in bu21013_probe() 465 info = &in_dev->absinfo[ABS_MT_POSITION_Y]; in bu21013_probe() [all …]
|
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/drivers/parisc/ |
A D | led.c | 367 struct in_device *in_dev = __in_dev_get_rcu(dev); in led_get_net_activity() 368 if (!in_dev || !in_dev->ifa_list) in led_get_net_activity() 370 if (ipv4_is_loopback(in_dev->ifa_list->ifa_local)) in led_get_net_activity()
|
/linux-6.3-rc2/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()
|
A D | br_netfilter_hooks.c | 369 struct in_device *in_dev = __in_dev_get_rcu(dev); in br_nf_pre_routing_finish() local 378 if (err != -EHOSTUNREACH || !in_dev || IN_DEV_FORWARD(in_dev)) in br_nf_pre_routing_finish()
|
/linux-6.3-rc2/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-6.3-rc2/include/net/ |
A D | bonding.h | 632 struct in_device *in_dev; in bond_confirm_addr() local 636 in_dev = __in_dev_get_rcu(dev); in bond_confirm_addr() 638 if (in_dev) in bond_confirm_addr() 639 addr = inet_confirm_addr(dev_net(dev), in_dev, dst, local, in bond_confirm_addr()
|
/linux-6.3-rc2/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() 342 struct in_device *in_dev; in batadv_mcast_mla_softif_get_ipv4() local 352 in_dev = __in_dev_get_rcu(dev); in batadv_mcast_mla_softif_get_ipv4() 353 if (!in_dev) { in batadv_mcast_mla_softif_get_ipv4() 358 for (pmc = rcu_dereference(in_dev->mc_list); pmc; in batadv_mcast_mla_softif_get_ipv4()
|
/linux-6.3-rc2/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-6.3-rc2/net/core/ |
A D | netpoll.c | 663 struct in_device *in_dev; in netpoll_setup() local 713 in_dev = __in_dev_get_rtnl(ndev); in netpoll_setup() 714 if (!in_dev) in netpoll_setup() 717 ifa = rtnl_dereference(in_dev->ifa_list); in netpoll_setup()
|
/linux-6.3-rc2/net/smc/ |
A D | smc_clc.c | 482 struct in_device *in_dev = __in_dev_get_rcu(dst->dev); in smc_clc_prfx_set4_rcu() local 485 if (!in_dev) in smc_clc_prfx_set4_rcu() 488 in_dev_for_each_ifa_rcu(ifa, in_dev) { in smc_clc_prfx_set4_rcu() 577 struct in_device *in_dev = __in_dev_get_rcu(dev); in smc_clc_prfx_match4_rcu() local 580 if (!in_dev) in smc_clc_prfx_match4_rcu() 582 in_dev_for_each_ifa_rcu(ifa, in_dev) { in smc_clc_prfx_match4_rcu()
|
/linux-6.3-rc2/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-6.3-rc2/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()
|