secgateway/Platform/user/configm/config-server/include/netconfig.h

16 lines
365 B
C

#ifndef NETCONFIG_H_
#define NETCONFIG_H_
#include "ipconfig.h"
#include "brconfig.h"
#define PATH_PROCNET_DEV "/proc/net/dev"
ret_code if_ioctl(unsigned long request, caddr_t ifreq, int *ret);
ret_code if_set_up(char *ifname, int *code);
ret_code if_set_down(char *ifname, int *code);
int if_readlist(caddr_t ifcfg, int max_port);
ret_code net_main();
#endif