Separate VNF socket send functions into separate socket library

This commit is contained in:
Rúben Soares Silva
2025-07-08 16:42:34 +01:00
parent bfaec58ca5
commit 9b71f1d324
12 changed files with 946 additions and 1037 deletions
@@ -21,12 +21,18 @@
#ifndef SOCKET_COMMON_H
#define SOCKET_COMMON_H
#define _GNU_SOURCE /* required for pthread_getname_np */
#include <errno.h>
#include <stdbool.h>
#include <stdio.h>
#include <netinet/in.h>
#include <netinet/sctp.h>
#include <assertions.h>
#include <arpa/inet.h>
#include <unistd.h>
#include <sys/socket.h>
#include <pthread.h>
#include <netdb.h>
int socket_send_p5_msg(const int sctp,
const int socket,