Lines Matching +full:ip +full:- +full:addr
2 * Copyright (c) 2023-2024 Marcin Niestroj
4 * SPDX-License-Identifier: Apache-2.0
15 #define NSOS_MID_PF_INET 1 /**< IP protocol family version 4. */
16 #define NSOS_MID_PF_INET6 2 /**< IP protocol family version 6. */
22 #define NSOS_MID_AF_INET NSOS_MID_PF_INET /**< IP protocol family version 4. */
23 #define NSOS_MID_AF_INET6 NSOS_MID_PF_INET6 /**< IP protocol family version 6. */
29 NSOS_MID_IPPROTO_IP = 0, /**< IP protocol (pseudo-val for setsockopt() */
38 NSOS_MID_IPPROTO_RAW = 255, /**< RAW IP packets */
79 uint16_t sll_protocol; /**< Physical-layer protocol */
84 uint8_t sll_addr[8]; /**< Physical-layer address, big endian */
143 int nsos_adapt_bind(int fd, const struct nsos_mid_sockaddr *addr, size_t addrlen);
144 int nsos_adapt_connect(int fd, const struct nsos_mid_sockaddr *addr, size_t addrlen);
146 int nsos_adapt_accept(int fd, struct nsos_mid_sockaddr *addr, size_t *addrlen);
148 const struct nsos_mid_sockaddr *addr, size_t addrlen);
151 struct nsos_mid_sockaddr *addr, size_t *addrlen);