106a1103fSBjoern A. Zeeb /*- 206a1103fSBjoern A. Zeeb * SPDX-License-Identifier: BSD-2-Clause 306a1103fSBjoern A. Zeeb * 406a1103fSBjoern A. Zeeb * Copyright (c) 2022 Bjoern A. Zeeb 506a1103fSBjoern A. Zeeb * 606a1103fSBjoern A. Zeeb * Redistribution and use in source and binary forms, with or without 706a1103fSBjoern A. Zeeb * modification, are permitted provided that the following conditions 806a1103fSBjoern A. Zeeb * are met: 906a1103fSBjoern A. Zeeb * 1. Redistributions of source code must retain the above copyright 1006a1103fSBjoern A. Zeeb * notice, this list of conditions and the following disclaimer. 1106a1103fSBjoern A. Zeeb * 2. Redistributions in binary form must reproduce the above copyright 1206a1103fSBjoern A. Zeeb * notice, this list of conditions and the following disclaimer in the 1306a1103fSBjoern A. Zeeb * documentation and/or other materials provided with the distribution. 1406a1103fSBjoern A. Zeeb * 1506a1103fSBjoern A. Zeeb * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 1606a1103fSBjoern A. Zeeb * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1706a1103fSBjoern A. Zeeb * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1806a1103fSBjoern A. Zeeb * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 1906a1103fSBjoern A. Zeeb * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2006a1103fSBjoern A. Zeeb * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2106a1103fSBjoern A. Zeeb * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2206a1103fSBjoern A. Zeeb * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2306a1103fSBjoern A. Zeeb * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2406a1103fSBjoern A. Zeeb * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2506a1103fSBjoern A. Zeeb * SUCH DAMAGE. 2606a1103fSBjoern A. Zeeb */ 2706a1103fSBjoern A. Zeeb 2806a1103fSBjoern A. Zeeb #ifndef _LINUXKPI_LINUX_QRTR_H 2906a1103fSBjoern A. Zeeb #define _LINUXKPI_LINUX_QRTR_H 3006a1103fSBjoern A. Zeeb 3106a1103fSBjoern A. Zeeb /* Qualcomm IPC Router (QRTR) */ 3206a1103fSBjoern A. Zeeb 3306a1103fSBjoern A. Zeeb #include <sys/socket.h> 3406a1103fSBjoern A. Zeeb 3506a1103fSBjoern A. Zeeb struct sockaddr_qrtr { 3606a1103fSBjoern A. Zeeb sa_family_t sq_family; 3706a1103fSBjoern A. Zeeb uint32_t sq_node; 3806a1103fSBjoern A. Zeeb uint32_t sq_port; 3906a1103fSBjoern A. Zeeb }; 4006a1103fSBjoern A. Zeeb 4106a1103fSBjoern A. Zeeb #endif /* _LINUXKPI_LINUX_QRTR_H */ 42