summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/network_helpers.h
blob: 30068eacc1a24f70fef2460edb1c7adfc87e64c6 (plain)
1
2
3
4
5
6
7
8
9
10
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __NETWORK_HELPERS_H
#define __NETWORK_HELPERS_H
#include <sys/socket.h>
#include <sys/types.h>

int start_server(int family, int type);
int connect_to_fd(int family, int type, int server_fd);

#endif