Zephyr API Documentation
3.7.99
A Scalable Open Source RTOS
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:276
zephyr
net
socketutils.h
Generated on Thu Oct 10 2024 21:02:20 for Zephyr API Documentation by
1.12.0