Go to the documentation of this file.
35 #ifndef _HOST_NETUTIL_H_
36 #define _HOST_NETUTIL_H_
42 #include <sys/socket.h>
43 #include <netinet/in.h>
63 int wge100WaitForPacket(
int *s,
int nums, uint32_t type,
size_t pktLen, uint32_t *wait_us );
65 #define SEC_TO_USEC(sec) (1000*1000*sec)
71 #endif //_HOST_NETUTIL_H_
int wge100WaitForPacket(int *s, int nums, uint32_t type, size_t pktLen, uint32_t *wait_us)
int wge100SendUDP(int s, const IPAddress *ip, const void *data, size_t dataSize)
int wge100IpGetLocalNetmask(const char *ifName, struct in_addr *bcast)
int wge100ArpAdd(IpCamList *camInfo)
int wge100CmdSocketCreate(const char *ifName, NetHost *localHost)
int wge100IpGetLocalBcast(const char *ifName, struct in_addr *bcast)
int wge100SocketConnect(int s, const IPAddress *ip)
int wge100EthGetLocalMac(const char *ifName, struct sockaddr *macAddr)
int wge100SendUDPBcast(int s, const char *ifName, const void *data, size_t dataSize)
int wge100ArpDel(IpCamList *camInfo)
int wge100IpGetLocalAddr(const char *ifName, struct in_addr *addr)
int wge100SocketCreate(const struct in_addr *addr, uint16_t port)
wge100_camera
Author(s): Blaise Gassend, Patrick Mihelich, Eric MacIntosh, David Palchak
autogenerated on Tue Mar 7 2023 03:59:26