zephyr/include/net
Tomasz Bursztyka e18fcbba5a device: Const-ify all device driver instance pointers
Now that device_api attribute is unmodified at runtime, as well as all
the other attributes, it is possible to switch all device driver
instance to be constant.

A coccinelle rule is used for this:

@r_const_dev_1
  disable optional_qualifier
@
@@
-struct device *
+const struct device *

@r_const_dev_2
 disable optional_qualifier
@
@@
-struct device * const
+const struct device *

Fixes #27399

Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
2020-09-02 13:48:13 +02:00
..
bt.h net: bt: fix C++ link errors 2020-08-17 10:45:03 +03:00
buf.h net: includes: Fix indentation in header files 2020-08-21 13:56:13 -04:00
can.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
coap_link_format.h
coap.h net: includes: Fix indentation in header files 2020-08-21 13:56:13 -04:00
dhcpv4.h
dns_resolve.h
dummy.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
ethernet_mgmt.h net: includes: Fix indentation in header files 2020-08-21 13:56:13 -04:00
ethernet_vlan.h
ethernet.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
gptp.h
hostname.h
http_client.h
http_parser_state.h
http_parser_url.h
http_parser.h
ieee802154_mgmt.h
ieee802154_radio.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
ieee802154.h
ipv4_autoconf.h
lldp.h net: includes: Fix indentation in header files 2020-08-21 13:56:13 -04:00
lwm2m.h net: lib: lwm2m: add new sensor objects 2020-08-27 11:01:09 +03:00
mii.h
mqtt.h
net_config.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
net_conn_mgr.h
net_context.h
net_core.h net: Collect net_pkt RX detailed timing stats when passing IP stack 2020-08-07 10:12:51 +03:00
net_event.h
net_if.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
net_ip.h net: ip: sockaddr_ll_ptr is larger than sockaddr_in6_ptr 2020-08-27 10:56:06 +03:00
net_l2.h
net_linkaddr.h
net_mgmt.h net: includes: Fix indentation in header files 2020-08-21 13:56:13 -04:00
net_offload.h
net_pkt.h net: includes: Fix indentation in header files 2020-08-21 13:56:13 -04: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_timeout.h
openthread.h net: openthread: Protect OT API calls from being preempted 2020-07-27 19:04:43 +02:00
ppp.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
promiscuous.h
ptp_time.h
sntp.h
socket_can.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
socket_net_mgmt.h
socket_offload.h
socket_select.h
socket.h net: includes: Fix indentation in header files 2020-08-21 13:56:13 -04:00
socketutils.h
tftp.h
tls_credentials.h
trickle.h net: includes: Fix indentation in header files 2020-08-21 13:56:13 -04:00
udp.h
websocket.h net: includes: Fix indentation in header files 2020-08-21 13:56:13 -04:00
wifi_mgmt.h device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
wifi.h