1*06a1103fSBjoern A. Zeeb /*- 2*06a1103fSBjoern A. Zeeb * SPDX-License-Identifier: BSD-2-Clause 3*06a1103fSBjoern A. Zeeb * 4*06a1103fSBjoern A. Zeeb * Copyright (c) 2022 Bjoern A. Zeeb 5*06a1103fSBjoern A. Zeeb * 6*06a1103fSBjoern A. Zeeb * Redistribution and use in source and binary forms, with or without 7*06a1103fSBjoern A. Zeeb * modification, are permitted provided that the following conditions 8*06a1103fSBjoern A. Zeeb * are met: 9*06a1103fSBjoern A. Zeeb * 1. Redistributions of source code must retain the above copyright 10*06a1103fSBjoern A. Zeeb * notice, this list of conditions and the following disclaimer. 11*06a1103fSBjoern A. Zeeb * 2. Redistributions in binary form must reproduce the above copyright 12*06a1103fSBjoern A. Zeeb * notice, this list of conditions and the following disclaimer in the 13*06a1103fSBjoern A. Zeeb * documentation and/or other materials provided with the distribution. 14*06a1103fSBjoern A. Zeeb * 15*06a1103fSBjoern A. Zeeb * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 16*06a1103fSBjoern A. Zeeb * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 17*06a1103fSBjoern A. Zeeb * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 18*06a1103fSBjoern A. Zeeb * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 19*06a1103fSBjoern A. Zeeb * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 20*06a1103fSBjoern A. Zeeb * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 21*06a1103fSBjoern A. Zeeb * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22*06a1103fSBjoern A. Zeeb * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23*06a1103fSBjoern A. Zeeb * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24*06a1103fSBjoern A. Zeeb * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25*06a1103fSBjoern A. Zeeb * SUCH DAMAGE. 26*06a1103fSBjoern A. Zeeb */ 27*06a1103fSBjoern A. Zeeb 28*06a1103fSBjoern A. Zeeb #ifndef _LINUXKPI_LINUX_QRTR_H 29*06a1103fSBjoern A. Zeeb #define _LINUXKPI_LINUX_QRTR_H 30*06a1103fSBjoern A. Zeeb 31*06a1103fSBjoern A. Zeeb /* Qualcomm IPC Router (QRTR) */ 32*06a1103fSBjoern A. Zeeb 33*06a1103fSBjoern A. Zeeb #include <sys/socket.h> 34*06a1103fSBjoern A. Zeeb 35*06a1103fSBjoern A. Zeeb struct sockaddr_qrtr { 36*06a1103fSBjoern A. Zeeb sa_family_t sq_family; 37*06a1103fSBjoern A. Zeeb uint32_t sq_node; 38*06a1103fSBjoern A. Zeeb uint32_t sq_port; 39*06a1103fSBjoern A. Zeeb }; 40*06a1103fSBjoern A. Zeeb 41*06a1103fSBjoern A. Zeeb #endif /* _LINUXKPI_LINUX_QRTR_H */ 42