-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfs3_network.h
36 lines (26 loc) · 904 Bytes
/
fs3_network.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#ifndef FS3_NETWORK_INCLUDED
#define FS3_NETWORK_INCLUDED
////////////////////////////////////////////////////////////////////////////////
//
// File : fs3_network.h
// Description : This is the network definitions for the FS3 system.
//
// Author : Patrick McDaniel
// Last Modified : Sun Oct 30 07:48:47 EDT 2016
//
// Include Files
// Project Include Files
#include <fs3_controller.h>
// Defines
#define FS3_MAX_BACKLOG 5
#define FS3_NET_HEADER_SIZE sizeof(FS3CmdBlk)
#define FS3_DEFAULT_IP "127.0.0.1"
#define FS3_DEFAULT_PORT 22887
// Global data
extern unsigned char *fs3_network_address; // Address of FS3 server
extern unsigned short fs3_network_port; // Port of FS3 server
//
// Functional Prototypes
int network_fs3_syscall(FS3CmdBlk cmd, FS3CmdBlk *ret, void *buf);
// This is the client/network system call for communicating with controller
#endif