Zephyr API
3.6.99
Loading...
Searching...
No Matches
socketutils.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2019 Linaro Limited
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
12
#ifndef ZEPHYR_INCLUDE_NET_SOCKETUTILS_H_
13
#define ZEPHYR_INCLUDE_NET_SOCKETUTILS_H_
14
15
#include <
zephyr/net/socket.h
>
16
24
const
char
*
net_addr_str_find_port
(
const
char
*addr_str);
25
41
int
net_getaddrinfo_addr_str
(
const
char
*addr_str,
const
char
*def_port,
42
const
struct
zsock_addrinfo
*hints,
43
struct
zsock_addrinfo
**res);
44
45
#endif
/* ZEPHYR_INCLUDE_NET_SOCKETUTILS_H_ */
socket.h
BSD Sockets compatible API definitions.
net_addr_str_find_port
const char * net_addr_str_find_port(const char *addr_str)
Find port in addr:port string.
net_getaddrinfo_addr_str
int net_getaddrinfo_addr_str(const char *addr_str, const char *def_port, const struct zsock_addrinfo *hints, struct zsock_addrinfo **res)
Call getaddrinfo() on addr:port string.
zsock_addrinfo
Definition used when querying address information.
Definition
socket.h:277
zephyr
net
socketutils.h
Generated on Tue Nov 5 2024 11:45:31 for Zephyr API by
1.12.0