ProfinetConnector/libs/include/sys/pnal_sys.h

40 lines
841 B
C

/*********************************************************************
* _ _ _
* _ __ | |_ _ | | __ _ | |__ ___
* | '__|| __|(_)| | / _` || '_ \ / __|
* | | | |_ _ | || (_| || |_) |\__ \
* |_| \__|(_)|_| \__,_||_.__/ |___/
*
* www.rt-labs.com
* Copyright 2018 rt-labs AB, Sweden.
*
* This software is dual-licensed under GPLv3 and a commercial
* license. See the file LICENSE.md distributed with this software for
* full license information.
********************************************************************/
#ifndef PNAL_SYS_H
#define PNAL_SYS_H
#ifdef __cplusplus
extern "C" {
#endif
#include "osal.h"
#include <netinet/in.h>
#define PNAL_BUF_MAX_SIZE 1522
typedef struct os_buf
{
void * payload;
uint16_t len;
} pnal_buf_t;
#ifdef __cplusplus
}
#endif
#endif /* PNAL_SYS_H */