zephyr/subsys/net/ip
Tomasz Bursztyka 98d9b01322 device: Apply driver_api/data attributes rename everywhere
Via coccinelle:

@r_device_driver_api_and_data_1@
struct device *D;
@@
(
D->
-	driver_api
+	api
|
D->
-	driver_data
+	data
)

@r_device_driver_api_and_data_2@
expression E;
@@
(
net_if_get_device(E)->
-	driver_api
+	api
|
net_if_get_device(E)->
-	driver_data
+	data
)

And grep/sed rules for macros:

git grep -rlz 'dev)->driver_data' |
	xargs -0 sed -i 's/dev)->driver_data/dev)->data/g'

git grep -rlz 'dev->driver_data' |
	xargs -0 sed -i 's/dev->driver_data/dev->data/g'

git grep -rlz 'device->driver_data' |
	xargs -0 sed -i 's/device->driver_data/device->data/g'

Fixes #27397

Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
2020-08-11 19:30:53 +02:00
..
6lo_private.h
6lo.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
6lo.h
canbus_socket.c
canbus_socket.h
CMakeLists.txt cmake: fix include directories to work with out-of-tree arch 2020-08-05 08:06:07 -04:00
connection.c net: conn: Handle multi interface AF_PACKET recv() properly 2020-06-24 23:34:27 +03:00
connection.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
dhcpv4.c random: Include header where it is used 2020-07-08 21:05:36 -04:00
dhcpv4.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
icmpv4.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
icmpv4.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
icmpv6.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
icmpv6.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
ipv4_autoconf_internal.h
ipv4_autoconf.c random: Include header where it is used 2020-07-08 21:05:36 -04:00
ipv4.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
ipv4.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
ipv6_fragment.c random: Include header where it is used 2020-07-08 21:05:36 -04:00
ipv6_mld.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
ipv6_nbr.c net: ip: Fix IPv6 RS message doesn't comply RFC4291 2020-07-15 13:26:58 +02:00
ipv6.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
ipv6.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
Kconfig net: tcp2: Make new TCP stack the default 2020-08-09 09:32:15 -04:00
Kconfig.debug
Kconfig.ipv4
Kconfig.ipv6 net: openthread: Simplify openthread enabling 2020-06-30 07:48:08 -04:00
Kconfig.mgmt
Kconfig.stack
Kconfig.stats net/iface: Add PM suspend state statistics 2020-04-02 11:07:45 +03:00
nbr.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
nbr.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
net_context.c random: Include header where it is used 2020-07-08 21:05:36 -04:00
net_core.c net: Collect net_pkt RX detailed timing stats when passing IP stack 2020-08-07 10:12:51 +03:00
net_if.c device: Apply driver_api/data attributes rename everywhere 2020-08-11 19:30:53 +02:00
net_mgmt.c net: use kernel stacks 2020-08-01 08:13:15 -04:00
net_pkt.c net: Separate net_pkt priority from traffic class 2020-07-31 18:11:51 +02:00
net_private.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
net_shell.c net: shell: Add extra net_pkt RX timing statistics 2020-08-07 10:12:51 +03:00
net_shell.h
net_stats.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
net_stats.h net: Collect net_pkt RX detailed timing stats when passing IP stack 2020-08-07 10:12:51 +03:00
net_tc_mapping.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
net_tc.c net: Collect net_pkt RX detailed timing stats when passing IP stack 2020-08-07 10:12:51 +03:00
packet_socket.c
packet_socket.h
promiscuous.c net: promisc: Refactor because of timeout overhaul 2020-04-09 16:07:03 +03:00
route.c net: route: Skip lladdr check for ppp 2020-06-18 12:49:14 +02:00
route.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
tcp2_priv.h net: tcp2: fix unaligned access in the TCP2 stack 2020-07-22 15:08:31 +03:00
tcp2.c net: tcp2: Remove the temporary connection handler 2020-08-07 10:35:48 +03:00
tcp2.h net: tcp2: compile out net_tcp_init() in tcp2.h for non-native stacks 2020-08-11 07:23:59 -05:00
tcp_internal.h random: Include header where it is used 2020-07-08 21:05:36 -04:00
tcp.c net: tcp: Reset net_pkt creation time if packet is resent 2020-08-07 10:12:51 +03:00
tp_priv.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
tp.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
tp.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
trickle.c random: Include header where it is used 2020-07-08 21:05:36 -04:00
udp_internal.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
udp.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
utils.c net: ip: copy to wrong destination in z_vrfy_net_addr_pton() 2020-07-06 18:00:07 -04:00