Separate VNF socket send functions into separate socket library
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user