VCOM Linux Driver
Advantech Inc.
Loading...
Searching...
No Matches
vc_client_common.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/mman.h>
#include <errno.h>
#include <limits.h>
#include <sys/ioctl.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <sys/time.h>
#include <sys/socket.h>
#include <netdb.h>
#include "advioctl.h"
#include "advtype.h"
#include "vcom_proto.h"
#include "vcom_proto_cmd.h"
#include "vcom_proto_ioctl.h"
#include "vcom.h"
#include "vc_client_netup.h"
#include "vc_client_netdown.h"
#include "vc_client_sync.h"

Data Structures

struct  _ioctl_data
 

Macros

#define XMIT_LEN   1024
 

Functions

struct vc_opsvc_common_open (struct vc_attr *attr)
 
struct vc_opsvc_common_xmit (struct vc_attr *attr)
 
struct vc_opsvc_common_ioctl (struct vc_attr *attr)
 
struct vc_opsvc_common_recv (struct vc_attr *attr, char *buf, int len)
 
void vc_common_purge (struct vc_attr *attr, unsigned int pflags)
 
struct vc_opsvc_common_close (struct vc_attr *attr)
 

Macro Definition Documentation

◆ XMIT_LEN

#define XMIT_LEN   1024

Function Documentation

◆ vc_common_close()

struct vc_ops * vc_common_close ( struct vc_attr * attr)

◆ vc_common_ioctl()

struct vc_ops * vc_common_ioctl ( struct vc_attr * attr)

◆ vc_common_open()

struct vc_ops * vc_common_open ( struct vc_attr * attr)

◆ vc_common_purge()

void vc_common_purge ( struct vc_attr * attr,
unsigned int pflags )

◆ vc_common_recv()

struct vc_ops * vc_common_recv ( struct vc_attr * attr,
char * buf,
int len )

◆ vc_common_xmit()

struct vc_ops * vc_common_xmit ( struct vc_attr * attr)