versadac
1
versadac - Scalable Recorder Firmware
Main Page
Classes
Files
File List
File Members
core
ethernetip
eips_usersock.h
1
/*
2
* Copyright (c) 2002-2013 by Real Time Automation, Inc.
3
*
4
* This software is copyrighted by and is the sole property of
5
* Real Time Automation, Inc. (RTA). All rights, title, ownership,
6
* or other interests in the software remain the property of RTA.
7
* This software may only be used in accordance with the corresponding
8
* license agreement. Any unauthorized use, duplication, transmission,
9
* distribution, or disclosure of this software is expressly forbidden.
10
*
11
* This Copyright notice MAY NOT be removed or modified without prior
12
* written consent of RTA.
13
*
14
* RTA reserves the right to modify this software without notice.
15
*
16
* Real Time Automation
17
* 150 S. Sunny Slope Road USA 262.439.4999
18
* Suite 130 www.rtaautomation.com
19
* Brookfield, WI 53005 software@rtaautomation.com
20
*
21
*************************************************************************
22
*
23
* Version Date: 18APR2013
24
* Version: 2.33
25
* Conformed To: EtherNet/IP Protocol Conformance Test A-9 (16-NOV-2011)
26
* Module Name: eips_usersock.h
27
* Author: Jamin D. Wendorf (jwendorf@rtaautomation.com)
28
* Language: Ansi C
29
* Compile Options: N/A
30
* Compile defines: N/A
31
* Libraries: N/A
32
* Link Options: N/A
33
*
34
* Description.
35
* =======================================================================
36
* This file contains user definitions specific to the sockets.
37
*
38
*/
39
40
#ifndef __EIPS_USERSOCK_H__
41
#define __EIPS_USERSOCK_H__
42
43
#include "eips_usersys.h"
44
45
/* define what the socket type is (usually int) */
46
#define EIPS_USERSYS_SOCKTYPE int
47
#define EIPS_USER_MAX_NUM_SOCKETS 12
48
#define EIPS_USERSOCK_UDP_IX 1
49
#define EIPS_USERSOCK_IO_IX 2
50
#define EIPS_USERSOCK_TCPSTART_IX 3
51
#define EIPS_USER_MAX_NUM_SOCK_ID 127
52
#define EIPS_USER_SOCKET_UNUSED ((EIPS_USERSYS_SOCKTYPE) -1)
53
54
void
eips_usersock_sendUDPBroadcast (uint32 ipaddr, uint16 port, uint8 * socket_data, uint16 socket_data_size);
55
56
#endif
/* __EIPS_USERSOCK_H__ */
Generated on Wed Aug 19 2020 10:33:41 for versadac by
1.8.9.1