lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h
Move the network buffer header file from zephyr/net/buf.h to zephyr/net_buf.h as the implementation now lives outside of the networking subsystem. Add (deprecated) zephyr/net/buf.h header to maintain compatibility with old file path. Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
This commit is contained in:
parent
ced80b13bf
commit
159f7dbbb1
234 changed files with 2968 additions and 2953 deletions
|
@ -18,7 +18,7 @@
|
|||
#include <zephyr/bluetooth/hci.h>
|
||||
#include <zephyr/bluetooth/iso.h>
|
||||
#include <zephyr/bluetooth/uuid.h>
|
||||
#include <zephyr/net/buf.h>
|
||||
#include <zephyr/net_buf.h>
|
||||
#include <zephyr/sys/printk.h>
|
||||
#include <zephyr/sys/util.h>
|
||||
#include <zephyr/sys/util_macro.h>
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
#include <zephyr/bluetooth/iso.h>
|
||||
#include <zephyr/bluetooth/uuid.h>
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/net/buf.h>
|
||||
#include <zephyr/net_buf.h>
|
||||
#include <zephyr/sys/byteorder.h>
|
||||
#include <zephyr/sys/printk.h>
|
||||
#include <zephyr/sys/util.h>
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
#include <zephyr/bluetooth/iso.h>
|
||||
#include <zephyr/bluetooth/uuid.h>
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/net/buf.h>
|
||||
#include <zephyr/net_buf.h>
|
||||
#include <zephyr/sys/printk.h>
|
||||
#include <zephyr/sys/util.h>
|
||||
#include <zephyr/toolchain.h>
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
#include <zephyr/bluetooth/iso.h>
|
||||
#include <zephyr/bluetooth/uuid.h>
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/net/buf.h>
|
||||
#include <zephyr/net_buf.h>
|
||||
#include <zephyr/sys/byteorder.h>
|
||||
#include <zephyr/sys/printk.h>
|
||||
#include <zephyr/sys/util.h>
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
#include <zephyr/bluetooth/iso.h>
|
||||
#include <zephyr/bluetooth/uuid.h>
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/net/buf.h>
|
||||
#include <zephyr/net_buf.h>
|
||||
#include <zephyr/sys/atomic.h>
|
||||
#include <zephyr/sys/atomic_types.h>
|
||||
#include <zephyr/sys/printk.h>
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#include <zephyr/bluetooth/iso.h>
|
||||
#include <zephyr/bluetooth/uuid.h>
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/net/buf.h>
|
||||
#include <zephyr/net_buf.h>
|
||||
#include <zephyr/sys/printk.h>
|
||||
#include <zephyr/sys/util.h>
|
||||
#include <zephyr/sys/util_macro.h>
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
#include <zephyr/bluetooth/iso.h>
|
||||
#include <zephyr/bluetooth/uuid.h>
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/net/buf.h>
|
||||
#include <zephyr/net_buf.h>
|
||||
#include <zephyr/sys/byteorder.h>
|
||||
#include <zephyr/sys/printk.h>
|
||||
#include <zephyr/sys/util.h>
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#include <zephyr/bluetooth/gatt.h>
|
||||
#include <zephyr/bluetooth/hci_types.h>
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/net/buf.h>
|
||||
#include <zephyr/net_buf.h>
|
||||
#include <zephyr/sys/byteorder.h>
|
||||
#include <zephyr/sys/printk.h>
|
||||
#include <zephyr/sys/util_macro.h>
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#include <zephyr/bluetooth/iso.h>
|
||||
#include <zephyr/bluetooth/uuid.h>
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/net/buf.h>
|
||||
#include <zephyr/net_buf.h>
|
||||
#include <zephyr/sys/printk.h>
|
||||
#include <zephyr/sys/util.h>
|
||||
#include <zephyr/toolchain.h>
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#include <zephyr/bluetooth/hci_types.h>
|
||||
#include <zephyr/bluetooth/iso.h>
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/net/buf.h>
|
||||
#include <zephyr/net_buf.h>
|
||||
#include <zephyr/sys/atomic.h>
|
||||
#include <zephyr/sys/byteorder.h>
|
||||
#include <zephyr/sys/printk.h>
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
#include <zephyr/bluetooth/conn.h>
|
||||
#include <zephyr/bluetooth/gap.h>
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/net/buf.h>
|
||||
#include <zephyr/net_buf.h>
|
||||
#include <zephyr/sys/__assert.h>
|
||||
#include <zephyr/sys/atomic_types.h>
|
||||
#include <zephyr/sys/printk.h>
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
#include <zephyr/bluetooth/gap.h>
|
||||
#include <zephyr/bluetooth/hci_types.h>
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/net/buf.h>
|
||||
#include <zephyr/net_buf.h>
|
||||
#include <zephyr/sys/printk.h>
|
||||
#include <zephyr/sys/util.h>
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
#include <zephyr/bluetooth/iso.h>
|
||||
#include <zephyr/bluetooth/uuid.h>
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/net/buf.h>
|
||||
#include <zephyr/net_buf.h>
|
||||
#include <zephyr/sys/byteorder.h>
|
||||
#include <zephyr/sys/printk.h>
|
||||
#include <zephyr/sys/util.h>
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
#include <zephyr/bluetooth/hci_types.h>
|
||||
#include <zephyr/bluetooth/services/ots.h>
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/net/buf.h>
|
||||
#include <zephyr/net_buf.h>
|
||||
#include <zephyr/sys/printk.h>
|
||||
|
||||
#include "bstests.h"
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#include <zephyr/bluetooth/iso.h>
|
||||
#include <zephyr/bluetooth/uuid.h>
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/net/buf.h>
|
||||
#include <zephyr/net_buf.h>
|
||||
#include <zephyr/sys/byteorder.h>
|
||||
#include <zephyr/sys/printk.h>
|
||||
#include <zephyr/sys/util.h>
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
#include <zephyr/bluetooth/iso.h>
|
||||
#include <zephyr/bluetooth/uuid.h>
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/net/buf.h>
|
||||
#include <zephyr/net_buf.h>
|
||||
#include <zephyr/sys/printk.h>
|
||||
#include <zephyr/sys/util.h>
|
||||
#include <zephyr/toolchain.h>
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
#include <zephyr/bluetooth/gap.h>
|
||||
#include <zephyr/bluetooth/uuid.h>
|
||||
#include <zephyr/bluetooth/gatt.h>
|
||||
#include <zephyr/net/buf.h>
|
||||
#include <zephyr/net_buf.h>
|
||||
#include <zephyr/sys/printk.h>
|
||||
#include <zephyr/types.h>
|
||||
#include <zephyr/sys/byteorder.h>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
#include <zephyr/sys/byteorder.h>
|
||||
#include <zephyr/sys/__assert.h>
|
||||
|
||||
#include <zephyr/net/buf.h>
|
||||
#include <zephyr/net_buf.h>
|
||||
#include <zephyr/bluetooth/buf.h>
|
||||
|
||||
#include <zephyr/bluetooth/bluetooth.h>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
#include <zephyr/sys/byteorder.h>
|
||||
#include <zephyr/sys/__assert.h>
|
||||
|
||||
#include <zephyr/net/buf.h>
|
||||
#include <zephyr/net_buf.h>
|
||||
#include <zephyr/bluetooth/buf.h>
|
||||
|
||||
#include <zephyr/bluetooth/bluetooth.h>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
#include <zephyr/sys/byteorder.h>
|
||||
#include <zephyr/sys/__assert.h>
|
||||
|
||||
#include <zephyr/net/buf.h>
|
||||
#include <zephyr/net_buf.h>
|
||||
#include <zephyr/bluetooth/buf.h>
|
||||
|
||||
#include <zephyr/bluetooth/bluetooth.h>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
#include <zephyr/sys/byteorder.h>
|
||||
#include <zephyr/sys/__assert.h>
|
||||
|
||||
#include <zephyr/net/buf.h>
|
||||
#include <zephyr/net_buf.h>
|
||||
#include <zephyr/bluetooth/buf.h>
|
||||
|
||||
#include <zephyr/bluetooth/bluetooth.h>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
#include <zephyr/sys/byteorder.h>
|
||||
#include <zephyr/sys/__assert.h>
|
||||
|
||||
#include <zephyr/net/buf.h>
|
||||
#include <zephyr/net_buf.h>
|
||||
#include <zephyr/bluetooth/buf.h>
|
||||
|
||||
#include <zephyr/bluetooth/bluetooth.h>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
#include <zephyr/sys/byteorder.h>
|
||||
#include <zephyr/sys/__assert.h>
|
||||
|
||||
#include <zephyr/net/buf.h>
|
||||
#include <zephyr/net_buf.h>
|
||||
#include <zephyr/bluetooth/buf.h>
|
||||
|
||||
#include <zephyr/bluetooth/bluetooth.h>
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
#include <zephyr/sys/byteorder.h>
|
||||
#include <zephyr/debug/stack.h>
|
||||
|
||||
#include <zephyr/net/buf.h>
|
||||
#include <zephyr/net_buf.h>
|
||||
|
||||
#include <zephyr/bluetooth/bluetooth.h>
|
||||
#include <zephyr/bluetooth/l2cap.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue