Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 20 lines (12 sloc) 0.398 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#ifndef _CONTROLL_H_
#define _CONTROLL_H_

#define CONTROL_MSG_BUF_LEN 2048
#define CONTROL_CMD_BUF_LEN 256
#define CONTROL_ARG_MAX 16


void init_vxlan_control (void);

#define COMMAND_TYPE_INVALID 0
#define COMMAND_TYPE_VNI_CREATE 1
#define COMMAND_TYPE_VNI_DESTROY 2
#define COMMAND_TYPE_SHOW 5


#define CONTROL_ERRMSG "invalid command arguments\n"


#endif /* _CONTROLL_H_ */
Something went wrong with that request. Please try again.